/* ============================================================
   HUDSON PLACE RESIDENCES — style.css
   Theme: Luxury Navy / Gold
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #041e42;
  --navy2:  #0a2d5e;
  --gold:   #c9a84c;
  --gold2:  #e8c96b;
  --white:  #ffffff;
  --offwhite: #f7f5f0;
  --text:   #2a2a2a;
  --muted:  #6b6b6b;
  --wa:     #25d366;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--white);
  padding-bottom: 70px; /* space for sticky bar */
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Buttons ────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 34px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 32px;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.btn-secondary:hover { background: var(--gold); color: var(--navy); }

/* ── Section Titles ─────────────────────────────────── */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--gold);
}

/* ── WhatsApp Floating ──────────────────────────────── */
.whatsapp-float {
  position: fixed;
  right: 20px; bottom: 90px;
  width: 56px; height: 56px;
  background: var(--wa);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 1000;
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ── Sticky Bottom Bar ──────────────────────────────── */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  display: flex;
  z-index: 999;
  border-top: 2px solid var(--gold);
}
.sticky-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 14px 4px;
  transition: background .2s;
  text-align: center;
}
.sticky-btn:hover { background: rgba(255,255,255,.1); }
.whatsapp-btn { background: var(--wa); }
.whatsapp-btn:hover { background: #1ebe5d; }
.call-btn { border-left: 1px solid rgba(255,255,255,.15); border-right: 1px solid rgba(255,255,255,.15); }
.register-btn { background: var(--gold); color: var(--navy); }
.register-btn:hover { background: var(--gold2); }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(4,30,66,.55) 0%, rgba(4,30,66,.75) 100%);
  z-index: 1;
}
.hero-top-bar {
  position: relative; z-index: 2;
  display: flex; justify-content: flex-end;
  padding: 16px 20px;
}
.top-call-btn {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 18px;
  letter-spacing: .5px;
}
.hero-content {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 60px 20px 80px;
  color: var(--white);
}
.hero-tagline {
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 16px;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 28px;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.disclaimer-small {
  font-size: 0.75rem;
  color: rgba(255,255,255,.65);
  margin-top: 16px;
  font-style: italic;
}

/* ── Urgency Banner ─────────────────────────────────── */
.urgency-banner {
  background: var(--navy);
  text-align: center;
  padding: 56px 20px;
}
.urgency-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.urgency-banner h3 {
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 300;
  margin-bottom: 28px;
  letter-spacing: 1px;
}
.urgency-banner .disclaimer-small { color: rgba(255,255,255,.55); }

/* ── Facts Section ──────────────────────────────────── */
.facts-section {
  background: var(--offwhite);
  padding: 72px 20px;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin: 0 auto 36px;
  max-width: 860px;
}
.fact-card {
  background: var(--white);
  text-align: center;
  padding: 32px 20px;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: transform .2s;
}
.fact-card:hover { transform: translateY(-4px); }
.fact-icon { font-size: 2rem; margin-bottom: 10px; }
.fact-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 6px; }
.fact-value { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--navy); font-weight: 600; }
.about-desc {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.8;
  color: var(--muted);
  font-size: 1rem;
}

/* ── Cityscape ──────────────────────────────────────── */
.cityscape-section {
  overflow: hidden;
  max-height: 480px;
}
.cityscape-img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* ── Contact Form ───────────────────────────────────── */
.contact-section {
  background: var(--white);
  padding: 72px 20px;
}
.contact-intro {
  text-align: center;
  color: var(--muted);
  margin-bottom: 30px;
  font-size: 1rem;
}
.enquiry-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 36px;
}
.option-btn {
  background: var(--offwhite);
  border: 1.5px solid #ddd;
  color: var(--navy);
  padding: 14px 10px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  font-family: 'Lato', sans-serif;
  text-align: center;
}
.option-btn:hover, .option-btn.active {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-row input, .form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  font-size: 0.95rem;
  font-family: 'Lato', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
  background: var(--white);
}
.form-row input:focus, .form-row select:focus { border-color: var(--navy); }
.phone-row { display: flex; gap: 10px; }
.phone-row select { max-width: 150px; }
.date-time-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-consent {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.form-consent a { color: var(--navy); text-decoration: underline; }
.submit-btn { width: 100%; padding: 16px; font-size: 1rem; }

/* Thank You Box */
.thankyou-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
  border: 1.5px solid var(--gold);
  background: var(--offwhite);
}
.thankyou-box h3 { color: var(--muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.thankyou-box h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--navy); margin-bottom: 16px; }
.thankyou-box p { color: var(--muted); line-height: 1.7; margin-bottom: 24px; }

/* ── Agent Section ──────────────────────────────────── */
.agent-section {
  background: var(--navy);
  padding: 72px 20px;
}
.agent-section .section-title { color: var(--white); }
.agent-section .section-title::after { background: var(--gold); }
.agent-card {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,168,76,.3);
  padding: 40px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.agent-avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.agent-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 4px;
}
.agent-agency { color: var(--gold); font-size: 0.88rem; margin-bottom: 2px; }
.agent-cea { color: rgba(255,255,255,.5); font-size: 0.8rem; margin-bottom: 18px; }
.agent-contact-links { display: flex; flex-direction: column; gap: 10px; }
.agent-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem;
  padding: 8px 16px;
  font-weight: 700;
  transition: opacity .2s;
}
.agent-link:hover { opacity: .8; }
.call-link  { background: var(--gold); color: var(--navy); }
.email-link { background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.2); }
.wa-link    { background: var(--wa); color: var(--white); }

/* ── Disclaimer ─────────────────────────────────────── */
.disclaimer-section {
  background: #f0ede6;
  padding: 56px 20px;
}
.disclaimer-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.disclaimer-section p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 820px;
  margin-bottom: 16px;
}
.appointed { color: var(--navy) !important; font-size: 0.85rem !important; }
.appointed a { color: var(--navy); text-decoration: underline; }
.footer-links { margin: 16px 0; }
.footer-links a { color: var(--navy); font-size: 0.85rem; text-decoration: underline; margin: 0 6px; }
.copyright { font-size: 0.78rem; color: var(--muted); }

/* ── Cookie Banner ──────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 70px; left: 0; right: 0;
  background: var(--navy);
  color: var(--white);
  z-index: 998;
  padding: 14px 20px;
  border-top: 2px solid var(--gold);
}
.cookie-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.cookie-content p { font-size: 0.8rem; line-height: 1.5; flex: 1; min-width: 200px; color: rgba(255,255,255,.85); margin: 0; }
.cookie-content a { color: var(--gold); text-decoration: underline; }
.cookie-ok {
  background: var(--gold); color: var(--navy);
  border: none; padding: 8px 20px;
  font-weight: 700; font-size: 0.82rem;
  cursor: pointer; white-space: nowrap;
  font-family: 'Lato', sans-serif;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 600px) {
  .agent-card { flex-direction: column; text-align: center; padding: 28px 20px; }
  .date-time-row { grid-template-columns: 1fr; }
  .phone-row { flex-direction: column; }
  .phone-row select { max-width: 100%; }
  .section-title { font-size: 1.5rem; }
  .hero-content h1 { font-size: 2.2rem; }
}
