/* ==========================================================
   TRIPMOROCOO — luxury hotel template · style.css
   Rebrand in seconds: edit the variables below.
   ========================================================== */

:root {
  --ivory:  #f7f3ec;
  --paper:  #fffdf9;
  --ink:    #16120d;
  --ink-2:  #1f1a13;
  --muted:  #7c7264;
  --line:   rgba(22, 18, 13, .14);
  --gold:   #9c7a45;
  --gold-l: #c9a45c;
  --light:  #f2ece1;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Jost", -apple-system, "Segoe UI", Arial, sans-serif;

  --container: 1240px;
  --narrow: 860px;
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-l); color: var(--ink); }

.container { width: min(var(--container), 92%); margin-inline: auto; }
.narrow { max-width: var(--narrow); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.12; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); letter-spacing: .01em; }
h2 em, h1 em { font-style: italic; color: var(--gold); }
h3 { font-size: 1.55rem; }

.kicker {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: .72rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.kicker.light { color: var(--gold-l); }
.kicker::before {
  content: "";
  display: inline-block;
  width: 34px; height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: .8rem;
}

p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .95rem 2.2rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--gold-l); color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-dark { background: var(--ink); color: var(--light); }
.btn-dark:hover { background: var(--gold); color: var(--ink); }
.btn-line {
  padding: .55rem 1.5rem;
  border-color: currentColor;
  color: inherit;
  font-size: .72rem;
}
.btn-line:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.site-header:not(.scrolled) .btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-block { width: 100%; }

.txt-link {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.txt-link:hover { border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  color: #fff;
  transition: background .4s, color .4s, box-shadow .4s;
}
.site-header.scrolled {
  background: rgba(247, 243, 236, .92);
  backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.15rem 0;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  letter-spacing: .04em;
  margin-right: auto;
  white-space: nowrap;
}
.brand em { font-style: italic; color: var(--gold-l); transition: color .4s; }
.site-header.scrolled .brand em { color: var(--gold); }

.menu { display: flex; gap: 2.1rem; list-style: none; }
.menu a {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  opacity: .9;
  position: relative;
  padding-bottom: 3px;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-l);
  transition: width .35s var(--ease);
}
.menu a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 26px; height: 1.5px;
  background: currentColor;
  transition: transform .35s, opacity .35s;
}
.burger.open span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.burger.open span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: -2%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.6s ease;
}
.hero-slide.active {
  opacity: 1;
  animation: kenburns 8s linear forwards;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.11); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,9,6,.55) 0%, rgba(12,9,6,.18) 40%, rgba(12,9,6,.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 70px;
  color: #fff;
}
.hero-content h1 {
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 300;
  color: #fff;
  letter-spacing: .01em;
}
.hero-content h1 em { color: var(--gold-l); }
.hero-sub {
  color: rgba(255,255,255,.85);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 590px;
  margin: 1.6rem auto 2.4rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  z-index: 3;
}
.scroll-cue span {
  position: absolute;
  left: 50%; top: 9px;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: #fff;
  animation: cue 1.8s infinite;
}
@keyframes cue {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Statement ---------- */
.statement { padding: 8.5rem 0 7rem; text-align: center; }
.statement h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 1.8rem; }
.lede { font-size: 1.06rem; max-width: 720px; margin: 0 auto; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  padding-top: 2.6rem;
}
.stat .num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--ink);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat .lbl {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--muted);
}

/* ---------- Split (about) ---------- */
.split { padding: 2rem 0 7rem; }
.split-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 5rem;
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.split-media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.split-media figcaption {
  position: absolute;
  left: 0; bottom: 0;
  background: rgba(22,18,13,.78);
  color: var(--light);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .55rem 1rem;
}
.split-text h2 { margin-bottom: 1.4rem; }
.split-text p { margin-bottom: 1rem; }

.features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem 1.6rem;
  margin: 1.8rem 0 2rem;
  font-size: .92rem;
  color: var(--ink);
}
.features li::before { content: "✦ "; color: var(--gold); }
.split-text blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding-left: 1.2rem;
}

/* ---------- Section heads ---------- */
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 3.6rem; }
.sec-head p { margin-top: .6rem; }
.sec-head.on-dark h2 { color: var(--light); }
.sec-head.on-dark p { color: rgba(242,236,225,.65); }

/* ---------- Rooms ---------- */
.rooms { background: var(--paper); padding: 7.5rem 0; border-block: 1px solid var(--line); }
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.room-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.room-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(22,18,13,.12); }
.room-card figure { overflow: hidden; aspect-ratio: 4/3; }
.room-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.room-card:hover img { transform: scale(1.07); }
.room-body { padding: 1.6rem 1.7rem 1.8rem; }
.room-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .55rem;
}
.price {
  font-family: var(--font-sans);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: .22rem .75rem;
  white-space: nowrap;
}
.room-body > p { font-size: .93rem; margin-bottom: 1.1rem; min-height: 3.2em; }
.room-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--muted);
}

/* ---------- Film / video ---------- */
.film { padding: 7.5rem 0; }
.film-frame {
  position: relative;
  max-width: 1080px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(22,18,13,.35);
}
.film-frame video {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.film-hint {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, #1c1710 0 24px, #221c14 24px 48px);
  color: #cdbb9c;
  font-size: .82rem;
  letter-spacing: .08em;
}
.film-frame.missing .film-hint { display: flex; }
.film-hint strong { color: var(--gold-l); letter-spacing: .28em; font-size: .7rem; }
.film-hint small { opacity: .65; }
.play-circle {
  width: 78px; height: 78px;
  display: grid; place-items: center;
  border: 1px solid var(--gold-l);
  border-radius: 50%;
  color: var(--gold-l);
  font-size: 1.3rem;
  margin-bottom: .5rem;
}

/* ---------- Experiences ---------- */
.experiences {
  background: var(--ink);
  padding: 7.5rem 0;
  color: var(--light);
}
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.exp-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
}
.exp-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s;
  filter: brightness(.85);
}
.exp-card:hover img { transform: scale(1.08); filter: brightness(.7); }
.exp-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 4.5rem 1.6rem 1.6rem;
  background: linear-gradient(180deg, transparent, rgba(10,8,5,.88));
}
.exp-num {
  font-size: .7rem;
  letter-spacing: .3em;
  color: var(--gold-l);
}
.exp-cap h3 { color: #fff; margin: .3rem 0 .2rem; }
.exp-cap p { color: rgba(255,255,255,.7); font-size: .85rem; }

/* ---------- Gallery ---------- */
.gallery { padding: 7.5rem 0; }
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 1.1rem;
}
.gal-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  position: relative;
}
.gal-item.tall { grid-row: span 2; }
.gal-item.wide { grid-column: span 2; }
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.gal-item:hover img { transform: scale(1.06); }
.gal-item::after {
  content: "+";
  position: absolute;
  right: 12px; top: 8px;
  color: #fff;
  font-size: 1.4rem;
  opacity: 0;
  transition: opacity .35s;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.gal-item:hover::after { opacity: 1; }

/* ==========================================================
   BOOKING STYLES — delete this block to fully remove booking
   ========================================================== */
.booking {
  background:
    linear-gradient(160deg, rgba(22,18,13,.94), rgba(38,30,20,.94)),
    repeating-linear-gradient(45deg, #1a1510 0 30px, #1e1812 30px 60px);
  color: var(--light);
  padding: 7.5rem 0;
}
.booking-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}
.booking-info h2 { color: var(--light); margin-bottom: 1.2rem; }
.booking-info p { color: rgba(242,236,225,.72); }
.booking-points { list-style: none; margin-top: 2rem; display: grid; gap: .8rem; font-size: .95rem; }

.booking-form {
  background: var(--paper);
  color: var(--ink);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.4rem;
  display: grid;
  gap: 1.1rem;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.booking-form label {
  display: grid;
  gap: .4rem;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
}
.opt { text-transform: none; letter-spacing: 0; }
.booking-form input,
.booking-form select,
.booking-form textarea {
  font: inherit;
  font-size: .95rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  transition: border-color .3s, background .3s;
  width: 100%;
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.booking-form .invalid { border-color: #c0392b; background: #fdf3f2; }
.form-note { font-size: .78rem; text-align: center; letter-spacing: .04em; }
/* ==========================================================
   /BOOKING STYLES
   ========================================================== */

/* ---------- Footer ---------- */
.footer { background: var(--ink-2); color: var(--light); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 2.5rem;
  padding: 4.5rem 0 3rem;
}
.brand.light em { color: var(--gold-l); }
.foot-brand p { margin-top: 1rem; color: rgba(242,236,225,.55); font-size: .95rem; }
.footer h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--gold-l);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; display: grid; gap: .55rem; font-size: .92rem; }
.footer li { color: rgba(242,236,225,.78); }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--gold-l); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.foot-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.3rem 0;
  font-size: .78rem;
  letter-spacing: .06em;
  color: rgba(242,236,225,.5);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 160%);
  background: var(--ink);
  color: var(--light);
  border: 1px solid var(--gold);
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-size: .9rem;
  z-index: 120;
  transition: transform .5s cubic-bezier(.2, .9, .3, 1.2);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(10, 8, 5, .93);
  display: grid;
  place-items: center;
  padding: 4vh 4vw;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  animation: pop .35s var(--ease);
}
@keyframes pop { from { transform: scale(.94); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.room-card.reveal:nth-child(2), .exp-card.reveal:nth-child(2) { transition-delay: .12s; }
.room-card.reveal:nth-child(3), .exp-card.reveal:nth-child(3) { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .split-grid { gap: 3rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .burger { display: flex; }
  .menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 340px);
    height: 100dvh;
    flex-direction: column;
    gap: 1.6rem;
    background: var(--ink);
    color: var(--light);
    padding: 6rem 2.4rem 2rem;
    transform: translateX(105%);
    transition: transform .45s var(--ease);
    box-shadow: -30px 0 60px rgba(0,0,0,.35);
    z-index: 70;
  }
  .menu.open { transform: none; }
  .menu a { font-size: .95rem; color: var(--light); }

  .split-grid, .booking-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .room-grid, .exp-grid { grid-template-columns: 1fr; }
  .room-body > p { min-height: 0; }
  .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .gal-item.wide { grid-column: span 2; }
  .stats { grid-template-columns: 1fr; gap: 1.8rem; text-align: center; }
  .features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .statement { padding: 6rem 0 5rem; }
  .rooms, .film, .experiences, .gallery, .booking { padding: 5.5rem 0; }
  .split-media::after { inset: 12px -12px -12px 12px; }
}
