/* =========================================================
   Don & Maria Suites — Design 3: "Atelier" (elegant, logo-forward)
   Split hero · sage marquee · sticky about · menu-style rooms
   ========================================================= */

:root {
  --bg:       #fcfaf3;   /* warm white */
  --panel:    #e7eee6;   /* sage-tinted panel */
  --panel-2:  #f2eee4;   /* warm panel */
  --cream:    #ffffff;
  --ink:      #262420;
  --ink-soft: #6f6a5e;
  --sage:     #768e7e;   /* logo sage */
  --sage-deep:#4f6357;
  --coral:    #e88153;   /* logo coral */
  --coral-deep:#cf6a3c;
  --line:     #ddd8ca;
  --display:  'Marcellus', Georgia, serif;
  --body:     'Manrope', system-ui, sans-serif;
}

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

.eyebrow { text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.7rem; font-weight: 600; color: var(--coral); margin-bottom: 1.1rem; }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-block; background: var(--coral); color: #fff; font-family: var(--body); 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; }
.btn:hover { background: var(--coral-deep); transform: translateY(-2px); }
.btn-block { width: 100%; text-align: center; }
.btn-text { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; font-weight: 600; text-decoration: none; color: var(--sage-deep); border-bottom: 1.5px solid var(--sage); padding-bottom: 4px; transition: color 0.2s, border-color 0.2s; }
.btn-text:hover { color: var(--coral); border-color: var(--coral); }

/* ---------- Top bar ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 80; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 16px clamp(20px, 5vw, 60px); transition: background 0.3s, box-shadow 0.3s, padding 0.3s; }
.topbar.scrolled { background: rgba(252,250,243,0.92); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); padding-top: 12px; padding-bottom: 12px; }
.word { grid-column: 2; justify-self: center; text-decoration: none; font-family: var(--display); font-size: 1.4rem; letter-spacing: 0.02em; color: var(--ink); }
.word em { font-style: normal; color: var(--sage-deep); }
.reserve-btn { grid-column: 3; justify-self: end; text-decoration: none; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--ink); border: 1px solid var(--ink); padding: 0.6rem 1.3rem; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.reserve-btn:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
.burger { grid-column: 1; justify-self: start; display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { display: none; }
.scrim { display: none; }

/* ---------- Hero (split) ---------- */
.hero { display: grid; grid-template-columns: 0.92fr 1.08fr; min-height: 100vh; min-height: 100svh; }
.hero-copy { background: var(--panel); display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vw, 110px) clamp(28px, 5vw, 80px); }
.hero-copy h1 { font-size: clamp(2.6rem, 5.2vw, 4.8rem); letter-spacing: -0.01em; }
.hero-sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 42ch; margin: 1.6rem 0 2.2rem; }
.hero-cta { display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 2.4rem; margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.hero-meta span { font-size: 0.84rem; color: var(--ink-soft); }
.hero-meta strong { display: block; font-family: var(--display); font-size: 1.8rem; color: var(--sage-deep); font-weight: 400; }
.hero-photo { position: relative; overflow: hidden; background: var(--sage-deep); }
.hero-photo img { position: absolute; top: -8%; left: 0; right: 0; height: 116%; width: 100%; object-fit: cover; will-change: transform; }
.hero-tag { position: absolute; left: -1px; bottom: 48px; background: var(--bg); padding: 18px 26px; box-shadow: 0 20px 50px rgba(0,0,0,0.14); }
.hero-tag span { display: block; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.62rem; color: var(--sage-deep); }
.hero-tag strong { font-family: var(--display); font-size: 1.7rem; font-weight: 400; color: var(--ink); }
.hero-tag small { font-family: var(--body); font-size: 0.74rem; font-weight: 300; color: var(--ink-soft); }

/* ---------- Marquee ---------- */
.marquee { background: var(--sage); color: var(--bg); overflow: hidden; padding: 16px 0; }
.marquee-track { display: inline-flex; align-items: center; gap: 2.4rem; white-space: nowrap; animation: scroll 26s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 1.3rem; letter-spacing: 0.04em; }
.marquee-track i { color: var(--coral); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */
.sec-head { margin-bottom: 3.4rem; }
.sec-head.center { text-align: center; }
.sec-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.sec-note { color: var(--ink-soft); margin-top: 0.7rem; }
.sec-note em { color: var(--sage-deep); }

/* ---------- About (sticky) ---------- */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 7vw, 110px); padding: clamp(80px, 11vw, 150px) clamp(28px, 5vw, 80px); }
.about-aside { position: sticky; top: 110px; align-self: start; }
.about-aside h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.about-body .lead { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.4; color: var(--ink); margin-bottom: 1.6rem; }
.about-body p { color: var(--ink-soft); }
.figures { list-style: none; display: flex; gap: 2.6rem; flex-wrap: wrap; margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.figures strong { display: block; font-family: var(--display); font-size: 2.4rem; font-weight: 400; color: var(--coral); line-height: 1; }
.figures span { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- Rooms (menu + preview) ---------- */
.rooms { background: var(--panel-2); padding: clamp(80px, 11vw, 150px) clamp(28px, 5vw, 80px); }
.rooms-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.room-menu { display: flex; flex-direction: column; }
.room-item { display: flex; align-items: center; gap: 1.4rem; padding: 1.9rem 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding-left 0.3s ease; }
.room-item:last-child { border-bottom: 1px solid var(--line); }
.room-item:hover, .room-item.is-active { padding-left: 10px; }
.ri-no { font-family: var(--display); font-size: 0.9rem; color: var(--sage); min-width: 24px; }
.ri-thumb { display: none; width: 64px; height: 64px; object-fit: cover; }
.ri-main { display: flex; flex-direction: column; }
.ri-name { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); transition: color 0.25s; }
.room-item:hover .ri-name, .room-item.is-active .ri-name { color: var(--coral); }
.ri-meta { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.68rem; color: var(--sage-deep); margin-top: 0.3rem; }
.leader { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-3px); min-width: 24px; }
.ri-price { font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
.room-preview { position: sticky; top: 110px; height: 68vh; background: var(--line); overflow: hidden; }
.rp { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.7s ease, transform 0.9s ease; }
.rp.is-active { opacity: 1; transform: scale(1); }

/* ---------- Amenities ---------- */
.amenities { padding: clamp(80px, 11vw, 140px) clamp(28px, 5vw, 80px); }
.amen-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); max-width: 1000px; margin: 0 auto; }
.amen { background: var(--bg); padding: 32px 18px; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; text-align: center; transition: background 0.25s; }
.amen:hover { background: var(--panel); }
.amen svg { width: 26px; height: 26px; color: var(--sage); }
.amen span { font-size: 0.86rem; letter-spacing: 0.02em; }

/* ---------- Dining ---------- */
.dining { position: relative; display: flex; align-items: center; min-height: 80vh; padding: clamp(60px, 8vw, 110px) clamp(28px, 5vw, 80px); }
.dining-photo { position: absolute; inset: 0; z-index: 0; }
.dining-photo img { width: 100%; height: 100%; object-fit: cover; }
.dining-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38,36,32,0.55) 0%, rgba(38,36,32,0.1) 60%, transparent 100%); }
.dining-card { position: relative; z-index: 1; background: var(--bg); max-width: 460px; padding: clamp(34px, 4vw, 56px); box-shadow: 0 30px 70px rgba(0,0,0,0.22); }
.dining-card h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 0.8rem 0 1rem; }
.dining-card p { color: var(--ink-soft); }
.hours { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--sage-deep) !important; margin: 1.2rem 0 1.6rem; }

/* ---------- Gallery (framed) ---------- */
.gallery { background: var(--panel); padding: clamp(80px, 11vw, 140px) clamp(28px, 5vw, 80px); }
.frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); max-width: 1100px; margin: 0 auto; }
.frames figure { background: var(--bg); padding: 14px 14px 0; box-shadow: 0 14px 36px rgba(0,0,0,0.08); }
.frames img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.frames figcaption { font-family: var(--display); text-align: center; padding: 16px 0; font-size: 1rem; color: var(--sage-deep); }

/* ---------- Reserve ---------- */
.reserve { background: var(--sage); padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 60px); }
.reserve-card { max-width: 1040px; margin: 0 auto; background: var(--bg); display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(36px, 5vw, 70px); padding: clamp(34px, 5vw, 64px); box-shadow: 0 40px 90px rgba(0,0,0,0.25); }
.reserve-form h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 0.6rem 0; }
.muted { color: var(--ink-soft); }
.form { margin-top: 1.8rem; display: grid; gap: 1.4rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.f { display: flex; flex-direction: column; }
.f label { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.64rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.f input, .f select { font-family: var(--body); font-size: 0.98rem; font-weight: 300; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0; padding: 0.6rem 0; transition: border-color 0.25s; }
.f input::placeholder { color: #b7ac98; }
.f input:focus, .f select:focus { outline: none; border-bottom-color: var(--coral); }
.form-status { min-height: 1.2rem; font-size: 0.9rem; font-weight: 400; }
.form-status.ok { color: var(--sage-deep); }
.form-status.err { color: var(--coral-deep); }
.reserve-info { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.reserve-info h3 { font-size: 1.7rem; margin-bottom: 1rem; }
.addr { color: var(--ink-soft); margin-bottom: 1.4rem; }
.ilist { list-style: none; display: grid; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.3rem; }
.ilist li { display: flex; flex-direction: column; }
.ilist li span { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.62rem; color: var(--sage-deep); margin-bottom: 0.2rem; }
.ilist li a { text-decoration: none; }
.ilist li a:hover { color: var(--coral); }
.map { margin-top: 1.4rem; }
.map iframe { width: 100%; height: 200px; border: 0; display: block; }

/* ---------- Footer ---------- */
.foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 34px clamp(28px, 5vw, 80px); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.66rem; color: var(--ink-soft); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); 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: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: 56vh; order: -1; }
  .about { grid-template-columns: 1fr; }
  .about-aside { position: static; }
  .rooms-layout { grid-template-columns: 1fr; }
  .room-preview { display: none; }
  .ri-thumb { display: block; }
  .leader { display: none; }
  .amen-row { grid-template-columns: repeat(2, 1fr); }
  .frames { grid-template-columns: repeat(2, 1fr); }
  .reserve-card { grid-template-columns: 1fr; }
  .reserve-info { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.6rem; }
}
@media (max-width: 760px) {
  .burger { display: flex; }
  .reserve-btn { padding: 0.5rem 1rem; }
  .drawer { display: flex; flex-direction: column; gap: 0.2rem; position: fixed; top: 0; left: 0; z-index: 90; height: 100vh; width: min(78%, 300px); background: var(--bg); padding: 86px 28px; transform: translateX(-100%); transition: transform 0.35s ease; box-shadow: 20px 0 60px rgba(0,0,0,0.18); }
  .drawer.open { transform: translateX(0); }
  .drawer a { text-decoration: none; font-family: var(--display); font-size: 1.3rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
  .scrim.show { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(0,0,0,0.32); }
}
@media (max-width: 520px) {
  .f-row { grid-template-columns: 1fr; }
  .amen-row, .frames { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.6rem; }
}

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