/* =========================================================
   EXPLOREPAlGHAR — DESIGN SYSTEM
   Classic / Premium / Editorial travel platform
   ========================================================= */

:root{
  --green:#214D3A;
  --green-dark:#163B2D;
  --sand:#F4EFE6;
  --cream:#FAF8F3;
  --off-white:#FFFDF9;
  --charcoal:#202522;
  --gray:#6D746F;
  --teal:#2D7C78;
  --terracotta:#C66A45;
  --gold:#B9935A;
  --white:#FFFFFF;

  --font-display:'Playfair Display',Georgia,serif;
  --font-body:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;

  --space-xs:8px;
  --space-sm:16px;
  --space-md:24px;
  --space-lg:40px;
  --space-xl:64px;
  --space-2xl:96px;

  --radius-sm:6px;
  --radius-md:12px;
  --radius-lg:20px;

  --shadow-sm:0 2px 10px rgba(32,37,34,.06);
  --shadow-md:0 10px 30px rgba(32,37,34,.10);
  --shadow-lg:0 20px 50px rgba(32,37,34,.16);

  --container:1240px;
}

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

html{scroll-behavior:smooth;}

body{
  font-family:var(--font-body);
  color:var(--charcoal);
  background:var(--off-white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

body.nav-open,
body.search-open{overflow:hidden;}

img{max-width:100%;display:block;}
a{color:inherit;
  text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit;cursor:pointer;}

h1,h2,h3,.font-display{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.15;
  color:var(--green-dark);
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--space-md);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible{
  outline:2px solid var(--teal);
  outline-offset:3px;
}

.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
}

/* ---- Eyebrow ---- */

.eyebrow{
  font-size:.76rem;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--terracotta);
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:var(--space-sm);
}

.eyebrow::before{
  content:"";
  width:22px;
  height:1px;
  background:var(--gold);
}

/* ---- Section heading ---- */

.section-heading{
  max-width:640px;
  margin-bottom:var(--space-lg);
}

.section-heading h2{
  font-size:clamp(1.9rem,3vw,2.5rem);
}

.section-heading p{
  margin-top:var(--space-sm);
  color:var(--gray);
  font-size:1.02rem;
  max-width:56ch;
}

/* ---- Buttons ---- */

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 28px;
  border-radius:2px;
  font-size:.92rem;
  font-weight:600;
  letter-spacing:.02em;
  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    transform .15s ease;
  border:1px solid transparent;
  white-space:nowrap;
}

.btn-primary{
  background:var(--green);
  color:var(--off-white);
}

.btn-primary:hover{
  background:var(--green-dark);
  transform:translateY(-1px);
}

.btn-outline{
  border-color:var(--charcoal);
  color:var(--charcoal);
}

.btn-outline:hover{
  background:var(--charcoal);
  color:var(--off-white);
}

.btn-outline.on-dark{
  border-color:rgba(255,255,255,.65);
  color:var(--off-white);
}

.btn-outline.on-dark:hover{
  background:var(--off-white);
  color:var(--green-dark);
}

.text-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:600;
  font-size:.94rem;
  color:var(--green-dark);
  border-bottom:1px solid transparent;
  transition:border-color .2s ease,gap .2s ease;
}

.text-link:hover{
  border-color:var(--terracotta);
  gap:10px;
}

.text-link .arrow{
  transition:transform .2s ease;
}

.text-link:hover .arrow{
  transform:translateX(3px);
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,253,249,.97);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(32,37,34,.08);
  transition:box-shadow .25s ease;
}

.site-header.is-scrolled{
  box-shadow:var(--shadow-sm);
}

.header-inner{
  max-width:var(--container);
  margin:0 auto;
  padding:16px var(--space-md);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--space-md);
  transition:padding .25s ease;
}

.site-header.is-scrolled .header-inner{
  padding-top:10px;
  padding-bottom:10px;
}

/* Fixed, predictable logo dimensions */

.brand-logo{
  width:190px;
  height:58px;
  display:flex;
  align-items:center;
  flex:0 0 190px;
  overflow:hidden;
}

.brand-logo img{
  width:190px;
  height:58px;
  object-fit:cover;
  object-position:left center;
  transition:width .25s ease,height .25s ease;
}

.site-header.is-scrolled .brand-logo{
  width:165px;
  height:48px;
  flex-basis:165px;
}

.site-header.is-scrolled .brand-logo img{
  width:165px;
  height:48px;
}

.main-nav{
  display:flex;
  gap:var(--space-lg);
  align-items:center;
}

.main-nav a{
  font-size:.92rem;
  font-weight:500;
  color:var(--charcoal);
  position:relative;
  padding-bottom:4px;
}

.main-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:1px;
  background:var(--terracotta);
  transition:width .2s ease;
}

.main-nav a:hover::after{width:100%;}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.icon-btn{
  background:none;
  border:none;
  color:var(--charcoal);
  font-size:1.15rem;
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:50%;
}

.icon-btn:hover{
  background:var(--sand);
  color:var(--green-dark);
}

.header-cta{
  font-size:.88rem;
  font-weight:600;
  color:var(--green-dark);
  border:1px solid rgba(32,77,58,.35);
  padding:9px 18px;
  border-radius:2px;
}

.header-cta:hover{
  background:var(--green);
  color:var(--off-white);
  border-color:var(--green);
}

.mobile-toggle{
  display:none;
  background:none;
  border:none;
  font-size:1.5rem;
  color:var(--green-dark);
}

.mobile-nav{
  display:none;
  position:fixed;
  inset:0;
  z-index:200;
  background:var(--off-white);
  padding:24px;
  flex-direction:column;
  overflow-y:auto;
}

.mobile-nav.is-open{display:flex;}

.mobile-nav-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:var(--space-lg);
}

.mobile-nav-top img{
  width:150px;
  height:48px;
  object-fit:contain;
  object-position:left center;
}

.mobile-nav-close{
  background:none;
  border:none;
  font-size:1.6rem;
  color:var(--charcoal);
}

.mobile-nav a{
  font-family:var(--font-display);
  font-size:1.5rem;
  color:var(--green-dark);
  padding:14px 0;
  border-bottom:1px solid rgba(32,37,34,.08);
}

.mobile-nav .mobile-secondary{
  margin-top:var(--space-lg);
  display: contents;
}

.mobile-nav .mobile-secondary a{
  font-family:var(--font-body);
  font-size:.95rem;
  font-weight:600;
  color:var(--gray);
  border:none;
  padding:10px 0;
}

/* =========================================================
   HEADER DROPDOWNS
   Places + Stays
   ========================================================= */


/* ---------------------------------------------------------
   DESKTOP NAV DROPDOWN WRAPPER
   --------------------------------------------------------- */

.nav-dropdown{
  position:relative;
  display:flex;
  align-items:center;
}


/* ---------------------------------------------------------
   PARENT LINK
   --------------------------------------------------------- */

.main-nav .nav-dropdown-link{
  display:flex;
  align-items:center;
  gap:7px;
}


/* Chevron */

.nav-chevron{
  width:10px;
  height:7px;
  flex:0 0 auto;

  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;

  transition:transform .2s ease;
}


/* Rotate arrow when dropdown is visible */

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron{
  transform:rotate(180deg);
}


/* ---------------------------------------------------------
   DROPDOWN POSITION
   --------------------------------------------------------- */

.nav-dropdown-menu{
  position:absolute;

  top:100%;
  left:50%;

  width:330px;

  padding-top:14px;

  opacity:0;
  visibility:hidden;
  pointer-events:none;

  transform:
    translateX(-50%)
    translateY(-7px);

  transition:
    opacity .18s ease,
    visibility .18s ease,
    transform .18s ease;

  z-index:120;
}


/* ---------------------------------------------------------
   SHOW ON DESKTOP HOVER / KEYBOARD FOCUS
   --------------------------------------------------------- */

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;

  transform:
    translateX(-50%)
    translateY(0);
}


/* ---------------------------------------------------------
   DROPDOWN CARD
   --------------------------------------------------------- */

.nav-dropdown-panel{
  background:var(--off-white);

  border:
    1px solid
    rgba(32,37,34,.09);

  border-radius:12px;

  padding:20px;

  box-shadow:
    0 18px 45px
    rgba(22,59,45,.14);
}


/* ---------------------------------------------------------
   DROPDOWN TITLE
   --------------------------------------------------------- */

.nav-dropdown-title{
  margin:0 0 14px;

  color:var(--terracotta);

  font-size:.7rem;
  font-weight:700;

  letter-spacing:.11em;
  text-transform:uppercase;
}


/* ---------------------------------------------------------
   LOCATION GRID
   --------------------------------------------------------- */

.nav-dropdown-grid{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap:4px 10px;
}


/* IMPORTANT:
   Override normal main nav underline behavior */

.main-nav .nav-dropdown-grid a{
  position:relative;

  padding:9px 10px;

  border-radius:6px;

  color:var(--green-dark);

  font-size:.86rem;
  font-weight:500;

  transition:
    background .18s ease,
    color .18s ease,
    transform .18s ease;
}


.main-nav .nav-dropdown-grid a::after{
  display:none;
}


.main-nav .nav-dropdown-grid a:hover{
  background:var(--sand);
  color:var(--green);
  transform:translateX(2px);
}


/* ---------------------------------------------------------
   VIEW ALL
   --------------------------------------------------------- */

.main-nav .nav-dropdown-all{
  display:flex;
  align-items:center;
  justify-content:space-between;

  margin-top:14px;
  padding:13px 10px 3px;

  border-top:
    1px solid
    rgba(32,37,34,.09);

  color:var(--green-dark);

  font-size:.84rem;
  font-weight:700;
}


.main-nav .nav-dropdown-all::after{
  display:none;
}


.nav-dropdown-all span{
  transition:transform .2s ease;
}


.nav-dropdown-all:hover span{
  transform:translateX(3px);
}



/* =========================================================
   MOBILE DROPDOWNS
   ========================================================= */


/* ---------------------------------------------------------
   MAIN MOBILE LINK
   --------------------------------------------------------- */

.mobile-main-link{
  font-family:var(--font-display);
  font-size:1.5rem;
  color:var(--green-dark);

  padding:14px 0;

  border-bottom:
    1px solid
    rgba(32,37,34,.08);
}


/* ---------------------------------------------------------
   MOBILE DROPDOWN
   --------------------------------------------------------- */

.mobile-dropdown{
  border-bottom:
    1px solid
    rgba(32,37,34,.08);
}


/* Parent row */

.mobile-dropdown-row{
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:16px;
}


/* Places / Stays text link */

.mobile-nav .mobile-dropdown-parent{
  flex:1;

  padding:14px 0;

  border:0;

  font-family:var(--font-display);
  font-size:1.5rem;

  color:var(--green-dark);
}


/* ---------------------------------------------------------
   MOBILE CHEVRON BUTTON
   --------------------------------------------------------- */

.mobile-dropdown-toggle{
  flex:0 0 44px;

  width:44px;
  height:44px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:0;
  border-radius:50%;

  background:transparent;

  color:var(--green-dark);

  transition:
    background .2s ease,
    color .2s ease;
}


.mobile-dropdown-toggle:hover{
  background:var(--sand);
}


.mobile-dropdown-toggle svg{
  width:13px;
  height:9px;

  fill:none;
  stroke:currentColor;

  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;

  transition:transform .25s ease;
}


/* Rotate arrow when open */

.mobile-dropdown.is-open
.mobile-dropdown-toggle svg{
  transform:rotate(180deg);
}


/* ---------------------------------------------------------
   MOBILE SUBMENU
   Animated accordion
   --------------------------------------------------------- */

.mobile-submenu{
  display:grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap:4px 10px;

  max-height:0;

  opacity:0;

  overflow:hidden;

  padding:0;

  visibility:hidden;

  transform:translateY(-5px);

  transition:
    max-height .3s ease,
    opacity .2s ease,
    transform .2s ease,
    padding .3s ease,
    visibility .2s ease;
}


/* Open submenu */

.mobile-dropdown.is-open
.mobile-submenu{
  max-height:500px;

  opacity:1;
  visibility:visible;

  transform:translateY(0);

  padding:0 0 16px;
}


/* ---------------------------------------------------------
   SUBMENU LINKS
   Overrides .mobile-nav a
   --------------------------------------------------------- */

.mobile-nav .mobile-submenu a{
  padding:10px 12px;

  border:0;
  border-radius:6px;

  background:var(--cream);

  font-family:var(--font-body);
  font-size:.86rem;
  font-weight:600;

  color:var(--green-dark);

  transition:
    background .18s ease,
    color .18s ease;
}


.mobile-nav .mobile-submenu a:hover{
  background:var(--sand);
  color:var(--green);
}


/* First item: All Places / All Stays */

.mobile-nav .mobile-submenu a:first-child{
  grid-column:1 / -1;

  display:flex;
  align-items:center;

  background:transparent;

  padding-left:2px;

  color:var(--terracotta);

  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.07em;
}


/* =========================================================
   MOBILE / DESKTOP VISIBILITY
   ========================================================= */

@media(max-width:1100px){

  .main-nav{
    display:none;
  }

  .mobile-toggle{
    display:block;
  }

}


@media(min-width:1101px){

  .mobile-nav{
    display:none !important;
  }

}



/* =========================================================
   HERO
   ========================================================= */

/* =========================================================
   HERO — EXPLORE PALGHAR
   4-IMAGE BACKGROUND SLIDESHOW
   ========================================================= */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--off-white);
  overflow: hidden;
  isolation: isolate;
  background: #10231f;
}


/* =========================================================
   HERO BACKGROUND SLIDESHOW
   ========================================================= */

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  animation: heroBackground 28s infinite ease-in-out;

  /* Fallback */
  background-image:
    linear-gradient(
      90deg,
      rgba(8, 25, 22, 0.88) 0%,
      rgba(8, 25, 22, 0.72) 32%,
      rgba(8, 25, 22, 0.42) 58%,
      rgba(8, 25, 22, 0.18) 100%
    ),
    url("/assets/images/hero-1.webp");
}


/* =========================================================
   EXTRA READABILITY OVERLAY
   Keeps H1, paragraph and buttons readable
   ========================================================= */

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(5, 20, 17, 0.30) 0%,
      rgba(5, 20, 17, 0.10) 55%,
      rgba(5, 20, 17, 0.18) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 20, 17, 0.05) 0%,
      rgba(5, 20, 17, 0.18) 100%
    );
}


/* =========================================================
   4 IMAGE SLIDESHOW
   28 seconds total
   ~7 seconds per image
   ========================================================= */

@keyframes heroBackground {

  /* -------------------------------------------------------
     IMAGE 1 — kelwa / BEACH
     ------------------------------------------------------- */

  0%,
  21% {
    background-image:
      linear-gradient(
        90deg,
        rgba(8, 25, 22, 0.88) 0%,
        rgba(8, 25, 22, 0.72) 32%,
        rgba(8, 25, 22, 0.42) 58%,
        rgba(8, 25, 22, 0.18) 100%
      ),
      url("/assets/images/hero-1.webp");
  }


  /* -------------------------------------------------------
     IMAGE 2 — JAWHAR / NATURE
     ------------------------------------------------------- */

  25%,
  46% {
    background-image:
      linear-gradient(
        90deg,
        rgba(8, 25, 22, 0.88) 0%,
        rgba(8, 25, 22, 0.72) 32%,
        rgba(8, 25, 22, 0.42) 58%,
        rgba(8, 25, 22, 0.18) 100%
      ),
      url("/assets/images/hero-2.webp");
  }


  /* -------------------------------------------------------
     IMAGE 3 — STAY / RESORT / VILLA
     ------------------------------------------------------- */

  50%,
  71% {
    background-image:
      linear-gradient(
        90deg,
        rgba(8, 25, 22, 0.88) 0%,
        rgba(8, 25, 22, 0.72) 32%,
        rgba(8, 25, 22, 0.42) 58%,
        rgba(8, 25, 22, 0.18) 100%
      ),
      url("/assets/images/hero-3.webp");
  }


  /* -------------------------------------------------------
     IMAGE 4 — DAHANU / BORDI / COAST
     ------------------------------------------------------- */

  75%,
  96% {
    background-image:
      linear-gradient(
        90deg,
        rgba(8, 25, 22, 0.88) 0%,
        rgba(8, 25, 22, 0.72) 32%,
        rgba(8, 25, 22, 0.42) 58%,
        rgba(8, 25, 22, 0.18) 100%
      ),
      url("/assets/images/hero-4.webp");
  }


  /* -------------------------------------------------------
     LOOP BACK TO IMAGE 1
     ------------------------------------------------------- */

  100% {
    background-image:
      linear-gradient(
        90deg,
        rgba(8, 25, 22, 0.88) 0%,
        rgba(8, 25, 22, 0.72) 32%,
        rgba(8, 25, 22, 0.42) 58%,
        rgba(8, 25, 22, 0.18) 100%
      ),
      url("/assets/images/hero-1.webp");
  }
}


/* =========================================================
   REMOVE OLD HERO MEDIA BACKGROUND
   ========================================================= */

.hero-media {
  display: none;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
  position: relative;
  z-index: 2;

  max-width: var(--container);
  margin: 0 auto;

  padding:
    0
    var(--space-md)
    var(--space-2xl);

  width: 100%;
}


.hero-content .eyebrow {
  color: var(--gold);
}

.hero-content .eyebrow::before {
  background: var(--gold);
}


.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--off-white);
  max-width: 16ch;
}


.hero-lede {
  margin-top: var(--space-md);

  font-size: 1.12rem;

  max-width: 52ch;

  color: rgba(255, 253, 249, 0.88);
}


.hero-actions {
  display: flex;

  gap: 16px;

  margin-top: var(--space-lg);

  flex-wrap: wrap;
}


.hero-micro {
  margin-top: var(--space-lg);

  font-size: 0.82rem;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  color: rgba(255, 253, 249, 0.65);
}


/* =========================================================
   MOBILE HERO
   ========================================================= */

@media (max-width: 768px) {

  .hero {
    min-height: 78vh;
  }

  .hero::before {
    background-position: center center;
  }

  .hero-content {
    padding-bottom: var(--space-xl);
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    max-width: 14ch;
  }

  .hero-lede {
    font-size: 1rem;
    max-width: 45ch;
  }
  .site-footer {
    padding: var(--space-xl) 0 var(--space-md)!important;
  }

}


/* =========================================================
   REDUCED MOTION
   Accessibility
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .hero::before {
    animation: none;

    background-image:
      linear-gradient(
        90deg,
        rgba(8, 25, 22, 0.88) 0%,
        rgba(8, 25, 22, 0.72) 32%,
        rgba(8, 25, 22, 0.42) 58%,
        rgba(8, 25, 22, 0.18) 100%
      ),
      url("/assets/images/hero-1.webp");
  }

}


/* =========================================================
   IMAGE PLACEHOLDERS
   ========================================================= */

.ph-image {
  border-radius: var(--radius-lg);

  position: relative;

  overflow: hidden;

  display: flex;

  align-items: center;

  justify-content: center;

  background:
    linear-gradient(
      135deg,
      #e4d9c2,
      #c9b487
    );
}

/* =========================================================
   CARD IMAGES
   Places + Stays
   ========================================================= */

.destination-card .ph-image img,
.property-card .ph-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* optional hover effect for homepage card of stays and places */
.destination-card .ph-image img,
.property-card .ph-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .45s ease;
}

.destination-card:hover .ph-image img,
.property-card:hover .ph-image img{
  transform:scale(1.04);
}



.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 20px auto;
    padding: 0 var(--space-md) var(--space-2xl);
    width: 100%;
}

.hero-content .eyebrow{color:var(--gold);}
.hero-content .eyebrow::before{background:var(--gold);}

.hero h1{
  font-size:clamp(2.4rem,5vw,4rem);
  color:var(--off-white);
  max-width:16ch;
}

.hero-lede{
  margin-top:var(--space-md);
  font-size:1.12rem;
  max-width:52ch;
  color:rgba(255,253,249,.88);
}

.hero-actions{
  display:flex;
  gap:16px;
  margin-top:var(--space-lg);
  flex-wrap:wrap;
}

.hero-micro{
  margin-top:var(--space-lg);
  font-size:.82rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,253,249,.65);
}

/* =========================================================
   IMAGE PLACEHOLDERS
   ========================================================= */

.ph-image{
  border-radius:var(--radius-lg);
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    linear-gradient(135deg,#e4d9c2,#c9b487);
}

/* =========================================================
   ABOUT
   ========================================================= */

.about{
  padding:var(--space-2xl) 0;
}

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--space-2xl);
  align-items:center;
}

/* .about-image{
  aspect-ratio:4/5;
  box-shadow:var(--shadow-md);
} */
 .about-image{
  aspect-ratio:4/5;
  overflow:hidden;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);
  background:#e8e2d7;
}

.about-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:left;
}

.about-copy p{
  color:var(--gray);
  margin-bottom:var(--space-sm);
  max-width:56ch;
}

.about-copy .text-link{
  margin-top:var(--space-xs);
}

/* =========================================================
   HORIZONTAL SCROLLERS
   ========================================================= */

.scroller-section{
  padding:var(--space-2xl) 0;
}

.scroller-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:var(--space-md);
  margin-bottom:var(--space-lg);
}

.scroller-controls{
  display:flex;
  gap:10px;
  flex-shrink:0;
}

.scroller-arrow{
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(32,37,34,.18);
  background:var(--off-white);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.1rem;
  color:var(--charcoal);
  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    opacity .2s ease;
}

.scroller-arrow:hover:not(:disabled){
  background:var(--green);
  color:var(--off-white);
  border-color:var(--green);
}

.scroller-arrow:disabled{
  opacity:.35;
  cursor:not-allowed;
}

.scroller{
  display:flex;
  gap:var(--space-md);
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-padding-left:var(--space-md);
  padding-bottom:var(--space-sm);
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
}

.scroller::-webkit-scrollbar{display:none;}

.scroller > *{
  scroll-snap-align:start;
  flex-shrink:0;
}

/* Destination card */

.destination-card{
  width:300px;
  background:var(--off-white);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  border:1px solid rgba(32,37,34,.06);
  transition:box-shadow .25s ease,transform .25s ease;
}

.destination-card:hover{
  box-shadow:var(--shadow-md);
  transform:translateY(-3px);
}

.destination-card .ph-image{
  aspect-ratio:4/3;
  border-radius:0;
}

.destination-card .card-body{
  padding:20px;
}

.destination-card h3{
  font-size:1.2rem;
  margin-bottom:6px;
}

.destination-card .loc{
  display:flex;
  align-items:center;
  gap:5px;
  font-size:.78rem;
  color:var(--teal);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:10px;
}

.destination-card p{
  font-size:.9rem;
  color:var(--gray);
  margin-bottom:14px;
}

/* =========================================================
   PROPERTY FILTERS + CARDS
   ========================================================= */

.category-pills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:var(--space-lg);
  overflow-x:auto;
  scrollbar-width:none;
  padding-bottom:2px;
}

.category-pills::-webkit-scrollbar{display:none;}

.pill{
  flex:0 0 auto;
  padding:9px 18px;
  border-radius:30px;
  border:1px solid rgba(32,37,34,.16);
  font-size:.84rem;
  font-weight:600;
  color:var(--gray);
  background:var(--off-white);
  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.pill.is-active,
.pill:hover{
  background:var(--green);
  color:var(--off-white);
  border-color:var(--green);
}

.property-card{
  width:320px;
  background:var(--off-white);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  border:1px solid rgba(32,37,34,.06);
  transition:
    box-shadow .25s ease,
    transform .25s ease,
    opacity .2s ease;
  position:relative;
}

.property-card:hover{
  box-shadow:var(--shadow-md);
  transform:translateY(-3px);
}

.property-card.is-filtered-out{
  display:none;
}

.property-card .ph-image{
  aspect-ratio:4/3;
  border-radius:0;
}

.fav-btn{
  position:absolute;
  top:14px;
  right:14px;
  z-index:2;
  width:34px;
  height:34px;
  border-radius:50%;
  background:rgba(255,253,249,.92);
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--terracotta);
  font-size:1rem;
  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.fav-btn:hover{
  transform:scale(1.05);
}

.fav-btn.is-saved{
  background:var(--terracotta);
  color:#fff;
}

.property-card .card-body{
  padding:20px;
}

.property-card .type-tag{
  font-size:.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--terracotta);
  margin-bottom:6px;
}

.property-card h3{
  font-size:1.12rem;
  margin-bottom:4px;
}

.property-card .loc{
  font-size:.84rem;
  color:var(--gray);
  margin-bottom:10px;
  display:flex;
  align-items:center;
  gap:5px;
}

.property-card p.desc{
  font-size:.88rem;
  color:var(--gray);
  margin-bottom:16px;
}

.property-card .card-foot{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:14px;
  border-top:1px solid rgba(32,37,34,.08);
}

.section-foot-link{
  margin-top:var(--space-lg);
  text-align:center;
}

/* =========================================================
   SEARCH OVERLAY
   ========================================================= */

.ep-search-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:100px 20px 30px;
  background:rgba(10,25,19,.72);
  backdrop-filter:blur(8px);
  opacity:0;
  visibility:hidden;
  transition:opacity .2s ease,visibility .2s ease;
}

.ep-search-overlay.is-open{
  opacity:1;
  visibility:visible;
}

.ep-search-box{
  position:relative;
  width:min(720px,100%);
  background:var(--off-white);
  border-radius:20px;
  padding:36px;
  box-shadow:0 30px 80px rgba(0,0,0,.25);
  transform:translateY(-15px);
  transition:transform .25s ease;
}

.ep-search-overlay.is-open .ep-search-box{
  transform:translateY(0);
}

.ep-search-close{
  position:absolute;
  top:18px;
  right:18px;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:var(--sand);
  color:var(--green-dark);
  font-size:24px;
}

.ep-search-eyebrow{
  margin:0 0 8px;
  color:var(--gold);
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.ep-search-box h2{
  margin:0 0 24px;
  color:var(--green-dark);
  font-family:var(--font-display);
  font-size:clamp(28px,5vw,42px);
}

.ep-search-form{
  display:flex;
  gap:10px;
}

.ep-search-input-wrap{
  position:relative;
  flex:1;
}

.ep-search-input{
  width:100%;
  height:54px;
  padding:0 48px 0 44px;
  border:1px solid rgba(33,77,58,.2);
  border-radius:12px;
  background:#fff;
  color:var(--charcoal);
  font-size:16px;
  outline:none;
}

.ep-search-input:focus{
  border-color:var(--green);
  box-shadow:0 0 0 3px rgba(33,77,58,.1);
}

.ep-search-icon{
  position:absolute;
  left:15px;
  top:50%;
  transform:translateY(-50%);
  color:var(--green);
  font-size:21px;
}

.ep-search-clear{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  color:#777;
  font-size:20px;
}

.ep-search-submit{
  height:54px;
  padding:0 24px;
  border:0;
  border-radius:12px;
  background:var(--green);
  color:#fff;
  font-weight:700;
}

.ep-search-submit:hover{
  background:var(--green-dark);
}

.ep-search-results{
  margin-top:20px;
  max-height:420px;
  overflow-y:auto;
}

.ep-search-result{
  display:flex;
  flex-direction:column;
  gap:3px;
  padding:15px 16px;
  border-bottom:1px solid #ece9e2;
  color:var(--charcoal);
  text-decoration:none;
  transition:background-color .2s ease;
}

.ep-search-result:hover{
  background:var(--sand);
}

.ep-result-category{
  color:var(--gold);
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.ep-search-result strong{
  color:var(--green-dark);
  font-size:16px;
}

.ep-search-result span:last-child{
  color:var(--gray);
  font-size:13px;
}

.ep-search-empty{
  padding:30px 10px;
  text-align:center;
  color:var(--gray);
}

.ep-search-empty strong{
  display:block;
  margin-bottom:5px;
  color:var(--green-dark);
}

/* =========================================================
   BUSINESS CTA
   ========================================================= */

.cta-band{
  position:relative;
  padding:var(--space-2xl) 0;
  color:var(--off-white);
  overflow:hidden;
}

.cta-band-media{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(22,59,45,.55) 0%,rgba(18,35,28,.88) 100%),
    linear-gradient(120deg,#2a4f3d,#173226);
}

.cta-band-content{
  position:relative;
  z-index:2;
  max-width:640px;
  margin:0 auto;
  text-align:center;
  padding:0 var(--space-md);
}

.cta-band .eyebrow{
  justify-content:center;
  color:var(--gold);
}

.cta-band .eyebrow::before{
  background:var(--gold);
}

.cta-band h2{
  color:var(--off-white);
  font-size:clamp(1.9rem,3.4vw,2.6rem);
  margin-bottom:var(--space-sm);
}

.cta-band p{
  color:rgba(255,253,249,.85);
  margin-bottom:var(--space-lg);
}

.cta-band .hero-actions{
  justify-content:center;
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta{
  background:var(--cream);
  padding:var(--space-2xl) 0;
  text-align:center;
}

.final-cta h2{
  font-size:clamp(1.9rem,3.4vw,2.5rem);
  margin-bottom:var(--space-sm);
}

.final-cta p{
  color:var(--gray);
  margin-bottom:var(--space-lg);
  max-width:48ch;
  margin-left:auto;
  margin-right:auto;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer{
  background:var(--green-dark);
  color:rgba(255,253,249,.82);
  padding:var(--space-2xl) 0 var(--space-md);
}

.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:var(--space-lg);
  padding-bottom:var(--space-lg);
  border-bottom:1px solid rgba(255,255,255,.12);
}

.footer-brand img{
  width:180px;
  height:50px;
  object-fit:contain;
  object-position:left center;
  filter:brightness(0) invert(1);
  margin-bottom:14px;
}

.footer-brand .tagline{
  font-family:var(--font-display);
  font-style:italic;
  color:var(--gold);
  margin-bottom:12px;
}

.footer-brand p{
  font-size:.88rem;
  max-width:32ch;
  color:rgba(255,253,249,.68);
}

.footer-social{
  display:flex;
  gap:12px;
  margin-top:var(--space-md);
}

.footer-social a{
  width:36px;
  height:36px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.9rem;
}

.footer-social a:hover{
  background:var(--off-white);
  color:var(--green-dark);
}

.footer-grid h4{
  font-size:.76rem;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--gold);
  margin-bottom:16px;
}

.footer-grid li{
  margin-bottom:10px;
  font-size:.9rem;
}

.footer-grid a:hover{
  color:var(--off-white);
}

.footer-bottom{
  padding-top:var(--space-md);
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  font-size:.8rem;
  color:rgba(255,253,249,.55);
}

.footer-bottom .legal-links{
  display:flex;
  gap:20px;
}

/* footer credit itheit */
.footer-credit{
  color:rgba(255,253,249,.55);
}

.footer-credit a{
  color:rgba(255,253,249,.82);
  font-weight:600;
  transition:color .2s ease;
}

.footer-credit a:hover{
  color:var(--gold);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:1100px){
  .main-nav{display:none;}
  .mobile-toggle{display:block;}
}

@media(max-width:1024px){
  .about-grid{
    grid-template-columns:1fr;
    gap:var(--space-lg);
  }

  .about-image{
    aspect-ratio:16/9;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:760px){

  .header-inner{
    padding:10px var(--space-sm);
  }

  .brand-logo{
    width:150px;
    height:48px;
    flex-basis:150px;
  }

  .brand-logo img{
    width:150px;
    height:48px;
  }

  .site-header.is-scrolled .brand-logo{
    width:145px;
    height:44px;
    flex-basis:145px;
  }

  .site-header.is-scrolled .brand-logo img{
    width:145px;
    height:44px;
  }

  .header-cta,
  .header-actions > .icon-btn:first-of-type{
    display:none;
  }

  .header-actions{
    gap:4px;
  }

  .hero{
    min-height:78vh;
  }

  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-actions .btn{
    justify-content:center;
  }

  .scroller-head{
    flex-direction:column;
    align-items:flex-start;
    gap:var(--space-sm);
  }

  /* .destination-card{
    width:78vw;
  }

  .property-card{
    width:82vw;
  } */
   
  /* =========================================================
   RESPONSIVE CARD WIDTHS
   ========================================================= */

/* Desktop */
.destination-card{
  width:320px;
}

.property-card{
  width:320px;
}


/* Tablet */
@media (max-width:1024px){

  .destination-card,
  .property-card{
    width:calc(
      (100% - var(--space-md)) / 2
    );
  }

}


/* Mobile - EXACTLY 2 CARDS */
@media (max-width:640px){

  .destination-card,
  .property-card{
    width:calc(
      (100vw - 48px) / 2
    );
  }

  .scroller{
    gap:16px;
    scroll-padding-left:16px;
  }

  .destination-card .card-body,
  .property-card .card-body{
    padding:14px;
  }

  .destination-card h3,
  .property-card h3{
    font-size:1rem;
  }

  .destination-card p,
  .property-card p.desc{
    font-size:.78rem;
    line-height:1.5;
  }

}

  .category-pills{
    flex-wrap:nowrap;
  }

  .ep-search-overlay{
    padding:20px 12px;
    align-items:flex-start;
  }

  .ep-search-box{
    padding:28px 20px;
    margin-top:30px;
    border-radius:16px;
  }

  .ep-search-form{
    flex-direction:column;
  }

  .ep-search-submit{
    width:100%;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:var(--space-lg);
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer-bottom .legal-links{
    flex-wrap:wrap;
  }
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}

  *,
  *::before,
  *::after{
    transition:none !important;
    scroll-behavior:auto !important;
  }
}

/* =========================================================
   IMAGE FALLBACK
========================================================= */

img.image-fallback {
  object-fit: cover;
  background: var(--cream, #FAF8F3);
}