/* =========================================================
   Don & Maria Suites — Design 2: Earthy Dark "Lodge"
   Centered nav · full-screen hero · horizontal-scroll rooms
   ========================================================= */

:root {
  --bg:      #1c1712;   /* deep espresso */
  --bg-2:    #221c15;   /* raised panel */
  --bg-3:    #2c251c;   /* cards / inputs */
  --cream:   #f2e9d8;   /* primary text */
  --muted:   #b3a78f;   /* secondary text */
  --sage:    #9cb79f;   /* logo sage, lightened for dark */
  --sage-dim:#768e7e;
  --coral:   #e88153;   /* logo coral */
  --coral-d: #d2703f;
  --line:    rgba(242,233,216,0.14);
  --serif:   'Fraunces', Georgia, serif;
  --sans:    'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); font-weight: 300; color: var(--cream); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.26em; font-size: 0.7rem; font-weight: 500; color: var(--coral); margin-bottom: 1rem; }
.eyebrow.light { color: #f0c8ad; }
.eyebrow.center { text-align: center; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block; background: var(--coral); color: #221409;
  font-family: var(--sans); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; padding: 1rem 2.1rem;
  text-decoration: none; border: 0; cursor: pointer; transition: background 0.25s, transform 0.2s, color 0.2s;
}
.btn:hover { background: var(--coral-d); transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--cream); border: 1px solid var(--line); }
.btn-line:hover { background: var(--cream); color: var(--bg); }
.btn-line.light { color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-line.light:hover { background: #fff; color: var(--bg); }
.btn-block { width: 100%; text-align: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px clamp(20px, 5vw, 64px); transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.nav.scrolled { background: rgba(28,23,18,0.92); backdrop-filter: blur(8px); padding-top: 14px; padding-bottom: 14px; box-shadow: 0 1px 0 var(--line); }
.nav-group { display: flex; gap: 1.8rem; }
.nav-right { justify-content: flex-end; }
.nav-group a { text-decoration: none; font-size: 0.82rem; letter-spacing: 0.08em; color: var(--cream); opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
.nav-group a:hover { opacity: 1; color: var(--coral); }
.nav-book { border: 1px solid var(--line); padding: 0.55rem 1.1rem; opacity: 1 !important; }
.nav-book:hover { background: var(--coral); color: #221409 !important; border-color: var(--coral); }
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; justify-self: center; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: linear-gradient(135deg, var(--sage-dim) 0%, var(--coral) 100%); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 0.9rem; }
.logo-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; display: flex; flex-direction: column; line-height: 1; }
.logo-name em { font-style: normal; font-family: var(--sans); font-size: 0.55rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.burger { display: none; }
.drawer { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.hero-img { position: absolute; top: -16%; bottom: -16%; left: 0; right: 0; z-index: 0; background: url('https://loremflickr.com/1600/1200/tropical,resort,sunset?lock=5') center/cover no-repeat; background-color: var(--bg); will-change: transform; }
.hero-veil { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(28,23,18,0.35) 0%, rgba(28,23,18,0.78) 100%); }
.hero-frame { position: absolute; inset: 22px; z-index: 2; border: 1px solid rgba(242,233,216,0.28); pointer-events: none; }
.hero-mid { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; color: #fff; }
.hero-mid h1 { font-size: clamp(2.8rem, 8vw, 6.5rem); font-weight: 500; }
.hero-mid h1 em { font-style: italic; color: #f0c8ad; }
.hero-sub { font-weight: 300; font-size: 1.12rem; max-width: 540px; margin: 1.6rem 0 2.4rem; color: rgba(255,255,255,0.9); }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ---------- About ---------- */
.about { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 90px); align-items: center; padding: clamp(80px, 11vw, 150px) clamp(20px, 5vw, 64px); background: var(--bg); overflow: hidden; }
.ghost-no { position: absolute; top: 30px; right: 4vw; font-family: var(--serif); font-size: clamp(8rem, 20vw, 18rem); font-weight: 600; color: rgba(242,233,216,0.04); line-height: 1; pointer-events: none; }
.about-text { position: relative; z-index: 1; }
.about-text h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); margin-bottom: 1.4rem; max-width: 18ch; }
.about-text p { color: var(--muted); max-width: 50ch; }
.figs { display: flex; gap: 2.6rem; margin-top: 2.6rem; flex-wrap: wrap; }
.figs strong { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--sage); line-height: 1; }
.figs span { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.66rem; color: var(--muted); }
.about-img img { width: 100%; height: 560px; object-fit: cover; }

/* ---------- Rooms (horizontal scroll) ---------- */
.rooms { padding: clamp(80px, 11vw, 140px) 0; background: var(--bg-2); }
.rooms-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; padding: 0 clamp(20px, 5vw, 64px); margin-bottom: 3rem; }
.rooms-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.hint { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--coral); }
.hint span { display: block; color: var(--muted); letter-spacing: 0.06em; margin-top: 0.3rem; text-transform: none; font-size: 0.78rem; }
.rail { display: flex; gap: 26px; overflow-x: auto; padding: 4px clamp(20px, 5vw, 64px) 24px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--coral) transparent; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 6px; }
.rcard { flex: 0 0 380px; scroll-snap-align: start; background: var(--bg-3); display: flex; flex-direction: column; }
.rcard-img { overflow: hidden; }
.rcard-img img { width: 100%; height: 360px; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.rcard:hover .rcard-img img { transform: scale(1.05); }
.rcard-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.rcard-body h3 { font-size: 1.8rem; }
.rmeta { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.68rem; color: var(--sage); margin: 0.5rem 0 0.9rem; }
.rcard-body > p { color: var(--muted); font-size: 0.92rem; }
.rfoot { margin-top: auto; padding-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; }
.rate { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; }
.rate small { font-family: var(--sans); font-size: 0.75rem; font-weight: 300; color: var(--muted); margin-left: 3px; }
.arrow { text-decoration: none; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--cream); border-bottom: 1.5px solid var(--coral); padding-bottom: 4px; }
.arrow:hover { color: var(--coral); }

/* ---------- Amenities ---------- */
.amenities { padding: clamp(80px, 11vw, 140px) clamp(20px, 5vw, 64px); background: var(--bg); }
.amenities h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 3rem; }
.amen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.amen { background: var(--bg); padding: 40px 24px; text-align: center; transition: background 0.25s; }
.amen:hover { background: var(--bg-2); }
.amen svg { width: 30px; height: 30px; color: var(--coral); margin-bottom: 1rem; }
.amen h4 { font-size: 1.3rem; font-weight: 500; }

/* ---------- Dining ---------- */
.dining { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.dining-img { position: absolute; top: -12%; bottom: -12%; left: 0; right: 0; z-index: 0; background: url('https://loremflickr.com/1500/1000/filipino,food,dark?lock=31') center/cover no-repeat; background-color: var(--bg); will-change: transform; }
.dining-veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,16,11,0.92) 0%, rgba(20,16,11,0.62) 55%, rgba(20,16,11,0.30) 100%); }
.dining-mid { position: relative; z-index: 2; max-width: 540px; padding: clamp(60px, 9vw, 120px) clamp(20px, 5vw, 64px); color: #fff; }
.dining-mid h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1.2rem; }
.dining-mid p { color: rgba(255,255,255,0.85); font-weight: 300; }
.hours { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: #f0c8ad !important; margin: 1.4rem 0 1.8rem; }

/* ---------- Gallery strip ---------- */
.gallery { padding: clamp(80px, 11vw, 140px) 0; background: var(--bg-2); }
.gallery h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2.6rem; }
.strip { display: flex; gap: 16px; overflow-x: auto; padding: 0 clamp(20px, 5vw, 64px) 20px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--coral) transparent; }
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 6px; }
.strip img { flex: 0 0 clamp(280px, 38vw, 460px); height: 340px; object-fit: cover; scroll-snap-align: start; transition: filter 0.4s; }
.strip img:hover { filter: brightness(1.08); }

/* ---------- Reserve ---------- */
.reserve { padding: clamp(80px, 11vw, 140px) clamp(20px, 5vw, 64px); background: var(--bg); }
.reserve-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.reserve-form h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0.6rem 0; }
.muted { color: var(--muted); }
.form { margin-top: 2rem; display: grid; gap: 1.5rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.f { display: flex; flex-direction: column; }
.f label { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.64rem; color: var(--muted); margin-bottom: 0.5rem; }
.f input, .f select { font-family: var(--sans); font-size: 0.98rem; font-weight: 300; color: var(--cream); background: var(--bg-3); border: 1px solid var(--line); border-radius: 0; padding: 0.8rem 0.9rem; transition: border-color 0.25s; }
.f input::placeholder { color: #8a8170; }
.f input:focus, .f select:focus { outline: none; border-color: var(--coral); }
.f select option { background: var(--bg-3); }
.form-status { min-height: 1.2rem; font-size: 0.9rem; font-weight: 400; }
.form-status.ok { color: var(--sage); }
.form-status.err { color: var(--coral); }
.reserve-info h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.addr { color: var(--muted); margin-bottom: 1.6rem; }
.ilist { list-style: none; display: grid; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.ilist li { display: flex; flex-direction: column; }
.ilist li span { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.62rem; color: var(--sage); margin-bottom: 0.2rem; }
.ilist li a { text-decoration: none; }
.ilist li a:hover { color: var(--coral); }
.map { margin-top: 1.6rem; }
.map iframe { width: 100%; height: 220px; border: 0; display: block; filter: grayscale(0.3) brightness(0.9); }

/* ---------- Footer ---------- */
.foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 34px clamp(20px, 5vw, 64px); border-top: 1px solid var(--line); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.66rem; color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) { .amen-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav-group { display: none; }
  .logo { justify-self: start; }
  .burger { display: flex; flex-direction: column; gap: 6px; justify-self: end; background: none; border: 0; cursor: pointer; padding: 8px; }
  .burger span { width: 26px; height: 2px; background: var(--cream); transition: 0.3s; }
  .burger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .burger.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .drawer { display: flex; flex-direction: column; gap: 0.3rem; position: fixed; top: 0; right: 0; z-index: 80; height: 100vh; width: min(76%, 300px); background: var(--bg-2); padding: 90px 30px; transform: translateX(100%); transition: transform 0.35s ease; box-shadow: -20px 0 60px rgba(0,0,0,0.4); }
  .drawer.open { transform: translateX(0); }
  .drawer a { text-decoration: none; font-size: 1.1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
  .drawer .nav-book { border: 1px solid var(--line); text-align: center; margin-top: 1rem; }
  .about { grid-template-columns: 1fr; }
  .about-img { order: -1; }
  .about-img img { height: 360px; }
  .reserve-inner { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .amen-grid { grid-template-columns: 1fr 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .rcard { flex-basis: 78vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .reveal { transition: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
