/*
Theme Name: Makena Golf & Beach Club
Theme URI: https://example.com
Author: Demo Studio
Author URI: https://example.com
Description: Original Makena layout with native Elementor Image, Heading, Text Editor and Button widgets, editable header and footer, responsive containers, image carousels and residence switcher. Includes a complete layout importer for Elementor Free.
Version: 2.0.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: makena-golf-beach-club
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/

:root{
  --color-main:#203276;
  --color-main-tint:#213375cc;
  --color-white-pure:#fff;
  --color-black-pure:#000;
  --color-offset-2:#d6eaf0;
  --color-offset-4:#faf8f7;
  --color-highlight-rich:#9a3630;
  --font-sans:'Jost', Arial, sans-serif;
  --font-display:'Playfair Display', Georgia, serif;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;font-family:var(--font-sans);font-weight:300;color:#1a1a1a;background:#fff;}
img{max-width:100%;display:block;object-fit:cover;}
a{color:inherit;}
button{font-family:inherit;}
.site-max{max-width:1440px;margin:0 auto;padding:0 4rem;}
@media(max-width:900px){.site-max{padding:0 1.6rem;}}

/* ---------- HEADER ---------- */
header.sh{position:fixed;top:0;left:0;width:100%;z-index:100;color:#fff;transition:background-color .4s ease,color .4s ease,box-shadow .4s ease;}
header.sh.scrolled{background:#fff;color:#152056;box-shadow:0 2px 14px rgba(0,0,0,.07);}
.sh__content{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:6.4rem;column-gap:1rem;padding:0 2.6rem;}
.menu-toggle{display:flex;align-items:center;gap:.8rem;background:none;border:none;color:inherit;cursor:pointer;letter-spacing:.2em;font-size:.75rem;text-transform:uppercase;justify-self:start;}
.menu-toggle .bars{display:flex;flex-direction:column;gap:5px;}
.menu-toggle .bars span{width:22px;height:1px;background:currentColor;display:block;}
.sh__logo{grid-column:2;justify-self:center;text-align:center;text-decoration:none;line-height:1;}
.sh__logo .word{font-family:var(--font-display);font-weight:600;font-size:1.5rem;letter-spacing:.12em;display:block;}
.sh__logo .sub{font-size:.55rem;letter-spacing:.32em;display:block;margin-top:.4rem;opacity:.75;}
.sh__cta{border:1px solid currentColor;border-radius:3px;padding:.9rem 1.9rem;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;text-decoration:none;white-space:nowrap;transition:background .3s ease,color .3s ease;justify-self:end;}
header.sh.scrolled .sh__cta{background:#152056;color:#fff;border-color:#152056;}
.sh__cta:hover{opacity:.75;}

/* ---------- FULL SCREEN MENU OVERLAY ---------- */
.menu-overlay{
  position:fixed;inset:0;z-index:200;background:var(--color-main);color:#fff;
  display:none;flex-direction:column;overflow-y:auto;
}
.menu-overlay.open{display:flex;}
.menu-overlay .sh__content{height:6.4rem;flex-shrink:0;}
.menu-close{display:flex;align-items:center;gap:.9rem;background:none;border:none;color:#fff;cursor:pointer;letter-spacing:.2em;font-size:.75rem;text-transform:uppercase;justify-self:start;}
.menu-close .x-box{width:26px;height:26px;border:1px solid #fff;border-radius:3px;display:flex;align-items:center;justify-content:center;font-size:.9rem;line-height:1;}
.menu-body{display:flex;flex:1;min-height:0;}
.menu-left{flex:1 1 50%;display:flex;flex-direction:column;justify-content:space-between;padding:2rem 4rem 3rem;}
.menu-columns{display:flex;gap:7rem;flex-wrap:wrap;}
.menu-col{min-width:160px;}
.menu-col + .menu-col{margin-top:0;}
.menu-col.experiences-col{margin-top:3rem;}
.menu-col h4{font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;opacity:.55;margin:0 0 1.3rem;font-weight:400;}
.menu-col ul{list-style:none;margin:0;padding:0;}
.menu-col li{margin-bottom:.7rem;}
.menu-col a{text-decoration:none;font-size:1rem;color:#fff;opacity:.92;transition:opacity .3s ease;}
.menu-col a:hover{opacity:1;text-decoration:underline;}
.menu-col a.current{opacity:.5;pointer-events:none;}
.menu-location h4{font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;opacity:.55;margin:0 0 1rem;font-weight:400;}
.menu-location p{margin:0;line-height:1.6;font-size:.95rem;opacity:.85;}
.menu-maps-btn{margin-top:1.3rem;display:inline-block;border:1px solid #fff;border-radius:3px;padding:.7rem 1.5rem;font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;text-decoration:none;color:#fff;background:none;cursor:pointer;transition:background .3s ease,color .3s ease;}
.menu-maps-btn:hover{background:#fff;color:var(--color-main);}
.menu-image{flex:1 1 50%;overflow:hidden;padding:2rem 4rem 4rem 0;box-sizing:border-box;display:flex;}
.menu-image img{width:100%;height:100%;object-fit:cover;border-radius:2px;}
@media(max-width:960px){
  .menu-body{flex-direction:column;overflow-y:auto;}
  .menu-image{display:none;}
  .menu-left{flex:none;padding:1.5rem 1.6rem 2.5rem;}
  .menu-columns{gap:3.5rem;}
}

/* ---------- HERO ---------- */
.hero{position:relative;height:100svh;min-height:560px;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;text-align:center;background:#000;}
.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.92;}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.5),rgba(0,0,0,.08) 42%,rgba(0,0,0,.55));z-index:1;}
.hero-inner{position:relative;z-index:2;padding:0 2rem;}
.hero .eyebrow{letter-spacing:.35em;font-size:.72rem;opacity:.9;margin-bottom:1.8rem;text-transform:uppercase;}
.hero h1{font-family:var(--font-display);font-weight:500;font-size:clamp(2.4rem,6vw,5.4rem);line-height:1.05;margin:0;}
.scroll-cue{position:absolute;bottom:2.4rem;left:50%;transform:translateX(-50%);z-index:2;display:flex;flex-direction:column;align-items:center;gap:.6rem;cursor:pointer;background:none;border:none;padding:.6rem;}
.scroll-cue .line{width:1px;height:60px;background:rgba(255,255,255,.3);position:relative;overflow:hidden;border-radius:2px;}
.scroll-cue .line::after{content:"";position:absolute;top:-100%;left:0;width:100%;height:100%;background:#fff;animation:scrollLine 2s infinite cubic-bezier(.4,0,.2,1);}
@keyframes scrollLine{0%{top:-100%;}100%{top:100%;}}

/* ---------- INTRO STATEMENT ---------- */
.intro{padding:6.4rem 0 4.5rem;text-align:center;}
.eyebrow-label{letter-spacing:.28em;font-size:.72rem;color:var(--color-main-tint);text-transform:uppercase;margin-bottom:1.7rem;font-weight:400;}
.intro h2{font-family:var(--font-display);font-weight:400;font-size:clamp(1.6rem,3vw,2.6rem);line-height:1.45;max-width:940px;margin:0 auto;color:#17213f;}

/* ---------- OVERVIEW 2-COL ---------- */
.two-col{padding:3rem 0 6rem;}
.two-col .grid{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:start;}
.two-col h3{font-family:var(--font-display);font-weight:400;font-size:clamp(1.6rem,2.6vw,2.2rem);line-height:1.4;margin:0;color:#111;}
.two-col p{line-height:1.85;color:#3a3a3a;font-size:1rem;}
@media(max-width:860px){.two-col .grid{grid-template-columns:1fr;gap:2rem;}}

/* ---------- LIFE / VIDEO SPLIT (matches screenshot 2 exactly) ---------- */
.life-split{padding:9rem 0 6rem;}
.life-split .row{display:flex;align-items:flex-end;gap:8vw;}
.life-split .main-img{flex:0 0 56%;aspect-ratio:4/3;border-radius:2px;overflow:hidden;}
.life-split .side-img{flex:0 0 22%;aspect-ratio:3/4;border-radius:2px;overflow:hidden;}
@media(max-width:860px){
  .life-split{padding:7rem 0 3rem;}
  .life-split .row{flex-direction:column;align-items:stretch;gap:2rem;}
  .life-split .main-img,.life-split .side-img{flex:0 0 100%;width:100%;}
}

/* ---------- FULL BLEED BANNER ---------- */
.full-banner{height:78vh;min-height:400px;overflow:hidden;}

/* ---------- ABOUT SPLIT ---------- */
.split{padding:6.5rem 0;}
.split .grid{display:grid;grid-template-columns:1fr 1.05fr;gap:5rem;align-items:center;}
.split img{border-radius:2px;aspect-ratio:3/4;}
.split .copy h3{font-family:var(--font-display);font-weight:400;font-size:2.1rem;margin:1rem 0 1.4rem;}
.split .copy p{line-height:1.8;color:#3a3a3a;}
.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--color-highlight-rich);color:var(--color-highlight-rich);padding:.9rem 2.2rem;border-radius:3px;text-decoration:none;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;margin-top:2rem;transition:background .3s ease,color .3s ease;cursor:pointer;background:none;}
.btn:hover{background:var(--color-highlight-rich);color:#fff;}
@media(max-width:860px){.split .grid{grid-template-columns:1fr;gap:2rem;}}

/* ---------- EXPERIENCES STRIP ---------- */
.experiences{padding:7.5rem 0;text-align:center;background:#fff;}
.experiences p.desc{max-width:680px;margin:1.7rem auto 0;line-height:1.8;color:#3a3a3a;}
.strip-wrap{position:relative;margin-top:4rem;}
.strip{display:flex;gap:2rem;overflow-x:auto;padding:0 4rem 1.4rem;scroll-snap-type:x mandatory;scrollbar-width:none;}
.strip::-webkit-scrollbar{display:none;}
.strip .card{flex:0 0 auto;width:340px;scroll-snap-align:start;}
.strip .card img{width:340px;height:420px;border-radius:2px;}
.strip .card:nth-child(2n){margin-top:3.5rem;}
.strip .card:nth-child(2n) img{height:280px;}
.nav-row{display:flex;align-items:center;gap:1.6rem;max-width:1200px;margin:2.4rem auto 0;padding:0 4rem;}
.nav-btn{width:40px;height:40px;border-radius:3px;border:none;background:#f2eee8;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background .3s ease;}
.nav-btn:hover{background:#152056;color:#fff;}
.progress-track{flex:1;height:1px;background:var(--color-offset-2);position:relative;}
.progress-track .fill{position:absolute;left:0;top:0;height:1px;width:30%;background:#111;}
@media(max-width:900px){.nav-row{display:none;}}

/* ---------- REAL ESTATE TIMELINE ---------- */
.real-estate{padding:7.5rem 0;background:var(--color-offset-4);}
.real-estate .grid{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center;}
.real-estate h3{font-family:var(--font-display);font-weight:400;font-size:2.2rem;margin:1rem 0 1.4rem;}
.real-estate p{line-height:1.85;color:#3a3a3a;}
.re-list{list-style:none;padding:0;margin:2.6rem 0 0;border-top:1px solid rgba(0,0,0,.15);}
.re-list li{border-bottom:1px solid rgba(0,0,0,.15);}
.re-list button{display:block;width:100%;text-align:left;padding:1.2rem 0;font-size:1.05rem;text-decoration:none;color:#222;background:none;border:none;cursor:pointer;font-family:inherit;transition:opacity .3s ease,padding-left .3s ease;}
.re-list button:hover,.re-list button.active{opacity:.55;padding-left:.6rem;}
.real-estate .re-image{aspect-ratio:3/4;border-radius:2px;overflow:hidden;position:relative;}
.real-estate .re-image img{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .5s ease;}
.real-estate .re-image img.active{opacity:1;}
@media(max-width:860px){.real-estate .grid{grid-template-columns:1fr;gap:2.4rem;}}

/* ---------- MOMENTS PEEKING CAROUSEL ---------- */
.moments{padding:7.5rem 0;text-align:center;background:#fff;}
.moments p.desc{max-width:680px;margin:1.7rem auto 0;line-height:1.8;color:#3a3a3a;}
.moments-carousel{position:relative;max-width:1400px;width:calc(100% - 8rem);margin:4rem auto 0;overflow:hidden;}
@media(max-width:900px){.moments-carousel{width:calc(100% - 3.2rem);}}
.moments-track{display:flex;gap:2rem;transition:transform .5s cubic-bezier(.4,0,.2,1);}
.moments-slide{flex:0 0 62%;max-width:900px;position:relative;}
.moments-slide .img-wrap{aspect-ratio:16/9;border-radius:2px;overflow:hidden;position:relative;}
@media(max-width:900px){.moments-slide{flex:0 0 88%;}}
.m-arrow{
  position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;
  border:none;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;
  cursor:pointer;z-index:5;box-shadow:0 4px 14px rgba(0,0,0,.15);transition:background .3s ease;
}
.m-arrow:hover{background:#fff;}
.m-arrow.prev{left:1.6rem;}
.m-arrow.next{right:1.6rem;}
.moments-caption{margin-top:2.2rem;}
.moments-caption h4{font-family:var(--font-display);font-weight:400;font-size:1.7rem;margin:0 0 1.4rem;}

/* ---------- EXPLORE MORE ---------- */
.explore{padding:6.5rem 0 7.5rem;text-align:center;background:var(--color-offset-4);}
.explore .eyebrow-label{margin-bottom:0;}
.explore h2{font-family:var(--font-display);font-weight:400;font-size:2.4rem;margin:0 0 3.4rem;}
.explore-strip{display:flex;gap:2rem;overflow-x:auto;padding:0 4rem 1rem;scrollbar-width:none;}
.explore-strip::-webkit-scrollbar{display:none;}
.explore-strip .card{flex:0 0 auto;width:300px;text-align:left;}
.explore-strip .card .img-wrap{aspect-ratio:1/1;border-radius:2px;overflow:hidden;}
.explore-strip .card h5{margin:1.2rem 0 0;font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;font-weight:400;color:#333;}
@media(max-width:900px){.explore-strip .card{width:200px;}}

/* ---------- FOOTER ---------- */
footer{background:var(--color-main);color:#fff;padding:5.5rem 0 2.6rem;}
.foot-top{display:grid;grid-template-columns:1.2fr 2.6fr;gap:3rem;}
.foot-logo .word{font-family:var(--font-display);font-weight:600;font-size:1.9rem;letter-spacing:.1em;display:block;}
.foot-logo .sub{font-size:.62rem;letter-spacing:.3em;opacity:.6;display:block;margin-top:.5rem;}
.foot-cols{display:flex;gap:5rem;flex-wrap:wrap;justify-content:flex-end;}
footer h3{font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;opacity:.55;margin-bottom:1.5rem;font-weight:400;}
footer ul{list-style:none;margin:0;padding:0;}
footer li{margin-bottom:.75rem;}
footer a{text-decoration:none;font-size:.95rem;opacity:.9;}
footer a:hover{opacity:1;text-decoration:underline;}
.foot-contact{margin-top:5rem;}
.foot-contact ul{display:flex;flex-direction:column;gap:.7rem;}
.foot-bottom{margin-top:5rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.2);display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:1.5rem;font-size:.8rem;opacity:.6;}
.foot-bottom .links{display:flex;flex-direction:column;gap:.6rem;}
@media(max-width:900px){
  .foot-top{grid-template-columns:1fr;}
  .foot-cols{justify-content:flex-start;gap:3rem;}
  .foot-bottom{flex-direction:column;align-items:flex-start;}
}

