/* ===== Haze Land Resorts — palette from the business card ===== */
:root {
  --ink: #0d0d0c;
  --ink-2: #161613;
  --ink-3: #1f1f1b;
  --gold: #e8c33a;
  --gold-soft: #d8b54a;
  --red: #d8263b;
  --cream: #f1ebdd;
  --muted: #a8a293;
  --line: rgba(232, 195, 58, .22);
  --radius: 4px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Cinzel", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 300 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.8rem; }
p { margin: 0 0 1.1em; }

.section { padding: clamp(72px, 11vw, 140px) var(--gutter); }
.eyebrow {
  font: 500 .76rem/1 var(--sans);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head p:last-child { color: var(--muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95em 1.9em;
  font: 500 .8rem/1 var(--sans);
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f5d457; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--gold); color: var(--gold); background: none; }
.btn-outline:hover { background: var(--gold); color: var(--ink); }
.btn-block { width: 100%; }
.link-arrow {
  color: var(--gold); text-decoration: none; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; font-weight: 500;
}
.link-arrow::after { content: " →"; transition: margin .3s; }
.link-arrow:hover::after { margin-left: 6px; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .4s, padding .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  background: rgba(13,13,12,.92);
  backdrop-filter: blur(10px);
  padding-top: 10px; padding-bottom: 10px;
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold); }
.brand-mark { width: 40px; height: 40px; color: var(--gold); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 1.25rem/1 var(--display); letter-spacing: .06em; color: var(--gold); text-transform: uppercase; }
.brand-sub { font: 700 .74rem/1 var(--display); letter-spacing: .42em; color: var(--red); text-transform: uppercase; margin-top: 5px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a:not(.btn) {
  text-decoration: none; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400;
  position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { padding: .8em 1.4em; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 1.5px; background: var(--cream); margin: 6px 0; transition: transform .3s, opacity .3s; }

/* ===== Hero ===== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease, transform 8s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade {
  background:
    linear-gradient(180deg, rgba(13,13,12,.7) 0%, rgba(13,13,12,0) 22%),
    linear-gradient(90deg, rgba(13,13,12,.6) 0%, rgba(13,13,12,0) 65%),
    linear-gradient(0deg, rgba(13,13,12,.94) 0%, rgba(13,13,12,.5) 45%, rgba(13,13,12,.1) 75%);
}
.hero-content { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.site-header:not(.is-scrolled) .brand-text { text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.site-header:not(.is-scrolled) .brand-sub { color: #ff4a5c; }
.hero-content { position: relative; padding: 0 var(--gutter) clamp(80px, 13vh, 140px); max-width: 860px; }
.hero h1 {
  font-size: clamp(3rem, 9vw, 7rem); line-height: .95; margin-bottom: .3em; color: #fff;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 560px; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 40px; width: 1px; height: 70px; background: rgba(255,255,255,.25); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.2s infinite; }
@keyframes cue { to { top: 100%; } }

/* ===== Highlights ===== */
.highlights {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}
.hl { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line); }
.hl:last-child { border-right: 0; }
.hl strong { display: block; font: 500 2.4rem/1 var(--serif); color: var(--gold); margin-bottom: 8px; }
.hl span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-media { position: relative; padding-bottom: 14%; }
.about-media > img:first-child { width: 88%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius); }
.about-inset {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4/3; object-fit: cover;
  border: 6px solid var(--ink); border-radius: var(--radius);
}
.about-copy p:not(.eyebrow) { color: #d6d0c1; }

/* ===== Stays ===== */
.stays { background: var(--ink-2); }
.stay-list { display: grid; gap: clamp(56px, 8vw, 110px); max-width: 1240px; margin: 0 auto; }
.stay { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.stay-flip .stay-media { order: 2; }
.stay-media {
  position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--ink-3);
}
.stay-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s ease, transform 6s ease; transform: scale(1.04);
}
.stay-media img.is-active { opacity: 1; transform: scale(1); }
.car-btn {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(13,13,12,.55); color: #fff; font-size: 1.4rem; line-height: 1;
  opacity: 0; transition: opacity .3s, background .3s;
}
.car-prev { left: 14px; } .car-next { right: 14px; }
.stay-media:hover .car-btn, .car-btn:focus-visible { opacity: 1; }
.car-btn:hover { background: var(--gold); color: var(--ink); }
.car-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.car-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: background .3s, width .3s; }
.car-dots button.is-active { background: var(--gold); width: 22px; border-radius: 4px; }
.stay-tag { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--red); font-weight: 500; margin-bottom: .6rem; }
.stay h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.stay-body > p:not(.stay-tag) { color: #d6d0c1; }
.feat { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.feat li { font-size: .92rem; color: var(--cream); padding-left: 20px; position: relative; }
.feat li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1px; background: var(--gold); }

/* ===== Pool ===== */
.pool { position: relative; padding: clamp(80px, 12vw, 160px) var(--gutter); overflow: hidden; }
.pool-bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center; filter: brightness(.3) saturate(1.1); }
.pool-inner { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; max-width: 1240px; margin: 0 auto; }
.pool-copy p:not(.eyebrow) { color: rgba(255,255,255,.85); }
.pool-copy .btn { margin-top: .8rem; }
.pool-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(380px, 46vw, 600px); }
.pool-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.pool-grid img:first-child { grid-row: span 2; }

/* ===== Experiences ===== */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); max-width: 1240px; margin: 0 auto; }
.exp { background: var(--ink); padding: clamp(28px, 3.5vw, 48px); transition: background .4s; }
.exp:hover { background: var(--ink-2); }
.exp svg { width: 38px; height: 38px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.exp h3 { font-size: 1.55rem; margin-bottom: .3em; }
.exp p { color: var(--muted); font-size: .95rem; margin: 0; }
.exp-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1240px; margin: 14px auto 0; }
.exp-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

/* ===== Gallery ===== */
.gallery { background: var(--ink-2); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filters button {
  background: none; border: 1px solid var(--line); color: var(--cream); border-radius: 40px;
  padding: .6em 1.4em; font: 400 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
  transition: all .3s;
}
.filters button:hover { border-color: var(--gold); }
.filters button.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.masonry { columns: 4 260px; column-gap: 12px; max-width: 1400px; margin: 0 auto; }
.masonry figure {
  margin: 0 0 12px; break-inside: avoid; overflow: hidden; border-radius: var(--radius);
  cursor: zoom-in; position: relative; background: var(--ink-3);
}
.masonry figure.is-hidden { display: none; }
.masonry img { width: 100%; height: auto; transition: transform .7s var(--ease), filter .5s; }
.masonry figure:hover img { transform: scale(1.05); filter: brightness(.8); }
.masonry figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: .85rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transition: opacity .4s;
}
.masonry figure:hover figcaption { opacity: 1; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8,8,7,.96);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 92vw; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; margin: 0 auto; border-radius: var(--radius); }
.lightbox figcaption { margin-top: 12px; color: var(--muted); font-size: .9rem; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 2.6rem; line-height: 1; padding: 12px 18px; opacity: .75; }
.lightbox button:hover { opacity: 1; color: var(--gold); }
.lb-close { top: 10px; right: 14px; }
.lb-prev { left: 8px; top: 50%; translate: 0 -50%; }
.lb-next { right: 8px; top: 50%; translate: 0 -50%; }

/* ===== Booking ===== */
.book { background: linear-gradient(rgba(13,13,12,.88), rgba(13,13,12,.94)), url(../img/lawn-sunset.jpg) center/cover; }
.book-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); max-width: 1180px; margin: 0 auto; align-items: start; }
.book-copy > p:not(.eyebrow) { color: #d6d0c1; }
.contact-cards { display: grid; gap: 12px; margin-top: 2rem; }
.ccard {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(22,22,19,.7); transition: border-color .3s, transform .3s var(--ease);
}
.ccard:hover { border-color: var(--gold); transform: translateX(4px); }
.ccard svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; flex: none; }
.ccard span { font: 500 1.35rem/1.15 var(--serif); }
.ccard small { display: block; font: 400 .7rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.book-form { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.field { display: flex; flex-direction: column; margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink); color: var(--cream); border: 1px solid #34332c; border-radius: var(--radius);
  padding: 13px 14px; font: 400 1rem/1.3 var(--sans); color-scheme: dark; transition: border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field .invalid { border-color: var(--red); }
.form-error { color: #ff7383; font-size: .9rem; min-height: 1.2em; margin: 0 0 10px; }

/* ===== Location ===== */
.location { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.loc-copy > p:not(.eyebrow) { color: #d6d0c1; }
address { font-style: normal; font: 500 1.35rem/1.5 var(--serif); color: var(--gold); margin: 1.4rem 0 2rem; }
.map { aspect-ratio: 16/11; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 64px var(--gutter) 32px; background: #080807; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; }
.footer-brand .brand-mark { width: 52px; height: 52px; }
.footer-brand .brand-name { font-size: 1.6rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 48px; }
.footer h4 { font: 500 .74rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.footer-cols a { display: block; text-decoration: none; color: var(--muted); margin-bottom: 6px; transition: color .3s; }
.footer-cols a:hover { color: var(--cream); }
.footer-cols p { color: var(--muted); }
.copy { font-size: .8rem; color: #6b675d; border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px; margin: 0; }

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .about, .stay, .pool-inner, .book-wrap, .location { grid-template-columns: 1fr; }
  .stay-flip .stay-media { order: 0; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .highlights { grid-template-columns: 1fr 1fr; }
  .hl:nth-child(2) { border-right: 0; }
  .hl:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .burger { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(13,13,12,.98); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav a:not(.btn) { font-size: 1.1rem; }
  body.nav-open .nav { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  body.nav-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .burger span:nth-child(2) { opacity: 0; }
  body.nav-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.05rem; }
  .exp-grid { grid-template-columns: 1fr; }
  .exp-strip { grid-template-columns: 1fr 1fr; }
  .feat { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-cols { grid-template-columns: 1fr; }
  .pool-grid { height: 420px; }
  .masonry { columns: 2; column-gap: 8px; }
  .masonry figure { margin-bottom: 8px; }
  .car-btn { opacity: 1; width: 36px; height: 36px; font-size: 1.1rem; }
  .hl { padding: 24px 12px; }
  .hl strong { font-size: 2rem; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
