/* ============================================================
   BHUTANI INFRA — GLOBAL STYLESHEET
   Typography: Cormorant Garamond (headings) + DM Sans (body)
   Theme: Luxury Real Estate — Deep Navy, Gold, Warm White
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --navy:       #0B1F3A;
  --navy-mid:   #152d52;
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --cream:      #FAF8F4;
  --white:      #FFFFFF;
  --text:       #2C3E50;
  --text-light: #6B7C93;
  --border:     #E2DDD5;
  --shadow:     0 4px 24px rgba(11,31,58,.10);
  --shadow-lg:  0 12px 48px rgba(11,31,58,.16);
  --radius:     4px;
  --radius-lg:  10px;
  --trans:      .25s ease;
  --header-h:   72px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
p  { font-size: .95rem; line-height: 1.75; }

/* ── CONTAINER ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--navy);
  padding: 12px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: .9rem; letter-spacing: .03em;
  transition: background var(--trans), transform var(--trans);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
  padding: 11px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: .9rem;
  transition: all var(--trans);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

/* ── TOP BAR ── */
.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: .78rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--navy-mid);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar-phones { display: flex; align-items: center; gap: 14px; }
.topbar-phone { color: var(--gold-light); font-weight: 500; transition: color var(--trans); }
.topbar-phone:hover { color: var(--white); }
.topbar-phone.crm { color: #a8d8a0; }
.topbar-sep { color: #4a6680; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: box-shadow var(--trans);
}
.site-header.scrolled { box-shadow: var(--shadow-lg); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.header-logo img { height: 44px; width: auto; }

/* Desktop Nav */
.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: var(--radius);
  font-size: .88rem; font-weight: 500; color: var(--text);
  transition: color var(--trans), background var(--trans);
}
.nav-link:hover, .nav-link:focus { color: var(--gold); background: rgba(201,168,76,.08); }
.nav-link .arrow { font-size: .65rem; transition: transform var(--trans); }
.has-mega:hover .arrow { transform: rotate(180deg); }

/* Mega Menu */
.has-mega { position: relative; }
.mega-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: none; grid-template-columns: repeat(5, 1fr); gap: 0;
  min-width: 900px; padding: 24px 0; z-index: 999;
}
.has-mega:hover .mega-menu { display: grid; }
.mega-col { padding: 0 20px; border-right: 1px solid var(--border); }
.mega-col:last-child { border-right: none; }
.mega-parent {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 700; color: var(--navy);
  margin-bottom: 8px; transition: color var(--trans);
}
.mega-parent:hover { color: var(--gold); }
.mega-children { display: flex; flex-direction: column; gap: 4px; }
.mega-children a {
  font-size: .82rem; color: var(--text-light); padding: 3px 0;
  transition: color var(--trans);
}
.mega-children a:hover { color: var(--gold); }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-call {
  font-size: .85rem; font-weight: 600; color: var(--navy);
  white-space: nowrap; padding: 8px 14px;
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all var(--trans);
}
.btn-call:hover { border-color: var(--gold); color: var(--gold); }
.btn-enquire {
  background: var(--gold); color: var(--navy);
  font-size: .85rem; font-weight: 700;
  padding: 9px 20px; border-radius: var(--radius);
  transition: background var(--trans);
}
.btn-enquire:hover { background: var(--gold-light); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all var(--trans);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 300px;
  background: var(--white); z-index: 1000; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.mobile-close { font-size: 1.4rem; color: var(--text); }
.mobile-nav { padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav > a, .mobile-nav details > summary {
  display: block; padding: 10px 12px; border-radius: var(--radius);
  font-weight: 500; font-size: .9rem; cursor: pointer;
  list-style: none;
}
.mobile-nav > a:hover, .mobile-nav details > summary:hover { background: var(--cream); color: var(--gold); }
.mob-sub, .mob-sub2 { padding-left: 16px; padding-top: 4px; }
.mob-sub a, .mob-sub2 a { display: block; padding: 6px 10px; font-size: .85rem; color: var(--text-light); }
.mob-sub a:hover, .mob-sub2 a:hover { color: var(--gold); }
.mob-phones { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.mob-phones a { font-size: .85rem; font-weight: 600; color: var(--navy); padding: 8px 12px; background: var(--cream); border-radius: var(--radius); }
.overlay {
  position: fixed; inset: 0; background: rgba(11,31,58,.5);
  z-index: 999; display: none;
}
.overlay.show { display: block; }

/* ── MODAL ── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(11,31,58,.7);
  z-index: 1100; align-items: center; justify-content: center;
  padding: 16px;
}
.modal-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; position: relative; width: 100%; max-width: 480px;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  font-size: 1.2rem; color: var(--text-light);
  transition: color var(--trans);
}
.modal-close:hover { color: var(--text); }

/* ── ENQUIRY FORM ── */
.enquiry-form-wrap { }
.form-header { margin-bottom: 20px; }
.form-badge {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 20px;
  margin-bottom: 8px;
}
.form-header h3 { font-size: 1.6rem; margin-bottom: 4px; }
.form-header p  { font-size: .85rem; color: var(--text-light); }

.form-radio-group {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px;
}
.radio-label {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: .85rem; font-weight: 500;
  padding: 7px 14px; border: 1.5px solid var(--border);
  border-radius: 20px; transition: all var(--trans);
  user-select: none;
}
.radio-label:has(input:checked) {
  border-color: var(--gold); background: rgba(201,168,76,.1); color: var(--navy);
}
.radio-label input[type=radio] { display: none; }
.radio-custom {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--border); flex-shrink: 0;
  transition: all var(--trans);
}
.radio-label:has(input:checked) .radio-custom {
  border-color: var(--gold); background: var(--gold);
}

.form-fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.form-group { position: relative; }
.form-group input,
.form-group select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: .9rem; color: var(--text);
  background: var(--white); transition: border-color var(--trans);
  outline: none;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group input::placeholder { color: var(--text-light); }
.form-err { display: block; font-size: .75rem; color: #e05252; margin-top: 4px; }

.btn-submit {
  width: 100%; padding: 14px;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); font-size: .95rem; font-weight: 600;
  letter-spacing: .02em; transition: background var(--trans);
}
.btn-submit:hover { background: var(--navy-mid); }
.form-promise {
  text-align: center; font-size: .78rem; color: var(--text-light);
  margin-top: 10px;
}
.success-msg { color: #2a8a4a; font-weight: 600; text-align: center; margin-top: 12px; }
.error-msg   { color: #e05252; text-align: center; margin-top: 12px; }

/* ── ENQUIRY STRIP ── */
.enquiry-strip {
  background: var(--navy); color: var(--white); padding: 48px 0;
}
.enquiry-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.enquiry-strip-text h2 { color: var(--white); }
.enquiry-strip-text p  { color: rgba(255,255,255,.7); margin-top: 6px; }
.enquiry-strip-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── SITE FOOTER ── */
.site-footer { background: #07162A; color: rgba(255,255,255,.85); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 2fr;
  gap: 40px; padding: 60px 24px;
}
.footer-brand p { font-size: .87rem; color: rgba(255,255,255,.6); margin-top: 14px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7); transition: all var(--trans);
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 { color: var(--gold-light); font-size: .78rem; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { font-size: .85rem; color: rgba(255,255,255,.65); transition: color var(--trans); }
.footer-col li a:hover { color: var(--gold-light); }
.footer-contact address p { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 16px; }
.contact-numbers { display: flex; flex-direction: column; gap: 14px; }
.contact-num-block { display: flex; flex-direction: column; gap: 3px; }
.num-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-light); }
.num-link  { font-size: 1rem; font-weight: 700; color: var(--white); transition: color var(--trans); }
.num-link:hover { color: var(--gold-light); }
.wa-link   { font-size: .8rem; color: #7ecb7e; }
.footer-email { display: block; font-size: .85rem; color: rgba(255,255,255,.6); margin-top: 14px; }
.footer-email:hover { color: var(--gold-light); }
.footer-disclaimer {
  background: rgba(0,0,0,.2); padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-disclaimer p {
  font-size: .73rem; color: rgba(255,255,255,.4); text-align: center; line-height: 1.6;
}
.footer-bottom { background: rgba(0,0,0,.35); padding: 14px 0; }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-bottom-inner span { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-note { font-style: italic; }

/* ── STICKY BAR ── */
.sticky-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 850; background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(11,31,58,.12);
  grid-template-columns: 1fr 1fr 1fr;
}
.sticky-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 4px; font-size: .82rem; font-weight: 600;
  transition: background var(--trans);
}
.sticky-call    { color: var(--navy); background: var(--cream); }
.sticky-enquire { background: var(--gold); color: var(--navy); }
.sticky-wa      { color: #2e7d32; background: #e8f5e9; }
.sticky-btn:hover { filter: brightness(.94); }

/* ── SECTION HELPERS ── */
.section { padding: 72px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.section-header p { color: var(--text-light); max-width: 560px; margin: 10px auto 0; }
.gold-line {
  display: block; width: 48px; height: 2px;
  background: var(--gold); margin: 12px auto 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-cta .btn-call { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .topbar-item { display: none; }
  .sticky-bar  { display: grid; }
  body { padding-bottom: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .enquiry-strip-inner { flex-direction: column; text-align: center; }
  .enquiry-strip-actions { justify-content: center; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .mega-menu { min-width: 0; }
}

/* ── PAGE: HOME HERO ── */
.hero {
  position: relative; overflow: hidden;
  min-height: 88vh; display: flex; align-items: center;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3558 60%, #0d2540 100%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M0 30 L30 0 L60 30 L30 60Z" fill="none" stroke="rgba(201,168,76,0.06)" stroke-width="1"/></svg>') repeat;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 400px;
  gap: 60px; align-items: center; padding: 80px 24px;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
.hero-content { color: var(--white); }
.hero-eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,.35);
  padding: 5px 14px; border-radius: 20px; margin-bottom: 20px;
}
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content h1 em { font-style: normal; color: var(--gold-light); }
.hero-content p { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form-card { max-width: 480px; margin: 0 auto; }
}

/* ── PROJECTS GRID ── */
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card img { width: 100%; height: 200px; object-fit: cover; }
.project-card-body { padding: 20px; }
.project-card-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.project-card-body p  { font-size: .83rem; color: var(--text-light); }
.project-card-body a  { 
  display: inline-block; margin-top: 12px;
  font-size: .82rem; font-weight: 600; color: var(--gold);
  letter-spacing: .03em;
}
.project-card-body a:hover { color: var(--navy); }

@media (max-width: 768px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .projects-grid { grid-template-columns: 1fr; }
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.contact-info-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow);
}
.contact-info-card h2 { margin-bottom: 24px; }
.contact-block { margin-bottom: 24px; }
.contact-block h4 { color: var(--gold); font-size: .78rem; margin-bottom: 10px; }
.contact-block a { display: block; font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.contact-block a:hover { color: var(--gold); }
.contact-block .wa { font-size: .85rem; color: #2e7d32; }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--navy); color: var(--white);
  padding: 60px 0 48px;
  border-bottom: 3px solid var(--gold);
}
.page-header .eyebrow { color: var(--gold-light); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 10px; }
.page-header h1 { color: var(--white); }
.page-header p  { color: rgba(255,255,255,.7); margin-top: 12px; max-width: 600px; }
