/* ═══ Twin Blue Mills — shared styles ═══════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; color: #212121; background: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:root {
  --navy: #062a50;
  --navy-92: rgba(6, 42, 80, 0.92);
  --accent: #0970e9;
  --accent-soft: #6db8f0;
  --turquoise: #2ab5b0;
  --outremer: #1a4fa0;
  --rouge: #b5453a;
  --paper: #f8fafc;
  --mist: #f0f6ff;
}

/* ─── Navigation ────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; height: 76px;
  background: var(--navy-92); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; z-index: 1000;
}
.nav-logo {
  color: #fff; font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
}
.nav-logo span { color: var(--accent-soft); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.78); font-size: 0.76rem; font-weight: 400;
  letter-spacing: 0.13em; text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.current { color: #fff; }
.nav-links a.current { border-bottom: 1px solid var(--accent-soft); padding-bottom: 3px; }

.lang-switcher { display: flex; gap: 3px; align-items: center; }
.lang-btn {
  background: none; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.6);
  font-family: 'Jost', sans-serif; font-size: 0.65rem; letter-spacing: 0.06em;
  padding: 3px 7px; border-radius: 2px; cursor: pointer; transition: all 0.2s;
}
a.lang-btn { display: inline-block; text-decoration: none; line-height: normal; }
.lang-btn:hover { border-color: rgba(255,255,255,0.75); color: #fff; }
.lang-btn.active { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.85); color: #fff; }

/* Burger (mobile) */
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: 0.25s; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }
.hero.short { height: 62vh; min-height: 420px; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,42,80,0.45) 0%, rgba(6,42,80,0.16) 50%, rgba(6,42,80,0.60) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
}
.hero-eyebrow {
  color: rgba(255,255,255,0.92); font-size: 0.72rem; letter-spacing: 0.35em;
  text-transform: uppercase; margin-bottom: 18px;
}
.hero-title {
  color: #fff; font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 400;
  letter-spacing: 0.1em; line-height: 1.05; margin-bottom: 22px; text-transform: uppercase;
}
.hero-subtitle {
  color: rgba(255,255,255,0.88); font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 300; font-style: italic;
  max-width: 620px; margin-bottom: 44px; line-height: 1.65; letter-spacing: 0.02em;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; border: 1px solid rgba(255,255,255,0.7); color: #fff;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 15px 36px; border-radius: 1px; transition: background 0.25s, border-color 0.25s;
}
.hero-cta:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.hero-cta svg { width: 16px; height: 16px; opacity: 0.85; }

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: bounce 2s infinite;
}
.scroll-indicator::after { content: ''; display: block; width: 1px; height: 36px; background: rgba(255,255,255,0.4); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── Sections ─────────────────────────────────────────────── */
.section { padding: 88px 40px; }
.section.mist { background: var(--mist); }
.section.paper { background: var(--paper); }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-inner.narrow { max-width: 780px; }
.section-tag {
  color: var(--accent); font-size: 0.68rem; letter-spacing: 0.32em;
  text-transform: uppercase; margin-bottom: 14px;
}
.section h2 {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 400; color: var(--navy); margin-bottom: 20px; letter-spacing: 0.02em;
}
.section h3 {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 500; color: var(--navy); margin: 34px 0 12px; letter-spacing: 0.02em;
}
.section p.lead {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: #43566c; font-size: 1.18rem; font-weight: 300; line-height: 1.8; margin-bottom: 26px;
}
.section p, .section li {
  color: #4a4a4a; font-size: 0.95rem; font-weight: 300; line-height: 1.85; margin-bottom: 16px;
}
.section ul { padding-left: 20px; margin-bottom: 16px; }
.section li { margin-bottom: 6px; }
.centered { text-align: center; }
.centered p { max-width: 640px; margin-left: auto; margin-right: auto; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--accent); color: var(--accent);
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 1px; transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ─── Cards (teasers) ──────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.card { background: #fff; border: 1px solid #e8ecf0; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.25s, transform 0.25s; }
.card:hover { box-shadow: 0 14px 40px rgba(6,42,80,0.13); transform: translateY(-3px); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 26px 26px 30px; text-align: left; }
.card-body h3 { margin: 0 0 10px; font-size: 1.35rem; }
.card-body p { font-size: 0.88rem; margin-bottom: 16px; }
.card-link { color: var(--accent); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; }
.card-link:hover { text-decoration: underline; }

/* Accent bars per suite */
.accent-bar { height: 3px; width: 44px; margin-bottom: 16px; }
.accent-bar.turquoise { background: var(--turquoise); }
.accent-bar.outremer { background: var(--outremer); }
.accent-bar.rouge { background: var(--rouge); }
.accent-bar.navy { background: var(--navy); }

/* ─── Split (photo + text) ─────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; margin: 56px 0; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media.tall img { aspect-ratio: 3/4; }
.split-text h3 { margin-top: 0; }

/* Mini photo row inside sections */
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 26px 0 8px; }
.photo-row img { aspect-ratio: 1/1; object-fit: cover; width: 100%; cursor: pointer; transition: opacity 0.2s; }
.photo-row img:hover { opacity: 0.88; }

/* Suite fact line */
.suite-facts {
  font-size: 0.74rem !important; letter-spacing: 0.12em; text-transform: uppercase;
  color: #7d8b9b !important; margin-bottom: 14px !important;
}

/* Photo credit badge (added automatically by site.js) */
.ph { position: relative; display: block; }
.ph::after {
  content: attr(data-credit);
  position: absolute; bottom: 5px; right: 8px;
  font-family: 'Jost', sans-serif; font-size: 0.58rem; font-weight: 300;
  letter-spacing: 0.06em; color: rgba(255,255,255,0.72);
  text-shadow: 0 1px 3px rgba(0,0,0,0.55);
  pointer-events: none;
}

/* Historic image */
.historic-figure { max-width: 340px; margin: 26px 0; }
.historic-figure img { filter: sepia(0.25) contrast(0.95); border: 1px solid #dfe5ec; padding: 6px; background: #fff; }
.historic-figure figcaption { font-size: 0.76rem; color: #8a97a5; margin-top: 8px; font-style: italic; }

/* ─── Gallery page ─────────────────────────────────────────── */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 36px 0 40px; }
.filter-btn {
  background: none; border: 1px solid #c9d4e0; color: #4a5b70;
  font-family: 'Jost', sans-serif; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 1px; cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 1200px; margin: 0 auto; }
.gallery-item { aspect-ratio: 4/3; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(4,18,34,0.94); z-index: 2000;
  display: none; align-items: center; justify-content: center; flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.lightbox-caption { color: rgba(255,255,255,0.75); font-size: 0.8rem; letter-spacing: 0.1em; margin-top: 14px; text-transform: uppercase; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: none; border: none; color: rgba(255,255,255,0.8);
  font-size: 2rem; cursor: pointer; padding: 12px; transition: color 0.2s; font-family: 'Jost', sans-serif;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { color: #fff; }
.lightbox-close { top: 18px; right: 26px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ─── Info tables (access etc.) ────────────────────────────── */
.info-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 20px 0 30px; }
.info-table tr { border-bottom: 1px solid #e8ecf0; }
.info-table td { padding: 13px 16px; vertical-align: top; line-height: 1.6; }
.info-table td:first-child { font-weight: 500; color: var(--navy); width: 34%; }
.info-table td:last-child { color: #4a4a4a; font-weight: 300; }

/* ─── Partner blocks ───────────────────────────────────────── */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.partner { background: #fff; border: 1px solid #e8ecf0; padding: 30px 26px; }
.partner h3 { margin-top: 0; font-size: 1.6rem; }
.partner p { font-size: 0.87rem; }
.partner .partner-kind {
  color: var(--accent); font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase;
  display: block; margin-bottom: 10px;
}

/* ─── Legal / privacy (index) ──────────────────────────────── */
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.legal-table thead tr { background: var(--navy); color: #fff; }
.legal-table thead th {
  padding: 14px 20px; text-align: left; font-weight: 400; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.legal-table tbody tr { border-bottom: 1px solid #e8ecf0; }
.legal-table tbody tr:nth-child(even) { background: var(--paper); }
.legal-table td { padding: 14px 20px; vertical-align: top; line-height: 1.6; }
.legal-table td:first-child { font-weight: 500; color: var(--navy); width: 36%; white-space: nowrap; }
.legal-table td:last-child { color: #444; font-weight: 300; }
.legal-table td a { color: var(--accent); }
#greek-table { display: none; }

.privacy-block { margin-bottom: 28px; }
.privacy-block h3 { font-family: 'Jost', sans-serif; font-size: 0.92rem; font-weight: 500; color: var(--navy); margin: 0 0 8px; }
.privacy-block p { font-size: 0.86rem; }
.privacy-block a { color: var(--accent); }

/* ─── Footer ───────────────────────────────────────────────── */
footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 52px 40px 36px; text-align: center; }
.footer-logo {
  color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-logo span { color: var(--accent-soft); }
footer p { font-size: 0.82rem; font-weight: 300; line-height: 1.9; }
footer a { color: var(--accent-soft); }
footer a:hover { text-decoration: underline; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin: 22px 0 0; list-style: none; }
.footer-nav a { color: rgba(255,255,255,0.55); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-nav a:hover { color: #fff; text-decoration: none; }
.footer-divider { width: 32px; height: 1px; background: rgba(255,255,255,0.18); margin: 28px auto; }
.footer-legal { font-size: 0.72rem; color: rgba(255,255,255,0.35); letter-spacing: 0.04em; margin-top: 20px; }

/* ─── Responsive ───────────────────────────────────────────── */
/* Dropdown (La Propriété) */
.nav-links li.has-sub { position: relative; }
.nav-links .sub-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--navy-92); list-style: none; padding: 10px 0; min-width: 210px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 2px;
}
.nav-links li.has-sub:hover .sub-menu,
.nav-links li.has-sub:focus-within .sub-menu { display: block; }
.nav-links .sub-menu a { padding: 9px 20px; white-space: nowrap; font-size: 0.72rem; }
.nav-links li.has-sub > a::after { content: ' ▾'; font-size: 0.6rem; opacity: 0.6; }

/* Meltemi callout */
.callout {
  margin: 34px auto 0; max-width: 640px; text-align: left;
  border-left: 2px solid var(--accent); background: #f3f7fb;
  padding: 20px 26px;
  color: #4a4a4a; font-size: 0.95rem; font-weight: 300; line-height: 1.85;
}
.callout strong { color: var(--navy); }

@media (max-width: 900px) {
  .card-grid, .partner-grid { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 26px; }
  .split.reverse .split-media { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  nav { padding: 0 20px; }
  .nav-links {
    display: none; position: fixed; top: 76px; left: 0; right: 0;
    background: var(--navy-92); flex-direction: column; gap: 0; padding: 10px 0 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { text-align: center; }
  .nav-links a { display: block; padding: 13px 20px; }
  .nav-burger { display: block; }
  /* in burger mode, sub-menu is shown inline under its parent */
  .nav-links .sub-menu { display: block; position: static; transform: none; border: none; background: transparent; padding: 0 0 6px; }
  .nav-links .sub-menu a { font-size: 0.68rem; color: rgba(255,255,255,0.55); padding: 8px 20px; }
  .nav-links li.has-sub > a::after { content: ''; }
}
@media (max-width: 768px) {
  .section { padding: 60px 20px; }
  footer { padding: 40px 20px 24px; }
  .photo-row { grid-template-columns: repeat(3, 1fr); }
  .legal-table td:first-child { white-space: normal; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .legal-table { font-size: 0.82rem; }
  .legal-table td { padding: 12px; }
}
