/* Sea Nest Suites — editorial coastal (inspired by premium single-page stays, own identity) */
:root {
  --navy: #1a3a5c;
  --navy-deep: #0c2238;
  --navy-mid: #243d5c;
  --gold: #c9a87c;
  --gold-soft: #e8d5bc;
  --gold-deep: #9a7b55;
  --sea: #3d7a9e;
  --sea-light: #a8d4e8;
  --sand: #f9f6f1;
  --sand-dark: #ebe4d9;
  --white: #fff;
  --text: #1a3a5c;
  --text-soft: #5c6d7e;
  --border: rgba(26, 58, 92, 0.1);
  --shadow: 0 20px 50px rgba(12, 34, 56, 0.1);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 76px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease), opacity 0.25s; }

.wrap { width: min(1180px, 90vw); margin: 0 auto; }
.wrap--narrow { width: min(720px, 90vw); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--header-h);
  transition: background 0.4s var(--ease), border-color 0.4s;
}
.site-header.is-solid {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header:not(.is-solid) .brand,
.site-header:not(.is-solid) .nav a:not(.nav-book) { color: rgba(255,255,255,0.92); }
.site-header:not(.is-solid) .nav a:hover { color: var(--gold-soft); }
.site-header:not(.is-solid) .menu-btn span { background: var(--white); }
.site-header:not(.is-solid) .lang-switcher select {
  background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.25);
}

.header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--gold); object-fit: cover; background: var(--white);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600; letter-spacing: 0.06em;
  line-height: 1.1;
}
.brand-sub { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.75; }

.nav { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.nav a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav-book {
  padding: 0.6rem 1.25rem; background: var(--gold); color: var(--navy-deep) !important;
  border-radius: 999px; font-weight: 600;
}
.nav-book:hover { background: var(--white); color: var(--navy) !important; }
.site-header.is-solid .nav-book { background: var(--navy); color: var(--white) !important; }
.site-header.is-solid .nav-book:hover { background: var(--gold); color: var(--navy-deep) !important; }

.lang-switcher select {
  font-family: var(--font-body); font-size: 0.75rem;
  padding: 0.35rem 0.5rem; border-radius: 6px; border: 1px solid var(--border);
  cursor: pointer;
}
.menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px;
}
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); transition: 0.25s; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.95rem 1.75rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all 0.3s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn--gold:hover { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

/* ── Section typography ── */
.section-label {
  font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 0.85rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500; line-height: 1.15; margin-bottom: 1.25rem;
  color: var(--navy);
}
.section-lead { font-size: 1.08rem; color: var(--text-soft); max-width: 36rem; line-height: 1.75; }
.section { padding: var(--section-pad) 0; }
.section--dark { background: var(--navy-deep); color: var(--white); }
.section--dark .section-title { color: var(--white); }
.section--dark .section-lead { color: rgba(255,255,255,0.72); }
.section--dark .section-label { color: var(--gold); }

/* ── Cinematic hero ── */
.cine-hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white); overflow: hidden;
}
.cine-hero__carousel {
  position: absolute; inset: 0; z-index: 0;
}
.cine-hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  will-change: opacity;
}
.cine-hero__slide.is-active { opacity: 1; }
.cine-hero__slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.cine-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(12, 34, 56, 0.42) 0%,
    rgba(12, 34, 56, 0.52) 45%,
    rgba(12, 34, 56, 0.84) 100%
  );
  pointer-events: none;
}
.cine-hero__waves {
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23f9f6f1' d='M0,64 C240,120 480,0 720,48 C960,96 1200,24 1440,64 L1440,120 L0,120 Z'/%3E%3C/svg%3E") bottom center / cover no-repeat;
  pointer-events: none;
  z-index: 1;
}
.cine-hero__content {
  position: relative; z-index: 2;
  padding: calc(var(--header-h) + 2rem) 1.5rem 6rem;
  max-width: 820px;
}
.location-pill {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; padding: 0.45rem 1rem;
  border: 1px solid rgba(255,255,255,0.35); border-radius: 999px;
  margin-bottom: 1.5rem; backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.08);
}
.cine-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.75rem);
  font-weight: 400; line-height: 1.08; margin-bottom: 1.25rem;
  text-shadow: 0 4px 40px rgba(0,0,0,0.2);
}
.cine-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 300;
  color: rgba(255,255,255,0.88); max-width: 32rem; margin: 0 auto 2rem;
  line-height: 1.7;
}
.cine-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); animation: float 2.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Story (asymmetric) ── */
.story-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.story-quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.35; color: var(--navy); font-weight: 500;
  border-left: 3px solid var(--gold); padding-left: 1.5rem;
}
.story-body p { margin-bottom: 1.15rem; color: var(--text-soft); font-size: 1.05rem; }
.story-highlights {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem;
}
.story-pill {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.55rem 1rem; background: var(--white);
  border: 1px solid var(--border); border-radius: 999px; color: var(--navy);
}

/* ── Photo filmstrip (Domini has grid — we use horizontal reel) ── */
.film-section { padding-bottom: var(--section-pad); }
.film-head { margin-bottom: 1.75rem; }
.film-track-wrap { position: relative; }
.film-track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem; scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--sand-dark);
}
.film-track::-webkit-scrollbar { height: 6px; }
.film-track::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
.film-slide {
  flex: 0 0 min(72vw, 420px); scroll-snap-align: start;
  border-radius: 12px; overflow: hidden; aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--sand-dark), var(--sea-light));
  border: 1px solid var(--border);
}
.film-slide img { width: 100%; height: 100%; object-fit: cover; }
.film-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
}

/* Suite cards row */
.suite-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  margin-top: 2.5rem;
}
.suite-card {
  background: var(--white); border-radius: 16px; padding: 2rem;
  border: 1px solid var(--border); transition: box-shadow 0.3s, transform 0.3s;
}
.suite-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.suite-card h3 {
  font-family: var(--font-display); font-size: 1.65rem; margin-bottom: 0.35rem;
}
.suite-card .meta { font-size: 0.8rem; color: var(--gold-deep); font-weight: 600; margin-bottom: 0.75rem; }
.suite-card p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 1.25rem; }
.suite-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.suite-tag {
  font-size: 0.72rem; padding: 0.3rem 0.65rem; background: var(--sand);
  border-radius: 999px; color: var(--text-soft);
}

/* ── Included grid ── */
.included-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.included-card {
  padding: 1.75rem 1.25rem; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  transition: background 0.3s;
}
.included-card:hover { background: rgba(255,255,255,0.1); }
.included-card span { font-size: 1.5rem; display: block; margin-bottom: 0.75rem; }
.included-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.4rem; }
.included-card p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.55; }

/* ── Location ── */
.location-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: stretch;
}
.map-frame {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  min-height: 360px; background: var(--sand-dark);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }
.location-text { padding: 1rem 0; }
.location-address {
  font-family: var(--font-display); font-size: 1.35rem;
  margin: 1.5rem 0; color: var(--navy); line-height: 1.4;
}
.location-note { font-size: 0.95rem; color: var(--text-soft); margin-bottom: 1.5rem; }

/* ── Connect band ── */
.connect-band {
  text-align: center; padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--sand) 0%, var(--sand-dark) 100%);
}
.connect-band h2 {
  font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.connect-band p { color: var(--text-soft); max-width: 28rem; margin: 0 auto 1.75rem; }
.connect-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.social-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid var(--border); background: var(--white); color: var(--navy);
  transition: all 0.25s;
}
.social-btn:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.social-btn--fb:hover { border-color: #1877f2; background: #1877f2; color: var(--white); }

/* ── Subpages (book / photos) ── */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
  background: var(--white); border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem);
}

/* Book layout (keep from before) */
.book-layout {
  display: grid; grid-template-columns: 320px 1fr; gap: 2.5rem;
  padding: 3rem 0 4rem; align-items: start;
}
.info-card {
  background: var(--white); border-radius: 16px; border: 1px solid var(--border);
  padding: 1.75rem; position: sticky; top: calc(var(--header-h) + 1rem);
}
.info-card h2 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 1rem; }
.info-list { list-style: none; margin-bottom: 1.5rem; }
.info-list li {
  padding: 0.65rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text-soft);
}
.info-list li:last-child { border-bottom: none; }
.notice {
  background: var(--sand); border-radius: 10px; padding: 1rem;
  font-size: 0.85rem; color: var(--text-soft); border-left: 3px solid var(--gold);
}
.notice strong { display: block; color: var(--navy); margin-bottom: 0.35rem; }
.lang-banner {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 1rem 1.25rem; margin-bottom: 2rem; font-size: 0.88rem; color: var(--text-soft);
}
.form-panel {
  background: var(--white); border-radius: 16px; border: 1px solid var(--border);
  padding: 2rem; margin-bottom: 1.5rem;
}
.form-panel h2 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.35rem; }
.form-panel .sub { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-soft); margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--border);
  border-radius: 10px; font-family: var(--font-body); font-size: 0.95rem;
  background: var(--sand); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check-row {
  display: flex; gap: 0.65rem; align-items: flex-start; margin-bottom: 0.85rem;
  font-size: 0.88rem; color: var(--text-soft);
}
.check-row input { width: 18px; margin-top: 3px; accent-color: var(--navy); }
.form-msg { display: none; padding: 0.9rem; border-radius: 10px; font-size: 0.88rem; margin-top: 1rem; }
.form-msg--ok { display: block; background: #e8f5e9; color: #2e6b3e; }
.form-msg--err { display: block; background: #fdecea; color: #8b2e2e; }

/* Masonry photos */
.masonry { columns: 3; column-gap: 1rem; padding-bottom: 3rem; }
.masonry-item {
  break-inside: avoid; margin-bottom: 1rem; border-radius: 12px;
  overflow: hidden; cursor: pointer; border: 1px solid var(--border);
}
.masonry-item img { width: 100%; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(12,34,56,0.94);
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 85vh; max-width: 92vw; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: var(--white); border: none; width: 44px; height: 44px;
  border-radius: 50%; font-size: 1.5rem; cursor: pointer;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.5rem; cursor: pointer;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* Footer */
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem;
}
.footer-grid h3 {
  font-family: var(--font-display); color: var(--gold-soft);
  font-size: 1rem; margin-bottom: 0.75rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
  text-align: center; font-size: 0.8rem;
}

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

body.rtl .story-grid, body.rtl .location-grid, body.rtl .book-layout { direction: rtl; }

@media (max-width: 960px) {
  .story-grid, .location-grid, .suite-cards, .included-grid, .book-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .film-slide { flex-basis: 85vw; }
}

@media (max-width: 640px) {
  .menu-btn { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; background: var(--white);
    padding: 1.5rem; gap: 1rem; border-bottom: 1px solid var(--border);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: all 0.3s var(--ease);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .site-header:not(.is-solid) .nav a { color: var(--navy); }
  .included-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .field-row { grid-template-columns: 1fr; }
}
