/* ============================================================
   CIEL HOMES — styles.css
   All visual styling for the website.

   HOW TO RETHEME THE ENTIRE SITE:
   Change the hex values in the :root block below.
   Every colour on the site references these variables.
============================================================ */

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --forest:    #1B3325;
  --deep:      #142A1D;
  --mid:       #1E3A2A;
  --sage:      #4A7A5A;
  --moss:      #3D6B4C;
  --leaf:      #7AAF87;
  --gold:      #C4A265;
  --gold-lt:   #DEC08A;
  --cream:     #F4EFE4;
  --ivory:     #FAF7F0;
  --muted:     #7A9080;
  --white:     #FDFCF8;
  --overlay:   rgba(20,42,29,0.92);
}

/* ============================================================
   BASE RESET
============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  background:var(--deep);
  color:var(--cream);
  font-family:'DM Sans', sans-serif;
  font-weight:300;
  overflow-x:hidden;
  cursor:none; /* replaced by custom cursor — disabled on touch via JS */
}
img { display:block; max-width:100%; }
a { text-decoration:none; color:inherit; }
button { font-family:inherit; }

/* Focus ring for keyboard accessibility */
a:focus-visible, button:focus-visible {
  outline:2px solid var(--leaf);
  outline-offset:3px;
}

/* ============================================================
   CUSTOM CURSOR
   Hidden on touch devices via JavaScript (see script.js)
============================================================ */
.cursor {
  position:fixed; width:8px; height:8px;
  background:var(--leaf); border-radius:50%;
  pointer-events:none; z-index:9999;
  transform:translate(-50%,-50%);
  transition:transform .15s;
}
.cursor-ring {
  position:fixed; width:34px; height:34px;
  border:1px solid rgba(122,175,135,.45); border-radius:50%;
  pointer-events:none; z-index:9998;
  transform:translate(-50%,-50%);
  transition:left .16s ease, top .16s ease;
}
body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  transform:translate(-50%,-50%) scale(2.2);
  background:var(--gold);
}

/* ============================================================
   NAVIGATION
============================================================ */
nav {
  position:fixed; top:0; left:0; right:0; z-index:200;
  display:flex; align-items:center; justify-content:space-between;
  padding:26px 64px;
  background:linear-gradient(to bottom, rgba(20,42,29,.97) 0%, transparent 100%);
  transition:padding .35s, background .35s;
}
nav.scrolled {
  padding:14px 64px;
  background:rgba(20,42,29,.98);
  border-bottom:1px solid rgba(74,122,90,.18);
}

.logo-wrap { display:flex; flex-direction:column; line-height:1; }
/* CHANGE: Company name font size */
.logo-name {
  font-family:'Cormorant Garamond', serif;
  font-size:24px; font-weight:400;
  letter-spacing:5px; color:var(--ivory);
}
/* CHANGE: Tagline text in HTML */
.logo-motto {
  font-size:8.5px; letter-spacing:3px;
  text-transform:uppercase; color:var(--leaf); margin-top:4px;
}

.nav-links { display:flex; gap:38px; list-style:none; }
.nav-links a {
  color:var(--muted); font-size:11px; font-weight:400;
  letter-spacing:2px; text-transform:uppercase;
  transition:color .3s; padding:4px 0; position:relative;
}
.nav-links a::after {
  content:''; position:absolute; bottom:0; left:0;
  width:0; height:1px; background:var(--leaf); transition:width .3s;
}
.nav-links a:hover { color:var(--leaf); }
.nav-links a:hover::after { width:100%; }

.nav-cta {
  font-size:11px; letter-spacing:2px; text-transform:uppercase;
  color:var(--gold); border:1px solid rgba(196,162,101,.4);
  padding:11px 24px; transition:all .3s;
  min-height:44px; display:flex; align-items:center;
}
.nav-cta:hover { background:var(--gold); color:var(--deep); }

/* ---- Hamburger button (mobile only) ---- */
.hamburger {
  display:none; flex-direction:column; gap:5px;
  cursor:pointer; padding:8px;
  min-width:44px; min-height:44px;
  align-items:center; justify-content:center;
  background:none; border:none;
}
.ham-line {
  width:22px; height:1.5px;
  background:var(--cream);
  transition:all .35s; transform-origin:center;
}
.hamburger.open .ham-line:nth-child(1) { transform:translateY(6.5px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity:0; transform:scaleX(0); }
.hamburger.open .ham-line:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); }

/* ---- Mobile fullscreen nav overlay ---- */
.mobile-nav {
  position:fixed; inset:0; z-index:190;
  background:rgba(20,42,29,.98);
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity .4s;
}
.mobile-nav.open { opacity:1; pointer-events:all; }
.mobile-nav ul {
  list-style:none; display:flex;
  flex-direction:column; align-items:center;
  gap:8px; width:100%;
}
.mobile-nav ul li {
  width:100%; text-align:center;
  transform:translateY(20px); opacity:0; transition:all .4s;
}
.mobile-nav.open ul li { transform:translateY(0); opacity:1; }
.mobile-nav.open ul li:nth-child(1) { transition-delay:.10s; }
.mobile-nav.open ul li:nth-child(2) { transition-delay:.18s; }
.mobile-nav.open ul li:nth-child(3) { transition-delay:.26s; }
.mobile-nav.open ul li:nth-child(4) { transition-delay:.34s; }
.mobile-nav.open ul li:nth-child(5) { transition-delay:.42s; }
.mobile-nav a {
  font-family:'Cormorant Garamond', serif;
  font-size:36px; font-weight:300; color:var(--cream);
  display:block; padding:14px 40px;
  transition:color .3s; letter-spacing:1px;
}
.mobile-nav a:hover { color:var(--gold-lt); }
.mobile-nav-cta {
  margin-top:32px;
  background:var(--sage);
  color:var(--ivory) !important;
  font-family:'DM Sans', sans-serif !important;
  font-size:13px !important;
  letter-spacing:2px !important;
  text-transform:uppercase !important;
  padding:16px 40px !important;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  height:100vh; min-height:600px;
  position:relative; display:flex;
  align-items:flex-end; padding:0 64px 90px; overflow:hidden;
}
.hero-bg {
  position:absolute; inset:0;
  /*
    CHANGE: Replace the URL below with your own hero background image.
    Use a wide landscape/villa photo — minimum 1800px wide.
    Upload to your hosting and paste the direct image URL here.
  */
  background:
    linear-gradient(135deg, rgba(20,42,29,.76) 0%, rgba(20,42,29,.20) 55%, rgba(20,42,29,.86) 100%),
    url('Images/front-garden.jpeg') center/cover no-repeat;
  transform:scale(1.06); transition:transform 9s ease;
}
.hero-bg.loaded { transform:scale(1); }
.hero-veil {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(20,42,29,.97) 0%, transparent 52%);
}
.hero-content { position:relative; z-index:1; max-width:780px; }

.hero-eyebrow {
  font-size:10px; letter-spacing:5px; text-transform:uppercase;
  color:var(--leaf); margin-bottom:20px;
  display:flex; align-items:center; gap:14px;
  opacity:0; animation:fadeUp 1s .3s forwards;
}
.hero-eyebrow::before { content:''; width:36px; height:1px; background:var(--leaf); flex-shrink:0; }

.hero-title {
  font-family:'Cormorant Garamond', serif;
  font-size:clamp(50px, 8vw, 100px);
  font-weight:300; line-height:1.0; letter-spacing:-1px;
  color:var(--white); margin-bottom:22px;
  opacity:0; animation:fadeUp 1s .5s forwards;
}
.hero-title em { font-style:italic; color:var(--gold-lt); }

.hero-sub {
  font-size:15px; line-height:1.9;
  color:rgba(244,239,228,.62); max-width:440px; margin-bottom:44px;
  opacity:0; animation:fadeUp 1s .7s forwards;
}
.hero-actions {
  display:flex; align-items:center; gap:28px; flex-wrap:wrap;
  opacity:0; animation:fadeUp 1s .9s forwards;
}

/* Buttons */
.btn-primary {
  background:var(--sage); color:var(--ivory);
  padding:15px 34px; font-size:11px; letter-spacing:2.5px;
  text-transform:uppercase; font-weight:500;
  transition:all .3s; border:1px solid transparent;
  min-height:44px; display:inline-flex; align-items:center;
}
.btn-primary:hover { background:transparent; border-color:var(--leaf); color:var(--leaf); }
.btn-primary:active { transform:scale(.97); }

.btn-ghost {
  font-size:11px; letter-spacing:2px; text-transform:uppercase;
  color:var(--cream); display:inline-flex; align-items:center;
  gap:10px; min-height:44px; transition:color .3s;
}
.btn-ghost::after { content:'→'; font-size:16px; transition:transform .3s; }
.btn-ghost:hover { color:var(--leaf); }
.btn-ghost:hover::after { transform:translateX(6px); }
.btn-ghost:active { transform:scale(.97); }

/* Hero stats — right side */
.hero-stats {
  position:absolute; right:64px; bottom:90px;
  display:flex; flex-direction:column; gap:26px;
  opacity:0; animation:fadeLeft 1s 1.1s forwards;
}
.stat { text-align:right; }
.stat-num {
  font-family:'Cormorant Garamond', serif;
  font-size:40px; font-weight:300; color:var(--gold); line-height:1;
}
.stat-label {
  font-size:10px; letter-spacing:2px; text-transform:uppercase;
  color:var(--muted); margin-top:4px;
}

.hero-scroll {
  position:absolute; bottom:90px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  font-size:9px; letter-spacing:3px; text-transform:uppercase;
  color:var(--muted); animation:pulseOp 2.2s infinite;
}
.scroll-line {
  width:1px; height:44px;
  background:linear-gradient(to bottom, var(--leaf), transparent);
  animation:scrollAnim 2s infinite;
}

/* ============================================================
   SHARED SECTION STYLES
============================================================ */
.section-eyebrow {
  font-size:10px; letter-spacing:5px; text-transform:uppercase;
  color:var(--leaf); margin-bottom:22px;
  display:flex; align-items:center; gap:13px;
}
.section-eyebrow::before {
  content:attr(data-n);
  color:var(--muted); font-size:11px; font-family:'DM Sans', sans-serif;
}
.section-heading {
  font-family:'Cormorant Garamond', serif;
  font-size:clamp(32px, 4vw, 54px);
  font-weight:300; line-height:1.15; color:var(--white);
}
.section-heading em { font-style:italic; color:var(--gold-lt); }

.sec-hdr {
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom:52px; padding-bottom:32px;
  border-bottom:1px solid rgba(74,122,90,.1);
  gap:20px; flex-wrap:wrap;
}
.link-arrow {
  font-size:11px; letter-spacing:2px; text-transform:uppercase;
  color:var(--leaf); display:inline-flex; align-items:center;
  gap:10px; transition:gap .3s; white-space:nowrap;
  margin-bottom:4px; min-height:44px;
}
.link-arrow::after { content:'→'; }
.link-arrow:hover { gap:18px; }

/* ============================================================
   ABOUT
============================================================ */
.about {
  padding:120px 64px;
  display:grid; grid-template-columns:1fr 1fr; gap:96px;
  align-items:center;
  border-top:1px solid rgba(74,122,90,.08);
}
.about-text {
  font-size:15px; line-height:2.0;
  color:rgba(244,239,228,.62); margin:28px 0 40px;
}
.pillars { display:flex; flex-direction:column; }
.pillar {
  display:flex; align-items:center; gap:14px;
  padding:15px 0; border-bottom:1px solid rgba(74,122,90,.1);
  font-size:12px; letter-spacing:1.5px; text-transform:uppercase;
  color:var(--muted); transition:color .3s;
}
.pillar-dot {
  width:5px; height:5px; border-radius:50%;
  background:var(--sage); flex-shrink:0;
}
.pillar:hover { color:var(--cream); }

/* ============================================================
   VILLAS SECTION
============================================================ */
.villas-section { padding:0 64px 120px; }

.sub-label {
  font-size:10px; letter-spacing:4px; text-transform:uppercase;
  margin-bottom:20px; display:flex; align-items:center; gap:12px;
}
.sub-label::before { content:''; width:24px; height:1px; background:currentColor; flex-shrink:0; }
.sub-label.done { color:var(--sage); }
.sub-label.uc   { color:var(--gold); }

/* Completed villas grid */
.built-grid { display:grid; grid-template-columns:1.6fr 1fr; gap:3px; margin-bottom:3px; }

.villa-card { position:relative; overflow:hidden; cursor:pointer; }
.villa-card:focus { outline:2px solid var(--leaf); outline-offset:2px; }
.villa-img { width:100%; height:100%; object-fit:cover; transition:transform .9s ease; display:block; min-height:300px; }
.villa-card:nth-child(1) .villa-img { min-height:580px; }
.villa-card:nth-child(2) .villa-img { min-height:580px; }
.villa-card:hover .villa-img { transform:scale(1.07); }
.villa-veil {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(20,42,29,.93) 0%, rgba(20,42,29,.04) 55%);
  transition:opacity .4s;
}
.villa-card:hover .villa-veil { opacity:.85; }
.villa-tap-hint {
  position:absolute; top:20px; right:20px;
  font-size:9px; letter-spacing:2px; text-transform:uppercase;
  color:rgba(244,239,228,.5);
  background:rgba(20,42,29,.4); backdrop-filter:blur(6px);
  padding:6px 12px; border:1px solid rgba(244,239,228,.12);
  opacity:0; transition:opacity .4s;
}
.villa-card:hover .villa-tap-hint { opacity:1; }
.villa-info { position:absolute; bottom:0; left:0; right:0; padding:26px 28px; }
.villa-status-tag {
  font-size:9px; letter-spacing:3px; text-transform:uppercase;
  color:var(--leaf); margin-bottom:9px;
  display:flex; align-items:center; gap:8px;
}
.villa-status-tag::before { content:''; display:block; width:18px; height:1px; background:currentColor; flex-shrink:0; }
.villa-name {
  font-family:'Cormorant Garamond', serif;
  font-size:28px; font-weight:300; color:var(--white);
  margin-bottom:7px; line-height:1.1;
}
.villa-card:nth-child(1) .villa-name { font-size:34px; }
.villa-meta-row {
  font-size:11px; color:rgba(244,239,228,.5);
  display:flex; flex-wrap:wrap; gap:12px; line-height:1.5;
}
.villa-extra {
  max-height:0; overflow:hidden;
  transition:max-height .45s ease, margin .45s ease;
  font-size:13px; color:rgba(244,239,228,.6); line-height:1.85;
}
.villa-card:hover .villa-extra { max-height:80px; margin-top:12px; }
.villa-price-tag {
  font-family:'Cormorant Garamond', serif;
  font-size:18px; color:var(--gold-lt); margin-top:9px;
}

/* Under construction grid */
.uc-grid { display:grid; grid-template-columns:1fr 1fr; gap:3px; }
.uc-card { position:relative; overflow:hidden; cursor:pointer; }
.uc-card:focus { outline:2px solid var(--leaf); outline-offset:2px; }
.uc-img {
  width:100%; height:280px; object-fit:cover;
  transition:transform .9s; display:block;
  filter:brightness(.68) saturate(.72);
}
.uc-card:hover .uc-img { transform:scale(1.06); filter:brightness(.82) saturate(.9); }
.uc-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(20,42,29,.95) 0%, rgba(20,42,29,.18) 55%);
}
.uc-badge {
  position:absolute; top:16px; right:16px;
  background:rgba(196,162,101,.1); border:1px solid rgba(196,162,101,.3);
  color:var(--gold); font-size:9px; letter-spacing:2.5px;
  text-transform:uppercase; padding:5px 11px;
}
.uc-info { position:absolute; bottom:0; left:0; right:0; padding:20px 24px; }
.uc-name {
  font-family:'Cormorant Garamond', serif;
  font-size:22px; font-weight:300; color:var(--white); margin-bottom:4px;
}
.uc-meta { font-size:11px; color:rgba(244,239,228,.5); margin-bottom:13px; }
.prog-bar { height:2px; background:rgba(244,239,228,.1); border-radius:2px; overflow:hidden; }
.prog-fill {
  height:100%;
  background:linear-gradient(to right, var(--sage), var(--leaf));
  border-radius:2px; transition:width 1.2s ease;
}
.prog-lbl { display:flex; justify-content:space-between; margin-top:6px; }
.prog-lbl span { font-size:9px; letter-spacing:2px; text-transform:uppercase; color:var(--muted); }
.prog-lbl strong { font-size:9px; color:var(--gold); font-weight:400; letter-spacing:.5px; }

/* Amenity bar */
.amenity-bar {
  margin-top:3px;
  background:rgba(74,122,90,.05); border:1px solid rgba(74,122,90,.12);
  padding:26px 34px; display:flex; gap:40px; flex-wrap:wrap; align-items:center;
}
.amenity-bar-title {
  font-family:'Cormorant Garamond', serif;
  font-size:17px; font-weight:300; color:var(--white); white-space:nowrap;
}
.amenity-list { display:flex; gap:24px; flex-wrap:wrap; }
.amenity-item {
  font-size:12px; letter-spacing:.5px; color:var(--muted);
  display:flex; align-items:center; gap:7px;
}
.amenity-item::before {
  content:''; width:4px; height:4px;
  background:var(--leaf); border-radius:50%; flex-shrink:0;
}

/* ============================================================
   VILLA MODAL
============================================================ */
.modal-backdrop {
  position:fixed; inset:0; z-index:500;
  background:rgba(10,20,14,.88); backdrop-filter:blur(6px);
  opacity:0; pointer-events:none; transition:opacity .35s;
  overflow-y:auto;
}
.modal-backdrop.open { opacity:1; pointer-events:all; }

.modal {
  background:var(--forest);
  max-width:960px; margin:40px auto;
  position:relative;
  transform:translateY(30px); transition:transform .4s ease;
  border:1px solid rgba(74,122,90,.2);
}
.modal-backdrop.open .modal { transform:translateY(0); }

.modal-close {
  position:absolute; top:16px; right:16px; z-index:10;
  width:44px; height:44px; display:flex; align-items:center; justify-content:center;
  background:rgba(20,42,29,.8); border:1px solid rgba(74,122,90,.2);
  color:var(--cream); font-size:18px; cursor:pointer; transition:all .3s;
  font-weight:300; line-height:1;
}
.modal-close:hover { background:var(--sage); color:var(--ivory); }

/* Image slider */
.modal-slider { position:relative; overflow:hidden; aspect-ratio:16/9; background:var(--deep); }
.slider-track { display:flex; transition:transform .45s ease; height:100%; }
.slider-img { flex-shrink:0; width:100%; height:100%; object-fit:cover; }
.slider-prev, .slider-next {
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px; height:44px; display:flex; align-items:center; justify-content:center;
  background:rgba(20,42,29,.7); border:1px solid rgba(74,122,90,.2);
  color:var(--cream); font-size:18px; cursor:pointer; transition:all .25s; z-index:2;
}
.slider-prev:hover, .slider-next:hover { background:var(--sage); }
.slider-prev { left:14px; }
.slider-next { right:14px; }
.slider-dots {
  position:absolute; bottom:12px; left:50%; transform:translateX(-50%);
  display:flex; gap:6px;
}
.slider-dot {
  width:6px; height:6px; border-radius:50%;
  background:rgba(255,255,255,.35); cursor:pointer; transition:background .3s;
}
.slider-dot.active { background:var(--gold); }

/* Modal body */
.modal-body { padding:36px 40px; display:grid; grid-template-columns:1.1fr 1fr; gap:40px; }
.modal-badge {
  font-size:9px; letter-spacing:3px; text-transform:uppercase;
  color:var(--leaf); display:flex; align-items:center; gap:8px; margin-bottom:10px;
}
.modal-badge::before { content:''; width:18px; height:1px; background:var(--leaf); }
.modal-badge.gold { color:var(--gold); }
.modal-badge.gold::before { background:var(--gold); }
.modal-title {
  font-family:'Cormorant Garamond', serif;
  font-size:clamp(26px, 3vw, 38px); font-weight:300;
  color:var(--white); line-height:1.1; margin-bottom:16px;
}
.modal-desc { font-size:14px; line-height:1.9; color:rgba(244,239,228,.62); margin-bottom:24px; }
.modal-price {
  font-family:'Cormorant Garamond', serif;
  font-size:22px; color:var(--gold-lt); margin-bottom:26px;
}
.modal-specs { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:28px; }
.spec-item { background:rgba(74,122,90,.07); border:1px solid rgba(74,122,90,.12); padding:12px 14px; }
.spec-label { font-size:9px; letter-spacing:2px; text-transform:uppercase; color:var(--muted); margin-bottom:4px; }
.spec-val { font-size:14px; color:var(--cream); font-weight:400; }
.modal-features-title { font-size:10px; letter-spacing:3px; text-transform:uppercase; color:var(--muted); margin-bottom:14px; }
.modal-features-list { display:flex; flex-direction:column; gap:9px; }
.modal-feat { font-size:13px; color:rgba(244,239,228,.7); display:flex; align-items:center; gap:10px; }
.modal-feat::before { content:''; width:4px; height:4px; background:var(--leaf); border-radius:50%; flex-shrink:0; }
.modal-enquire-btn {
  width:100%; margin-top:22px;
  background:var(--sage); color:var(--ivory); border:none;
  padding:16px 24px; font-family:'DM Sans', sans-serif;
  font-size:11px; letter-spacing:2.5px; text-transform:uppercase; font-weight:500;
  cursor:pointer; transition:all .3s; min-height:44px;
}
.modal-enquire-btn:hover { background:var(--moss); }
.modal-enquire-btn:active { transform:scale(.98); }
.modal-location-row {
  grid-column:1/-1; display:flex; align-items:center; gap:10px;
  font-size:13px; color:var(--muted);
  padding-top:20px; border-top:1px solid rgba(74,122,90,.1);
}
.modal-location-row::before { content:''; width:4px; height:4px; background:var(--sage); border-radius:50%; flex-shrink:0; }

/* ============================================================
   WHY CIEL HOMES
============================================================ */
.why {
  padding:120px 64px;
  background:var(--forest);
  border-top:1px solid rgba(74,122,90,.08);
  border-bottom:1px solid rgba(74,122,90,.08);
  position:relative; overflow:hidden;
}
/* Background watermark — CHANGE 'CIEL' to your brand initials */
.why::before {
  content:'CIEL';
  position:absolute; font-family:'Cormorant Garamond', serif;
  font-size:220px; font-weight:300; letter-spacing:28px;
  color:rgba(74,122,90,.035); right:-10px; top:50%;
  transform:translateY(-50%); pointer-events:none; white-space:nowrap;
}
.why-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:rgba(74,122,90,.1); margin-top:68px; }
.why-item { background:var(--forest); padding:42px 28px; transition:background .3s; }
.why-item:hover { background:rgba(74,122,90,.07); }
.why-num {
  font-family:'Cormorant Garamond', serif;
  font-size:13px; font-weight:300; letter-spacing:4px;
  color:var(--sage); margin-bottom:20px;
  display:flex; align-items:center; gap:10px;
}
.why-num::after { content:''; flex:1; height:1px; background:rgba(74,122,90,.25); }
.why-title { font-size:13px; letter-spacing:1.5px; text-transform:uppercase; color:var(--cream); margin-bottom:12px; }
.why-desc { font-size:13px; line-height:1.9; color:var(--muted); }

/* ============================================================
   LOCATION + MAP
============================================================ */
.location { padding:120px 64px; }
.location-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; margin-top:16px; }
/*
  CHANGE: To embed your real map, go to maps.google.com,
  search your property address, click Share → Embed a map,
  copy the src="..." URL and paste it in index.html.
*/
.map-frame {
  width:100%; height:400px; border:0;
  filter:saturate(.7) brightness(.8) hue-rotate(100deg);
}
.location-highlights { display:flex; flex-direction:column; gap:0; }
.loc-item { display:flex; align-items:center; gap:20px; padding:20px 0; border-bottom:1px solid rgba(74,122,90,.1); }
.loc-dist {
  font-family:'Cormorant Garamond', serif;
  font-size:32px; font-weight:300; color:var(--gold); min-width:70px; line-height:1;
}
.loc-name { font-size:13px; letter-spacing:1px; text-transform:uppercase; color:var(--cream); margin-bottom:3px; }
.loc-note { font-size:12px; color:var(--muted); line-height:1.6; }
.directions-btn {
  display:inline-flex; align-items:center; gap:10px; margin-top:28px;
  background:rgba(74,122,90,.12); border:1px solid rgba(74,122,90,.25);
  color:var(--leaf); padding:13px 22px; font-size:11px; letter-spacing:2px;
  text-transform:uppercase; transition:all .3s; min-height:44px;
}
.directions-btn:hover { background:rgba(74,122,90,.22); }

/* ============================================================
   PROCESS
============================================================ */
.process { padding:120px 64px; }
.steps {
  display:grid; grid-template-columns:repeat(4,1fr);
  margin-top:68px;
  background:rgba(74,122,90,.04); border:1px solid rgba(74,122,90,.08);
}
.step { padding:42px 28px; border-right:1px solid rgba(74,122,90,.1); }
.step:last-child { border-right:none; }
.step-n {
  font-family:'Cormorant Garamond', serif;
  font-size:56px; font-weight:300; color:rgba(74,122,90,.18); line-height:1; margin-bottom:18px;
}
.step-bar { width:24px; height:2px; background:var(--sage); margin-bottom:16px; }
.step-title { font-size:13px; letter-spacing:1.5px; text-transform:uppercase; color:var(--cream); margin-bottom:10px; }
.step-desc { font-size:13px; line-height:1.9; color:var(--muted); }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials {
  padding:120px 64px;
  background:var(--mid);
  border-top:1px solid rgba(74,122,90,.08);
  border-bottom:1px solid rgba(74,122,90,.08);
}
.testi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; margin-top:64px; }
.testi-card {
  background:rgba(20,42,29,.5); padding:40px 32px;
  border:1px solid rgba(74,122,90,.1); transition:border-color .3s;
}
.testi-card:hover { border-color:rgba(74,122,90,.3); }
.testi-q {
  font-family:'Cormorant Garamond', serif;
  font-size:22px; font-style:italic; font-weight:300;
  color:rgba(196,162,101,.5); margin-bottom:18px; line-height:1;
}
/* CHANGE: Replace placeholder quotes with real client quotes */
.testi-text {
  font-size:14px; line-height:1.9;
  color:rgba(244,239,228,.68); margin-bottom:28px;
  font-style:italic; font-family:'Cormorant Garamond', serif;
}
.testi-divider { width:28px; height:1px; background:var(--sage); margin-bottom:16px; }
/* CHANGE: Real client names and villa names */
.testi-name { font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--cream); margin-bottom:4px; }
.testi-role { font-size:11px; color:var(--muted); }

/* ============================================================
   ABOUT THE BUILDER
============================================================ */
.builder { padding:120px 64px; border-top:1px solid rgba(74,122,90,.08); }
.builder-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; margin-top:16px; }
/* CHANGE: Replace builder image with real founder/team photo */
.builder-img-wrap { position:relative; }
.builder-img { width:100%; aspect-ratio:4/5; object-fit:cover; }
.builder-img-accent {
  position:absolute; bottom:-20px; right:-20px;
  width:140px; height:140px;
  border:1px solid rgba(201,162,101,.25); pointer-events:none;
}
.builder-body { font-size:15px; line-height:2.0; color:rgba(244,239,228,.62); margin:28px 0 36px; }
/* CHANGE: Founder's name */
.builder-signature {
  font-family:'Cormorant Garamond', serif;
  font-size:22px; font-style:italic; color:var(--gold-lt); margin-bottom:4px;
}
/* CHANGE: Founder's title */
.builder-role { font-size:10px; letter-spacing:3px; text-transform:uppercase; color:var(--muted); }

/* ============================================================
   CONTACT + FORM
============================================================ */
.contact {
  padding:130px 64px;
  display:grid; grid-template-columns:1fr 1fr; gap:96px; align-items:start;
}
.contact-text { font-size:14px; line-height:1.95; color:rgba(244,239,228,.62); margin:22px 0 34px; }
.contact-details { display:flex; flex-direction:column; gap:14px; }
.contact-item { display:flex; align-items:flex-start; gap:14px; font-size:13px; color:var(--muted); line-height:1.6; }
.contact-icon { width:16px; flex-shrink:0; margin-top:1px; }

.cta-form { display:flex; flex-direction:column; gap:15px; }
.form-row2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.flabel {
  font-size:10px; letter-spacing:2px; text-transform:uppercase;
  color:var(--muted); display:block; margin-bottom:7px;
}
.finput, .fselect, .ftextarea {
  background:rgba(74,122,90,.06);
  border:1px solid rgba(74,122,90,.18);
  color:var(--cream); padding:14px 16px;
  font-family:'DM Sans', sans-serif; font-size:14px; font-weight:300;
  outline:none; transition:border-color .3s, background .3s;
  width:100%; min-height:44px; -webkit-appearance:none;
}
.finput::placeholder, .ftextarea::placeholder { color:rgba(122,144,128,.5); }
.finput:focus, .fselect:focus, .ftextarea:focus {
  border-color:rgba(122,175,135,.5);
  background:rgba(74,122,90,.1);
}
.finput:focus-visible, .fselect:focus-visible, .ftextarea:focus-visible {
  outline:2px solid var(--leaf); outline-offset:2px;
}
.fselect option { background:var(--forest); color:var(--cream); }
.ftextarea { resize:vertical; min-height:110px; }
.fsubmit {
  background:var(--sage); color:var(--ivory); border:none;
  padding:16px 36px; font-family:'DM Sans', sans-serif;
  font-size:11px; letter-spacing:2.5px; text-transform:uppercase; font-weight:500;
  cursor:pointer; transition:all .3s; align-self:flex-start; min-height:44px;
}
.fsubmit:hover { background:var(--moss); transform:translateY(-2px); }
.fsubmit:active { transform:scale(.97) translateY(0); }
.fsubmit:disabled { opacity:.5; cursor:not-allowed; transform:none; }
.form-msg {
  padding:13px 16px; font-size:13px; line-height:1.65;
  display:none; margin-top:2px; border-radius:1px;
}
.form-msg.success { background:rgba(74,122,90,.14); border:1px solid rgba(74,122,90,.35); color:var(--leaf); display:block; }
.form-msg.error   { background:rgba(196,90,90,.1);  border:1px solid rgba(196,90,90,.28); color:#e09090; display:block; }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background:var(--deep);
  border-top:1px solid rgba(74,122,90,.12);
  padding:56px 64px;
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:56px;
}
.f-brand .logo-name  { font-family:'Cormorant Garamond', serif; font-size:21px; font-weight:400; letter-spacing:5px; color:var(--ivory); }
.f-brand .logo-motto { font-size:8.5px; letter-spacing:3px; text-transform:uppercase; color:var(--leaf); margin-top:4px; }
.f-tagline { font-size:13px; color:var(--muted); line-height:1.9; max-width:240px; margin-top:16px; }
.f-col-title { font-size:10px; letter-spacing:3px; text-transform:uppercase; color:var(--leaf); margin-bottom:20px; }
.f-links { list-style:none; display:flex; flex-direction:column; gap:11px; }
.f-links a { font-size:13px; color:var(--muted); transition:color .3s; display:block; padding:2px 0; }
.f-links a:hover { color:var(--cream); }
.f-btm {
  padding:20px 64px; background:var(--deep);
  border-top:1px solid rgba(74,122,90,.07);
  display:flex; justify-content:space-between; align-items:center;
  gap:16px; flex-wrap:wrap;
}
.f-copy { font-size:12px; color:var(--muted); }
.f-social { display:flex; gap:22px; }
/* CHANGE: Social link URLs are in index.html */
.f-social a {
  font-size:10px; letter-spacing:2px; text-transform:uppercase;
  color:var(--muted); transition:color .3s;
  min-height:36px; display:flex; align-items:center;
}
.f-social a:hover { color:var(--leaf); }

/* ============================================================
   FLOATING ACTIONS

   Desktop: WhatsApp bubble sits at bottom-right corner.
   Mobile:  WhatsApp bubble is hidden — users use the sticky
            bottom bar (Call + WhatsApp) instead.
============================================================ */

/* WhatsApp floating button — desktop only */
.fab-whatsapp {
  position:fixed;
  /* CHANGE: Adjust bottom/right to reposition the button */
  bottom:28px; right:24px;
  z-index:300; width:52px; height:52px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 20px rgba(37,211,102,.4);
  transition:transform .3s, box-shadow .3s; cursor:pointer;
}
.fab-whatsapp:hover { transform:scale(1.1); box-shadow:0 6px 28px rgba(37,211,102,.5); }
.fab-whatsapp svg { width:26px; height:26px; fill:white; }
.fab-label {
  position:absolute; right:64px;
  background:var(--forest); color:var(--cream);
  font-size:11px; letter-spacing:1px; white-space:nowrap;
  padding:7px 13px; border:1px solid rgba(74,122,90,.2);
  opacity:0; transform:translateX(8px); transition:all .3s; pointer-events:none;
}
.fab-whatsapp:hover .fab-label { opacity:1; transform:translateX(0); }

/* Sticky bottom CTA bar — mobile only, hidden by default */
.mobile-cta-bar {
  position:fixed; bottom:0; left:0; right:0; z-index:300;
  display:none; grid-template-columns:1fr 1fr;
  background:var(--deep); border-top:1px solid rgba(74,122,90,.2);
  box-shadow:0 -4px 20px rgba(0,0,0,.3);
}
.mobile-cta-btn {
  display:flex; align-items:center; justify-content:center; gap:8px;
  padding:16px 12px; font-size:11px; letter-spacing:2px; text-transform:uppercase;
  font-family:'DM Sans', sans-serif; font-weight:400; border:none;
  cursor:pointer; min-height:56px; transition:background .25s;
}
.mobile-cta-btn.call     { background:var(--sage); color:var(--ivory); }
.mobile-cta-btn.call:hover { background:var(--moss); }
.mobile-cta-btn.whatsapp { background:#25D366; color:white; }
.mobile-cta-btn.whatsapp:hover { background:#1ebe5c; }
.mobile-cta-btn svg { width:17px; height:17px; fill:currentColor; flex-shrink:0; }

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeUp   { from { opacity:0; transform:translateY(28px) } to { opacity:1; transform:translateY(0) } }
@keyframes fadeLeft { from { opacity:0; transform:translateX(28px) } to { opacity:1; transform:translateX(0) } }
@keyframes scrollAnim {
  0%   { transform:scaleY(0); transform-origin:top }
  50%  { transform:scaleY(1); transform-origin:top }
  51%  { transform:scaleY(1); transform-origin:bottom }
  100% { transform:scaleY(0); transform-origin:bottom }
}
@keyframes pulseOp { 0%,100% { opacity:.45 } 50% { opacity:1 } }

.reveal { opacity:0; transform:translateY(32px); transition:opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ============================================================
   RESPONSIVE — tablet / mobile
============================================================ */
@media (max-width:900px) {
  nav { padding:20px 24px; }
  nav.scrolled { padding:14px 24px; }
  .nav-links, .nav-cta { display:none; }
  .hamburger { display:flex; }

  .hero { padding:0 24px 100px; }
  .hero-stats { display:none; }
  .hero-scroll { display:none; }

  .about { grid-template-columns:1fr; padding:72px 24px; gap:36px; }

  .villas-section { padding:0 24px 80px; }
  .built-grid { grid-template-columns:1fr; }
  .villa-card:nth-child(1) .villa-img,
  .villa-card:nth-child(2) .villa-img { min-height:360px; }
  .villa-card:nth-child(1) .villa-name { font-size:28px; }
  .uc-grid { grid-template-columns:1fr; }

  .why { padding:72px 24px; }
  .why-grid { grid-template-columns:1fr 1fr; }

  .location { padding:72px 24px; }
  .location-grid { grid-template-columns:1fr; }
  .map-frame { height:300px; }

  .process { padding:72px 24px; }
  .steps { grid-template-columns:1fr 1fr; }
  .step { border-bottom:1px solid rgba(74,122,90,.1); }
  .step:nth-child(even) { border-right:none; }
  .step:nth-child(odd):nth-last-child(-n+2),
  .step:nth-child(odd):nth-last-child(-n+2) ~ .step { border-bottom:none; }

  .testimonials { padding:72px 24px; }
  .testi-grid { grid-template-columns:1fr; }

  .builder { padding:72px 24px; }
  .builder-grid { grid-template-columns:1fr; gap:40px; }
  .builder-img-accent { display:none; }

  .contact { grid-template-columns:1fr; padding:72px 24px; gap:56px; }
  .form-row2 { grid-template-columns:1fr; }

  footer { grid-template-columns:1fr 1fr; padding:44px 24px; gap:40px; }
  .f-btm { padding:18px 24px; }

  .amenity-bar { padding:20px 24px; gap:16px; }

  /* Modal full-screen on mobile */
  .modal { margin:0; border:none; }
  .modal-body { grid-template-columns:1fr; padding:24px 20px; gap:24px; }
  .modal-specs { grid-template-columns:1fr 1fr; }

  /* ---- Floating action behaviour on mobile ----
     Hide the WhatsApp round bubble (users use the sticky bar instead).
     Show the sticky Call + WhatsApp bottom bar.
  */
  .fab-whatsapp { display:none; }
  .mobile-cta-bar { display:grid; }
}

@media (max-width:600px) {
  .hero-title { font-size:clamp(40px, 12vw, 60px); }
  .hero-sub { font-size:14px; }
  .hero-actions { flex-direction:column; align-items:flex-start; gap:16px; }
  .why-grid { grid-template-columns:1fr; }
  .modal-specs { grid-template-columns:1fr; }
  .testi-text { font-size:13px; }
}


.hero-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 12px 18px;
}

/* Background layer only */
.hero-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(74, 122, 90, 0.7);  /* your green with transparency */
  backdrop-filter: blur(6px);
  
  z-index: 0;
}

/* Keep logo fully visible */
.hero-logo-img {
  height: 250px;
  width: auto;
  position: relative;
  z-index: 1;
}
