/* Luxe Port Lookout — shared stylesheet */

:root {
  --forest: #10293a;
  --forest-dark: #0a1a26;
  --cream: #f6f5f0;
  --stone: #e7ebe9;
  --gold: #c07a3e;
  --gold-light: #e0a468;
  --charcoal: #1e2626;
  --text-muted: #5a615f;
  --max-width: 1200px;
  --radius: 6px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
}

img, video { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: var(--forest); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 4.5rem 0; }
.section--tight { padding: 2.5rem 0; }
.section--stone { background: var(--stone); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--forest h2, .section--forest h3, .section--forest p { color: var(--cream); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 0.6rem;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--forest);
  color: var(--cream);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav__brand strong { color: var(--gold-light); }
.nav__links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.88;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; color: var(--gold-light); }
.nav__cta {
  background: var(--gold);
  color: var(--forest-dark) !important;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 700 !important;
  opacity: 1 !important;
}
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--forest);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav__links.is-open { max-height: 420px; }
  .nav__links li { border-top: 1px solid rgba(255,255,255,0.1); }
  .nav__links a { display: block; padding: 1rem 1.5rem; }
}

/* Sticky booking bar */
.booking-bar {
  position: sticky;
  bottom: 0;
  z-index: 40;
  background: var(--forest-dark);
  color: var(--cream);
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}
.booking-bar strong { color: var(--gold-light); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
}
.btn--gold { background: var(--gold); color: var(--forest-dark); }
.btn--gold:hover { background: var(--gold-light); }
.btn--outline { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn--outline-dark { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,30,24,0.25) 0%, rgba(20,30,24,0.75) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 3.5rem 1.5rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.hero__content p { color: rgba(247,244,238,0.9); max-width: 46ch; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.3rem; }
.hero--small { min-height: 46vh; }

/* Trust bar */
.trust-bar {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--stone);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Amenity chip grid */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.chip {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  text-align: center;
}
.chip__value { font-family: var(--font-display); font-size: 1.6rem; color: var(--forest); display: block; }
.chip__label { font-size: 0.85rem; color: var(--text-muted); }

/* Feature columns */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.feature h3 { margin-bottom: 0.4rem; }

/* Photo grid / gallery */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}
.photo-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: #ddd; }
.photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.35s ease;
}
.photo-grid img:hover { transform: scale(1.05); }
.photo-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.5rem 0.7rem;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
}
.gallery-section h2 { margin-top: 2.6rem; }
.gallery-section h2:first-of-type { margin-top: 0; }

.video-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}
.video-row__item { flex: 1 1 320px; max-width: 440px; }
.video-row__item h3 { margin-bottom: 0.6rem; }
.video-row__item video { width: 100%; border-radius: 6px; display: block; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,14,11,0.92);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 4px; }
.lightbox__close {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer;
}
.lightbox__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none; color: #fff; font-size: 1.8rem;
  width: 3rem; height: 3rem; border-radius: 50%; cursor: pointer;
}
.lightbox__nav--prev { left: 1.2rem; }
.lightbox__nav--next { right: 1.2rem; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.1); padding: 1.1rem 0; }
.faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--forest);
  font-size: 1.05rem;
}
.faq-item__q::after { content: "+"; font-size: 1.4rem; color: var(--gold); }
.faq-item.is-open .faq-item__q::after { content: "\2212"; }
.faq-item__a { display: none; margin-top: 0.8rem; }
.faq-item.is-open .faq-item__a { display: block; }

/* Book / channel cards */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}
.channel-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
}
.channel-card--primary { border: 2px solid var(--gold); }
.channel-card h3 { margin-bottom: 0.3rem; }

/* Map */
.map-embed { border-radius: var(--radius); overflow: hidden; border: 0; width: 100%; height: 380px; }

/* Floor plan */
.floorplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.floorplan-grid figure { margin: 0; background: #fff; border-radius: var(--radius); padding: 0.8rem; border: 1px solid rgba(0,0,0,0.06); }
.floorplan-grid figcaption { text-align: center; margin-top: 0.5rem; font-weight: 600; color: var(--forest); }

/* Contact form */
.form-field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-weight: 600; font-size: 0.9rem; }
.form-field input, .form-field textarea {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}
.form-note { font-size: 0.85rem; }

/* Footer */
.site-footer {
  background: var(--forest-dark);
  color: rgba(247,244,238,0.75);
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 { color: var(--cream); font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 0.8rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid a { color: rgba(247,244,238,0.75); text-decoration: none; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.2rem; font-size: 0.8rem; }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 780px) { .two-col { grid-template-columns: 1fr; } }
.two-col img { border-radius: var(--radius); }
