:root {
  --bg: #0b1220;
  --bg-alt: #0f1a2e;
  --surface: #142338;
  --ink: #f2ecdf;
  --ink-soft: #b5bccc;
  --navy: #060f24;
  --navy-deep: #030814;
  --accent: #c81e3a;
  --accent-dark: #9c1128;
  --gold: #c9a24a;
  --line: rgba(255,255,255,.10);
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  --max: 1200px;
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; margin: 0 0 .5rem; color: var(--ink); }
h1 { font-size: clamp(2.75rem, 6vw, 5.25rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.15; }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1rem; color: var(--ink-soft); }

.eyebrow {
  font-size: .72rem; letter-spacing: .38em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin: 0 0 .75rem;
}
.eyebrow--light { color: var(--gold); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  background: var(--navy);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.is-scrolled { box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 8px 20px rgba(0,0,0,.25); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.nav__logo { width: 44px; height: 44px; object-fit: contain; }
.nav__title { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .28em; text-transform: uppercase; color: #fff; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { color: rgba(255,255,255,.85); font-size: .82rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; transition: color .2s; }
.nav__links a:hover { color: var(--gold); }
.nav__toggle { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; transition: .3s; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: var(--radius);
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent; transition: all .25s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(200,30,58,.32); }
.btn--outline { border-color: rgba(255,255,255,.85); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--navy); }
.btn--ghost { padding: 12px 22px; border: 1px solid currentColor; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.hero__bg {
  position: absolute; inset: 0;
  background: url('https://hercules-cdn.com/file_ZGz67HF5LZqDFFmRWpA7Wr3n') center/cover no-repeat;
  transform: scale(1.05);
}
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,15,36,.72), rgba(6,15,36,.55) 50%, rgba(6,15,36,.85)); }
.hero__content { position: relative; z-index: 2; max-width: 820px; padding: 140px 24px 80px; }
.hero__logo { width: 110px; height: 110px; margin: 0 auto 18px; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(0,0,0,.4)); }
.hero__title { color: #fff; margin-bottom: 1rem; font-weight: 500; }
.hero__sub { color: rgba(255,255,255,.9); font-size: 1.05rem; letter-spacing: .08em; margin: 0 auto 2rem; font-family: var(--serif); font-style: italic; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 2rem; opacity: .8; animation: bounce 2s infinite; z-index: 2; }
@keyframes bounce { 0%,100% { transform: translate(-50%, 0);} 50% { transform: translate(-50%, 8px);} }

/* Sections */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section__lead { font-size: 1.05rem; }

/* Grids */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Room card */
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column; cursor: pointer;
  border-top: 3px solid var(--accent);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(11,24,54,.18); }
.card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__img img { transform: scale(1.06); }
.card__tag { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; padding: 6px 14px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; border-radius: 2px; font-weight: 600; }
.card__body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .5rem; }
.card__body p { flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.card__price { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); font-weight: 600; }
.card__price small { font-family: var(--sans); font-size: .72rem; color: var(--ink-soft); font-weight: 400; letter-spacing: 0; }
.card__link { color: var(--accent); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }

/* Banner strip */
.banner { position: relative; padding: 70px 0; overflow: hidden; color: #fff; }
.banner::before { content: ""; position: absolute; inset: 0; background: url('https://hercules-cdn.com/file_vIGqsbcHZXCPgvduw1605TAb') center/cover no-repeat; }
.banner__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,24,54,.88), rgba(11,24,54,.75)); }
.banner__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.banner__inner p { color: #fff; font-family: var(--serif); font-size: 1.6rem; margin: 0; line-height: 1.4; max-width: 780px; }
.banner__inner strong { color: var(--gold); font-weight: 600; }

/* Amenities */
.amenity { background: var(--surface); padding: 36px 24px; border-radius: var(--radius); text-align: center; border: 1px solid var(--line); transition: all .3s; }
.amenity:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11,24,54,.10); }
.amenity__icon { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; font-size: 1.6rem; color: var(--gold); }
.amenity h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.amenity p { font-size: .9rem; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }

/* Booking form */
.book { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.book__form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: var(--surface); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--accent); }
.book__form .btn { grid-column: 1 / -1; justify-self: start; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,30,58,.12);
}
.form__status { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: var(--accent-dark); min-height: 1.2em; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.contact__list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact__list li { display: flex; flex-direction: column; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__list strong { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.contact__list a:hover { color: var(--accent); }
.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact__map iframe { width: 100%; height: 400px; border: 0; display: block; }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 44px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: .85rem; }
.footer__brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--serif); font-size: 1.15rem; letter-spacing: .18em; text-transform: uppercase; }
.footer__brand img { width: 38px; height: 38px; object-fit: contain; }
.footer__meta { font-family: var(--serif); font-style: italic; color: var(--gold); margin: 0; }
.footer__developer { width: 100%; text-align: center; margin: .35rem 0 0; font-size: .8rem; color: var(--ink-soft); }
.footer__developer strong { color: var(--gold); font-weight: 600; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .book, .contact, .about { grid-template-columns: 1fr; gap: 40px; }
  .banner__inner p { font-size: 1.3rem; }
}
@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .nav__toggle { display: block; }
  .nav__title { font-size: 1.2rem; letter-spacing: .2em; }
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--navy); flex-direction: column; gap: 0;
    padding: 12px 0; box-shadow: 0 12px 30px rgba(0,0,0,.35);
    transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 14px 24px; width: 100%; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .book__form { grid-template-columns: 1fr; padding: 24px; }
  .banner__inner { text-align: center; justify-content: center; }
}

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6,15,36,.7); backdrop-filter: blur(4px); animation: fadeIn .25s ease; }
.modal__panel {
  position: relative; margin: 40px auto; max-width: 900px; width: calc(100% - 32px);
  background: var(--surface); border-radius: 6px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  max-height: calc(100vh - 80px); overflow-y: auto;
  animation: slideUp .35s cubic-bezier(.22,.9,.35,1);
  border-top: 3px solid var(--accent);
}
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: #ffffff; color: #0b1220;
  font: 700 26px/1 "Arial", system-ui, sans-serif;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0; text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
  transition: background .2s, transform .2s, color .2s;
}
.modal__close:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }

/* Gallery */
.gallery__stage { position: relative; height: 380px; background: #000; overflow: hidden; }
.gallery__stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.55); color: #fff; font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.gallery__nav:hover { background: var(--accent); }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery__count {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.6); color: #fff; padding: 4px 12px;
  border-radius: 999px; font-size: .78rem; letter-spacing: .1em;
}
.gallery__thumbs {
  display: flex; gap: 8px; padding: 10px; background: var(--bg-alt);
  overflow-x: auto;
}
.gallery__thumbs button {
  flex: 0 0 84px; height: 60px; padding: 0; border: 2px solid transparent;
  border-radius: 4px; overflow: hidden; cursor: pointer; background: #000;
}
.gallery__thumbs button.is-active { border-color: var(--accent); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .gallery__stage { height: 240px; }
}
.modal__hero { position: relative; height: 320px; overflow: hidden; }
.modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.modal__hero .card__tag { top: 20px; left: 20px; }
.modal__body { padding: 36px; }
.modal__body h3 { font-size: 2rem; margin-bottom: .5rem; }
.modal__body h4 { font-family: var(--serif); font-size: 1.25rem; margin: 24px 0 12px; color: var(--ink); }
.modal__meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 20px 0 8px; padding: 20px; background: var(--bg-alt); border-radius: var(--radius);
}
.modal__meta > div { display: flex; flex-direction: column; }
.modal__meta strong { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.modal__meta span { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.modal__meta small { display: block; font-family: var(--sans); font-size: .75rem; color: var(--ink-soft); font-weight: 400; margin-top: 2px; }
.modal__features {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px;
}
.modal__features li { position: relative; padding-left: 22px; font-size: .95rem; color: var(--ink); }
.modal__features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.modal__actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.modal__actions .btn--ghost {
  appearance: none;
  background: #ffffff;
  color: var(--navy);
  border-color: #ffffff;
}
.modal__actions .btn--ghost:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .modal__hero { height: 220px; }
  .modal__body { padding: 24px; }
  .modal__meta { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .modal__features { grid-template-columns: 1fr; }
}
