/* ============================================================
   EcoBliss HideAway — refreshed eco-luxe theme
   Palette drawn from the brand logo: forest/leaf green, warm
   bark brown, sage and a soft cream paper background.
   ============================================================ */

:root {
  --forest:      #2f4a24;   /* deep canopy green */
  --leaf:        #5e8c43;   /* EcoBliss green */
  --leaf-soft:   #7aa85c;
  --sage:        #aac08c;   /* logo circle */
  --sage-soft:   #cdd9b4;
  --bark:        #6b4a2f;   /* branch / HIDEAWAY brown */
  --bark-soft:   #8a6a47;
  --gold:        #d4a24a;   /* candle-light accent */
  --cream:       #f7f4ec;   /* paper background */
  --cream-2:     #efeadd;
  --ink:         #28301f;   /* near-black green text */
  --muted:       #5c6450;
  --white:       #ffffff;

  --shadow-sm: 0 2px 8px rgba(40, 48, 31, .08);
  --shadow:    0 14px 40px rgba(40, 48, 31, .14);
  --radius:    18px;
  --radius-sm: 12px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.02rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--leaf); text-decoration: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; color: var(--forest); letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding-block: clamp(64px, 9vw, 120px); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--bark);
  margin-bottom: .9rem;
}

.section-head { max-width: 660px; margin: 0 auto clamp(40px, 6vw, 68px); text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.section-lead { color: var(--muted); margin-top: 1rem; font-size: 1.08rem; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--leaf);
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body); font-weight: 700;
  font-size: .96rem; line-height: 1;
  padding: .95em 1.6em; border-radius: 999px;
  background: var(--btn-bg); color: #fff;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: .7em 1.15em; font-size: .85rem; }
.btn-primary { --btn-bg: var(--forest); }
.btn-primary:hover { background: var(--leaf); }
.btn-whatsapp { --btn-bg: #25954c; }
.btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--forest); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: var(--gold); color: #3a2a10; border-color: var(--gold); }
.btn .ico { width: 1.15em; height: 1.15em; fill: currentColor; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
/* readability scrim behind the header while over the hero */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,32,14,.55), rgba(20,32,14,0));
  transition: opacity .35s var(--ease);
}
.site-header.scrolled::before { opacity: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; transition: min-height .35s var(--ease); }
.site-header.scrolled .header-inner { min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo {
  width: 64px; height: 64px; object-fit: contain; padding: 7px;
  background: var(--cream); border-radius: 16px; box-shadow: 0 4px 14px rgba(20,32,14,.25);
  transition: width .35s var(--ease), height .35s var(--ease), padding .35s var(--ease), transform .3s var(--ease);
}
.site-header.scrolled .brand-logo { width: 52px; height: 52px; padding: 5px; box-shadow: var(--shadow-sm); }
.brand:hover .brand-logo { transform: rotate(-6deg); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: #fff; transition: color .35s; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.site-header.scrolled .brand-name { text-shadow: none; }
.brand-name em { font-style: italic; font-weight: 400; color: var(--sage-soft); }

.site-header.scrolled { background: rgba(247,244,236,.92); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.site-header.scrolled .brand-name { color: var(--forest); }
.site-header.scrolled .brand-name em { color: var(--bark); }
.site-header.scrolled .nav-menu a:not(.btn) { color: var(--ink); }

.nav-menu { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav-menu a:not(.btn) {
  color: #fff; font-weight: 600; font-size: .96rem; position: relative; padding-block: .3rem;
}
.nav-menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-menu a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,32,14,.55) 0%, rgba(20,32,14,.25) 35%, rgba(20,32,14,.65) 100%),
    radial-gradient(120% 90% at 20% 60%, rgba(20,32,14,.45), transparent 60%);
}
.hero-content { padding-top: 90px; max-width: 760px; }
.hero .eyebrow { color: var(--sage-soft); }
.hero-title { font-size: clamp(3rem, 8.5vw, 6rem); color: #fff; font-weight: 500; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero-title span { font-style: italic; color: var(--gold); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 560px; margin-top: 1.4rem; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero-scroll { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; }
.hero-scroll span { position: absolute; left: 50%; top: 9px; translate: -50% 0; width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: scroll 1.6s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 5/4; object-fit: cover; }
.about-badge {
  position: absolute; right: -14px; bottom: -22px;
  background: var(--gold); color: #3a2a10; border-radius: 50%;
  width: 120px; height: 120px; display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow); transform: rotate(-6deg);
}
.about-badge strong { font-family: var(--font-display); font-size: 1.7rem; display: block; line-height: 1; }
.about-badge span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.about-copy h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1.1rem; }
.about-copy p { color: var(--muted); margin-bottom: 1rem; }
.about-points { margin: 1.4rem 0 2rem; display: grid; gap: .7rem; }
.about-points li { display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--ink); }
.about-points svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: var(--sage-soft); fill: none; stroke: var(--forest); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   EXPERIENCES
   ============================================================ */
.experiences { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.exp-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(170,192,140,.35);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.exp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--leaf); }
.exp-photo { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.exp-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.exp-card:hover .exp-photo img { transform: scale(1.07); }
.exp-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,32,14,.35)); }
.exp-icon {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  display: inline-grid; place-content: center; width: 48px; height: 48px; border-radius: 13px;
  background: linear-gradient(140deg, var(--sage-soft), var(--sage)); box-shadow: 0 4px 12px rgba(20,32,14,.3);
}
.exp-icon { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.exp-card:hover .exp-icon { transform: translateY(-2px) scale(1.06); box-shadow: 0 8px 18px rgba(20,32,14,.38); }
.exp-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.exp-card:nth-child(7) .exp-icon { background: linear-gradient(140deg, #f1d9a6, var(--gold)); }
.exp-card:nth-child(7) .exp-icon svg { stroke: var(--bark); }
.exp-body { padding: 1.5rem 1.4rem 1.7rem; }
.exp-card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.exp-card p { color: var(--muted); font-size: .96rem; }

/* ============================================================
   FEATURE BAND
   ============================================================ */
.feature-band { background: var(--forest); color: var(--cream); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: clamp(40px, 6vw, 70px); text-align: center; }
.feature { border-right: 1px solid rgba(255,255,255,.14); }
.feature:last-child { border-right: 0; }
.feature strong { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; display: block; }
.feature span { font-size: .9rem; letter-spacing: .04em; color: var(--sage-soft); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.7rem, 1.4vw, 1.1rem); grid-auto-rows: clamp(150px, 19vw, 215px); grid-auto-flow: dense; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.gallery-item.g-big  { grid-column: span 2; grid-row: span 2; }
.gallery-item.g-wide { grid-column: span 2; grid-row: span 1; }
.gallery-item.g-tall { grid-column: span 1; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.1rem .9rem; color: #fff; font-weight: 600; font-size: .95rem;
  background: linear-gradient(0deg, rgba(20,32,14,.8), transparent);
  translate: 0 8px; opacity: 0; transition: .35s var(--ease);
}
.gallery-item:hover figcaption { translate: 0 0; opacity: 1; }
.gallery-cta { text-align: center; margin-top: 2.2rem; color: var(--muted); font-weight: 600; }
.gallery-cta a { font-weight: 700; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--gold); position: relative;
}
.quote::before { content: "\201C"; font-family: var(--font-display); font-size: 4.5rem; color: var(--sage); position: absolute; top: .2rem; right: 1rem; line-height: 1; opacity: .6; }
.quote p { font-size: 1.04rem; color: var(--ink); }
.quote footer { margin-top: 1.1rem; font-weight: 700; color: var(--bark); font-size: .92rem; }
.testi-note { text-align: center; margin-top: 2.4rem; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--forest); }

/* ============================================================
   VISIT / CONTACT
   ============================================================ */
.visit { background: var(--forest); color: var(--cream); }
.visit .eyebrow { color: var(--sage-soft); }
.visit h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.visit-copy > p { color: rgba(255,255,255,.82); max-width: 44ch; }
.contact-list { margin: 2rem 0; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.contact-list strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
.contact-list div { color: rgba(255,255,255,.82); line-height: 1.5; }
.contact-list a { color: var(--sage-soft); font-weight: 700; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.socials { display: flex; gap: .8rem; }
.socials a { width: 44px; height: 44px; display: grid; place-content: center; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); color: #fff; transition: .25s var(--ease); }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #3a2a10; transform: translateY(-3px); }
.socials svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.visit-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.4; border: 4px solid rgba(255,255,255,.1); }
.visit-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #1f3017; color: rgba(255,255,255,.75); padding-top: clamp(40px, 6vw, 60px); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; align-items: center; gap: 1rem; max-width: 440px; }
.footer-brand img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 14px; padding: 6px; flex: none; }
.footer-brand p { font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { color: rgba(255,255,255,.8); font-weight: 600; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { padding-block: 1.4rem; font-size: .86rem; color: rgba(255,255,255,.55); }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.fab-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25954c;
  display: grid; place-content: center; box-shadow: 0 10px 28px rgba(37,149,76,.5);
  animation: fab-pulse 2.6s infinite;
}
.fab-whatsapp svg { width: 30px; height: 30px; fill: #fff; }
.fab-whatsapp:hover { transform: scale(1.08); }
@keyframes fab-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,149,76,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,149,76,0); } 100% { box-shadow: 0 0 0 0 rgba(37,149,76,0); } }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,22,10,.93); display: none; align-items: center; justify-content: center; gap: clamp(.5rem, 2vw, 1.5rem); padding: clamp(1rem, 5vw, 3rem); }
.lightbox.open { display: flex; }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .8rem; max-width: 100%; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox figcaption { color: rgba(255,255,255,.85); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; }
.lightbox-close { position: absolute; top: 18px; right: 26px; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; z-index: 2; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  flex: none; width: 54px; height: 54px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.4); color: #fff;
  font-size: 2rem; line-height: 1; display: grid; place-content: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.lightbox-prev { left: clamp(.5rem, 3vw, 2rem); }
.lightbox-next { right: clamp(.5rem, 3vw, 2rem); }
.lightbox-nav:hover { background: var(--gold); border-color: var(--gold); color: #3a2a10; transform: translateY(-50%) scale(1.08); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .about-grid, .visit-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; }
  .about-badge { right: 14px; }
}

@media (max-width: 760px) {
  /* mobile nav */
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; cursor: pointer; z-index: 60;
    background: rgba(31,48,23,.45); border-radius: 12px; backdrop-filter: blur(4px);
    transition: background .35s var(--ease);
  }
  .site-header.scrolled .nav-toggle, .nav-open .nav-toggle { background: transparent; backdrop-filter: none; }
  .nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s var(--ease); filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
  .site-header.scrolled .nav-toggle span { filter: none; }
  .site-header.scrolled .nav-toggle span { background: var(--forest); }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--forest); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--forest); }

  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--cream); flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.6rem; padding: 2rem 2.2rem; box-shadow: var(--shadow);
    transform: translateX(100%); transition: transform .35s var(--ease);
  }
  .nav-open .nav-menu { transform: translateX(0); }
  .nav-menu a:not(.btn) { color: var(--ink) !important; font-size: 1.15rem; }
  .nav-menu .btn { width: 100%; justify-content: center; }

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

@media (max-width: 520px) {
  .exp-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery-item.g-big  { grid-column: span 2; grid-row: span 2; }
  .gallery-item.g-wide { grid-column: span 2; grid-row: span 1; }
  .gallery-item.g-tall { grid-column: span 1; grid-row: span 2; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .lightbox-nav { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll span, .fab-whatsapp { animation: none; }
}
