/* ============================================================
   Mitchell Bay Fishing Tours — demo site stylesheet
   Mobile-first. Palette: deep lake navy / walleye gold / dawn coral.
   ============================================================ */

:root {
  --navy-950: #06121f;
  --navy-900: #0a1f33;
  --navy-800: #0f2c47;
  --navy-700: #16395c;
  --gold-500: #e8a838;
  --gold-400: #f2bd55;
  --gold-600: #c98a1d;
  --coral-500: #ff7a59;
  --teal-400: #3fc1c9;
  --teal-300: #6fd8de;
  --sand-100: #f7f3ea;
  --sand-200: #efe7d7;
  --ink-900: #14202c;
  --ink-600: #42535f;
  --ink-400: #6d7f8b;
  --white: #ffffff;
  --ok-500: #2e9e6b;
  --warn-500: #e0a800;
  --bad-500: #d64545;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-1: 0 2px 10px rgba(6, 18, 31, 0.08);
  --shadow-2: 0 10px 30px rgba(6, 18, 31, 0.14);
  --shadow-3: 0 18px 50px rgba(6, 18, 31, 0.25);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--sand-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

.wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding: 4rem 0; }
.section--tint { background: var(--sand-200); }
.section--navy { background: var(--navy-900); color: var(--sand-100); }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
}
.section--navy .kicker { color: var(--gold-400); }
.section h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 0.9rem; }
.lede { color: var(--ink-600); max-width: 62ch; }
.section--navy .lede { color: #c6d2dd; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold-500); color: var(--navy-950); box-shadow: var(--shadow-2); }
.btn--gold:hover { background: var(--gold-400); }
.btn--ghost { border-color: rgba(255,255,255,0.65); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); }
.btn--sm { padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(6, 18, 31, 0.88);
  backdrop-filter: blur(8px);
  color: var(--white);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.brand .hook { color: var(--gold-400); font-size: 1.25rem; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal-300); }
.main-nav { display: none; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: 0.92rem; color: #d9e4ec; padding: 0.4rem 0.6rem; border-radius: 6px; }
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.header-cta { display: none; }
.nav-toggle {
  background: none; border: 1px solid rgba(255,255,255,0.3); color: var(--white);
  border-radius: 8px; padding: 0.45rem 0.7rem; font-size: 1.1rem; cursor: pointer;
}
.mobile-nav { display: none; background: var(--navy-950); padding: 0.5rem 0 1rem; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 0.7rem 1.5rem; color: #d9e4ec; text-decoration: none; font-weight: 600; }
.mobile-nav a:hover { background: rgba(255,255,255,0.06); color: var(--white); }
@media (min-width: 900px) {
  .main-nav { display: flex; gap: 0.4rem; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: var(--white); isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,18,31,0.55) 0%, rgba(6,18,31,0.35) 45%, rgba(6,18,31,0.82) 100%);
}
.hero__inner { padding: 5.5rem 0 4rem; }
.hero .eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal-300); }
.hero h1 { font-size: clamp(2.3rem, 7vw, 4rem); margin: 0.6rem 0 0.8rem; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero p.sub { max-width: 52ch; color: #dbe6ee; font-size: 1.05rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.4rem; }
.hero__stats div strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-400); }
.hero__stats div span { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #b8c8d4; }

/* ---------- trust bar ---------- */
.trustbar { background: var(--navy-950); color: #9fb3c2; font-size: 0.85rem; padding: 0.7rem 0; }
.trustbar .wrap { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; align-items: center; justify-content: center; text-align: center; }
.trustbar strong { color: var(--sand-100); }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.card__tag {
  position: absolute; top: 0.9rem; left: 0.9rem;
  background: var(--navy-950); color: var(--gold-400);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px;
}
.card h3 { font-size: 1.25rem; }
.card .meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.85rem; color: var(--ink-400); }
.card p { color: var(--ink-600); font-size: 0.95rem; }
.card__foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem; padding-top: 0.7rem; border-top: 1px dashed #e2dccd; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--navy-800); }
.price small { font-family: var(--font-body); font-weight: 600; font-size: 0.72rem; color: var(--ink-400); }

/* ---------- FAQ accordions ---------- */
details.card summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.3rem;
}
details.card summary::-webkit-details-marker { display: none; }
details.card summary h3 { font-size: 1.1rem; }
details.card summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--gold-600); }
details.card[open] summary::after { content: "–"; }
details.card[open] summary { border-bottom: 1px dashed #e2dccd; }
details.card .card__body { padding: 1rem 1.3rem 1.5rem; }

/* ---------- feature list ---------- */
.features { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin-top: 1.5rem; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-m); padding: 1.1rem; }
.feature .ico { font-size: 1.5rem; }
.feature h4 { font-size: 0.98rem; margin: 0.4rem 0 0.25rem; color: var(--sand-100); }
.feature p { font-size: 0.82rem; color: #b9c7d2; }

/* ---------- split sections ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split--rev > :first-child { order: 2; } }
.split img { border-radius: var(--radius-l); box-shadow: var(--shadow-3); }
.checklist { list-style: none; margin-top: 1.1rem; display: grid; gap: 0.55rem; }
.checklist li { padding-left: 1.7rem; position: relative; color: var(--ink-600); font-size: 0.95rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok-500); font-weight: 800; }
.section--navy .checklist li { color: #c6d2dd; }
.section--navy .checklist li::before { color: var(--teal-300); }

/* ---------- packages strip ---------- */
.pkg-note { margin-top: 1.4rem; font-size: 0.9rem; color: var(--ink-400); }
.pkg-note strong { color: var(--navy-800); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); } .gallery .wide { grid-column: span 2; } }
.gallery figure { position: relative; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-1); cursor: zoom-in; height: 245px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.4s ease; }
/* The pair that previously left blank space under a 4:3 image. */
.gallery__catch img { object-position: center 36%; }
.gallery__poolhouse img { object-position: center 52%; }
.gallery__more { margin-top: 1.6rem; text-align: center; }
.full-gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.8rem; margin-top: 1.3rem; }
@media (min-width: 700px) { .full-gallery { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1000px) { .full-gallery { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-m); background: var(--navy-900); cursor: zoom-in; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item figcaption { position: absolute; inset: auto 0 0; padding: 1.5rem 0.7rem 0.5rem; background: linear-gradient(transparent, rgba(6,18,31,.88)); color: var(--white); font-size: .8rem; font-weight: 600; }
.gallery-item[hidden] { display: none; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: .6rem; }
.gallery figure:focus-visible, .gallery-item:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.lightbox .lightbox-caption { position: absolute; bottom: .4rem; left: 0; right: 0; text-align: center; color: white; padding: .5rem; }
.lightbox .lightbox-prev, .lightbox .lightbox-next { top: 50%; right: auto; transform: translateY(-50%); font-size: 2.4rem; padding: .4rem; }
.lightbox .lightbox-prev { left: .5rem; }
.lightbox .lightbox-next { left: auto; right: .5rem; }
.lightbox img { max-width: min(1100px, calc(100% - 4rem)); max-height: 82vh; object-fit: contain; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.8rem 0.8rem 0.6rem;
  background: linear-gradient(transparent, rgba(6,18,31,0.85)); color: var(--white);
  font-size: 0.8rem; font-weight: 600;
}
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4,10,18,0.92); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 88vh; border-radius: var(--radius-m); }
.lightbox button { position: absolute; top: 1rem; right: 1.2rem; background: none; border: none; color: var(--white); font-size: 2rem; cursor: pointer; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { background: var(--white); border-radius: var(--radius-m); padding: 1.5rem; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 0.8rem; }
.quote .stars { color: var(--gold-500); letter-spacing: 0.15em; font-size: 0.95rem; }
.quote blockquote { font-size: 0.95rem; color: var(--ink-600); }
.quote .who { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.quote .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote .who strong { display: block; font-size: 0.9rem; }
.quote .who span { font-size: 0.78rem; color: var(--ink-400); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-950)); color: var(--white); border-radius: var(--radius-l); padding: 2.5rem 1.8rem; text-align: center; box-shadow: var(--shadow-3); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #c6d2dd; max-width: 55ch; margin: 0.5rem auto 1.4rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: #9fb3c2; padding: 3rem 0 2rem; font-size: 0.9rem; }
.site-footer .wrap { display: grid; gap: 2rem; }
@media (min-width: 800px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.site-footer h4 { color: var(--sand-100); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.8rem; }
.site-footer a { color: #9fb3c2; text-decoration: none; display: block; padding: 0.18rem 0; }
.site-footer a:hover { color: var(--white); }
.footer-brand { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer-note { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.78rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.demo-badge {
  display: inline-block; background: rgba(232,168,56,0.15); border: 1px solid rgba(232,168,56,0.5);
  color: var(--gold-400); border-radius: 999px; padding: 0.15rem 0.7rem; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em;
}

/* ---------- booking page ---------- */
.page-head { background: linear-gradient(120deg, var(--navy-800), var(--navy-950)); color: var(--white); padding: 3rem 0 2.2rem; }
.page-head h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); }
.page-head p { color: #c6d2dd; max-width: 60ch; }

.booking-layout { display: grid; gap: 2rem; align-items: start; margin-top: -1.6rem; position: relative; z-index: 5; }
@media (min-width: 1000px) { .booking-layout { grid-template-columns: 1.6fr 1fr; } }
.panel { background: var(--white); border-radius: var(--radius-m); box-shadow: var(--shadow-2); padding: 1.6rem; }
.panel h2 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.panel .hint { font-size: 0.85rem; color: var(--ink-400); }

.choice-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 1.4rem; }
.chip {
  border: 2px solid #dfe6ea; background: var(--white); border-radius: 999px;
  padding: 0.55rem 1.1rem; font-weight: 700; font-size: 0.9rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.45rem; color: var(--ink-600);
  transition: all 0.15s ease;
}
.chip:hover { border-color: var(--gold-500); }
.chip.active { border-color: var(--gold-500); background: var(--gold-500); color: var(--navy-950); }
.chip small { font-weight: 600; opacity: 0.75; font-size: 0.78rem; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
.cal-head .month { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.cal-nav { display: flex; gap: 0.4rem; }
.cal-nav button {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid #dfe6ea; background: var(--white);
  font-size: 1.05rem; cursor: pointer; color: var(--ink-600);
}
.cal-nav button:hover:not(:disabled) { border-color: var(--gold-500); color: var(--navy-800); }
.cal-nav button:disabled { opacity: 0.35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-dow { text-align: center; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-400); padding: 0.3rem 0; }
.cal-day {
  aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-weight: 600; font-size: 0.92rem; background: var(--sand-100); cursor: default; color: var(--ink-900);
}
.cal-day .dots { display: flex; gap: 3px; height: 5px; }
.cal-day .dots i { width: 5px; height: 5px; border-radius: 50%; display: block; }
.cal-day.open { cursor: pointer; background: var(--white); border-color: #dbe4e9; }
.cal-day.open:hover { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(232,168,56,0.18); }
.cal-day.limited { cursor: pointer; background: #fff8e8; border-color: #f0dcae; }
.cal-day.full { background: #f3f4f5; color: #a7b3bc; }
.cal-day.full .dots i { background: var(--bad-500); }
.cal-day.closed { background: #f3f4f5; color: #b6c0c8; }
.cal-day.past { opacity: 0.35; }
.cal-day.selected { background: var(--navy-800) !important; color: var(--white); border-color: var(--navy-800); }
.cal-day.inrange { background: #e8f1f4; border-color: #cfdfe6; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; margin-top: 1rem; font-size: 0.8rem; color: var(--ink-600); }
.cal-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.cal-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; border: 1px solid rgba(0,0,0,0.08); }

.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px dashed #e2dccd; font-size: 0.92rem; }
.summary-line strong { font-family: var(--font-display); }
.summary-line.total { border-bottom: none; font-size: 1.05rem; }
.summary-line.total strong { color: var(--gold-600); font-size: 1.25rem; }

.field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.9rem; }
.field label { font-weight: 700; font-size: 0.85rem; }
.field input, .field select, .field textarea {
  border: 1.5px solid #dfe6ea; border-radius: 10px; padding: 0.7rem 0.9rem;
  font: inherit; font-size: 0.95rem; background: var(--white); color: var(--ink-900); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(232,168,56,0.18); }
.field-row { display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 0.8rem; color: var(--ink-400); }
.form-status { display: none; margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius-m); font-size: 0.9rem; font-weight: 600; }
.form-status.ok { display: block; background: #e7f5ee; color: #1d6b47; border: 1px solid #bfe3d1; }
.form-status.err { display: block; background: #fdeaea; color: #a13030; border: 1px solid #f2c4c4; }

.success-card { display: none; text-align: center; padding: 2rem 1rem; }
.success-card.show { display: block; }
.success-card .big { font-size: 3rem; }
.success-card h3 { font-size: 1.4rem; margin: 0.4rem 0; }
.success-card p { color: var(--ink-600); max-width: 46ch; margin: 0 auto 1rem; }
.success-card .ref { font-family: ui-monospace, monospace; background: var(--sand-200); border-radius: 8px; padding: 0.5rem 1rem; display: inline-block; font-weight: 700; }

/* ---------- admin ---------- */
.admin-body { background: #0d1620; color: #dbe4ec; }
.admin-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
.admin-side {
  background: #0a121b; border-right: 1px solid rgba(255,255,255,0.06);
  padding: 1.2rem 1rem; display: flex; flex-direction: column; gap: 0.3rem;
}
.admin-side .brand { margin-bottom: 1.2rem; }
.admin-side .tag { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal-300); }
.admin-nav button {
  display: flex; align-items: center; gap: 0.7rem; width: 100%;
  background: none; border: none; color: #93a5b3; font: inherit; font-weight: 600; font-size: 0.92rem;
  padding: 0.65rem 0.8rem; border-radius: 10px; cursor: pointer; text-align: left;
}
.admin-nav button:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.admin-nav button.active { color: var(--gold-400); background: rgba(232,168,56,0.12); }
.admin-nav .ico { width: 1.3rem; text-align: center; }
.admin-side .foot { margin-top: auto; font-size: 0.75rem; color: #5d7183; padding-top: 1rem; }
.admin-main { padding: 1.4rem 1.2rem 3rem; }
.admin-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; margin-bottom: 1.3rem; }
.admin-top h1 { font-size: 1.5rem; color: var(--white); }
.admin-top .who { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: #93a5b3; }
.admin-top .who .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy-700); display: grid; place-items: center; font-weight: 800; color: var(--gold-400); }
.stat-row { display: grid; gap: 0.9rem; grid-template-columns: repeat(2, 1fr); margin-bottom: 1.4rem; }
@media (min-width: 800px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #101d2a; border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius-m); padding: 1.1rem; }
.stat .lbl { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #7c92a3; }
.stat .val { font-family: var(--font-display); font-size: 1.7rem; color: var(--white); margin-top: 0.25rem; }
.stat .delta { font-size: 0.78rem; margin-top: 0.2rem; }
.stat .delta.up { color: #5fd3a0; }
.stat .delta.down { color: #ff8f8f; }

.apanel { background: #101d2a; border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius-m); padding: 1.3rem; margin-bottom: 1.3rem; }
.apanel h2 { font-size: 1.1rem; color: var(--white); margin-bottom: 0.9rem; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.apanel h2 .side-note { font-size: 0.75rem; font-weight: 500; color: #7c92a3; }

.dtable { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.dtable th { text-align: left; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #7c92a3; padding: 0.5rem 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.09); }
.dtable td { padding: 0.65rem 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: middle; }
.dtable tr:hover td { background: rgba(255,255,255,0.025); }
.dtable .guest-cell strong { display: block; color: var(--white); }
.dtable .guest-cell span { font-size: 0.76rem; color: #7c92a3; }
.dtable .actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.badge { display: inline-block; border-radius: 999px; padding: 0.18rem 0.65rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; }
.badge.pending { background: rgba(224,168,0,0.16); color: var(--warn-500); border: 1px solid rgba(224,168,0,0.4); }
.badge.confirmed { background: rgba(46,158,107,0.16); color: #5fd3a0; border: 1px solid rgba(46,158,107,0.4); }
.badge.cancelled { background: rgba(214,69,69,0.14); color: #ff8f8f; border: 1px solid rgba(214,69,69,0.35); }
.badge.neutral { background: rgba(255,255,255,0.07); color: #aebdc9; border: 1px solid rgba(255,255,255,0.12); }

.abtn { border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.05); color: #cfd9e1; font: inherit; font-size: 0.78rem; font-weight: 700; border-radius: 8px; padding: 0.35rem 0.7rem; cursor: pointer; }
.abtn:hover { border-color: var(--gold-500); color: var(--white); }
.abtn.primary { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
.abtn.primary:hover { background: var(--gold-400); }
.abtn.danger:hover { border-color: var(--bad-500); color: #ff8f8f; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.filters .chip { padding: 0.4rem 0.9rem; font-size: 0.82rem; }
.filters .chip.active { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
.filters input, .filters select {
  background: #0a121b; border: 1px solid rgba(255,255,255,0.14); color: #dbe4ec;
  border-radius: 999px; padding: 0.45rem 1rem; font: inherit; font-size: 0.85rem;
}
.filters input:focus, .filters select:focus { outline: none; border-color: var(--gold-500); }

.acal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.acal .cell { background: #0a121b; border: 1px solid rgba(255,255,255,0.07); border-radius: 9px; min-height: 76px; padding: 0.4rem; font-size: 0.72rem; display: flex; flex-direction: column; gap: 2px; }
.acal .cell .d { font-weight: 800; color: #93a5b3; }
.acal .cell .ev { border-radius: 5px; padding: 1px 5px; font-size: 0.68rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acal .ev.charter-am { background: rgba(63,193,201,0.2); color: var(--teal-300); }
.acal .ev.charter-pm { background: rgba(63,193,201,0.34); color: #a8e8ec; }
.acal .ev.charter-fd { background: rgba(232,168,56,0.22); color: var(--gold-400); }
.acal .ev.poolhouse { background: rgba(255,122,89,0.2); color: #ffb49f; }
.acal .ev.block { background: rgba(255,255,255,0.1); color: #aebdc9; }
.acal .cell.off { opacity: 0.3; }
.acal-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 0.9rem; font-size: 0.75rem; color: #93a5b3; }
.acal-legend span { display: inline-flex; gap: 0.35rem; align-items: center; }
.acal-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
@media (min-width: 640px) { .media-grid { grid-template-columns: repeat(3, 1fr); } }
.media-card { background: #0a121b; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-m); overflow: hidden; }
.media-card .thumb { position: relative; aspect-ratio: 4 / 3; }
.media-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-card .thumb .featured { position: absolute; top: 0.5rem; left: 0.5rem; }
.media-card .body { padding: 0.7rem 0.8rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.media-card .body .name { font-size: 0.8rem; font-weight: 600; color: var(--white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-card .body .size { font-size: 0.68rem; color: #7c92a3; }
.dropzone {
  border: 2px dashed rgba(255,255,255,0.2); border-radius: var(--radius-m);
  padding: 1.6rem 1rem; text-align: center; color: #7c92a3; font-size: 0.88rem; margin-bottom: 1rem; cursor: pointer;
}
.dropzone:hover, .dropzone.drag { border-color: var(--gold-500); color: var(--gold-400); }

.setting-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.setting-row .lbl strong { display: block; color: var(--white); font-size: 0.9rem; }
.setting-row .lbl span { font-size: 0.76rem; color: #7c92a3; }
.setting-row input, .setting-row select { background: #0a121b; border: 1px solid rgba(255,255,255,0.14); color: #dbe4ec; border-radius: 8px; padding: 0.45rem 0.7rem; font: inherit; font-size: 0.85rem; width: 130px; }
.setting-row input:focus, .setting-row select:focus { outline: none; border-color: var(--gold-500); }

.toast {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy-800); color: var(--white); border: 1px solid rgba(255,255,255,0.15);
  padding: 0.7rem 1.3rem; border-radius: 999px; font-size: 0.88rem; font-weight: 600;
  opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 120; box-shadow: var(--shadow-3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } html { scroll-behavior: auto; } }

@media (min-width: 900px) {
  .admin-shell { grid-template-columns: 230px 1fr; }
  .admin-side { position: sticky; top: 0; height: 100vh; }
  .admin-main { padding: 1.8rem 2rem 3rem; }
}
/* ---------- photo-slot labels (real photos drop into assets/img later) ---------- */
.slot-label {
  position: absolute; left: 14px; bottom: 14px; z-index: 5;
  background: rgba(6, 18, 31, 0.9);
  color: var(--gold-400);
  border: 2px solid var(--gold-500);
  font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em;
  padding: 5px 11px; border-radius: 8px;
  pointer-events: none;
}
.ph { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-3); }
.ph .slot-label { bottom: 16px; left: 16px; }
.gallery .slot-label { top: 14px; left: 14px; bottom: auto; }

/* PhotoSwipe-backed editorial gallery and video features */
.pswp__custom-caption { position:absolute; bottom:1rem; left:50%; transform:translateX(-50%); z-index:10; color:#fff; background:rgba(6,18,31,.78); border-radius:999px; padding:.45rem 1rem; font-size:.85rem; text-align:center; max-width:calc(100% - 2rem); pointer-events:none; }
.full-gallery { grid-auto-flow: dense; gap: 1rem; }
.gallery-item { aspect-ratio: 4 / 3; box-shadow: var(--shadow-1); transition: transform .28s ease, box-shadow .28s ease; }
.gallery-item:nth-child(7n + 1) { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.gallery-item img { transition: transform .55s ease; }
.gallery-item:hover img { transform: scale(1.045); }
.gallery-filters { margin-bottom: 1.2rem; }
.gallery-item[hidden] { display:none !important; }
@media (max-width: 699px) { .gallery-item:nth-child(7n + 1) { grid-column: span 2; aspect-ratio: 16/10; } }
.hero__bg > img { position:absolute; inset:0; z-index:0; }
.hero__video { position:absolute; inset:0; z-index:0; width:100%; height:100%; object-fit:cover; opacity:1; pointer-events:none; }
.hero__bg::after { z-index:1; pointer-events:none; }
.video-grid { margin-top:1.7rem; }
.video-card { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14); border-radius:var(--radius-m); overflow:hidden; }
.video-card__frame { position:relative; aspect-ratio:16/9; background:var(--navy-950); }
.video-card__frame > img, .video-card__frame > iframe { width:100%; height:100%; object-fit:cover; border:0; }
.video-card__frame > img { filter:brightness(.72); }
.video-card__play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:4.4rem; height:4.4rem; border-radius:50%; border:2px solid #fff; color:#fff; background:rgba(6,18,31,.65); font-size:1.5rem; cursor:pointer; transition:background .2s ease, transform .2s ease; }
.video-card__play:hover { background:var(--gold-600); transform:translate(-50%,-50%) scale(1.06); }
.video-card h3 { padding:1rem 1rem .2rem; font-size:1.25rem; }
.video-card p { padding:0 1rem 1rem; color:#c6d2dd; }
/* Flickr Justified Layout: the JS writes dimensions from the original aspect ratios.
   The original CSS grid remains as a no-JS fallback. */
.gallery-flow__intro { margin: .2rem 0 .6rem; color: var(--muted, #48606b); }
.full-gallery.gallery-flow--ready { display: block; position: relative; margin-top: .9rem; }
.gallery-flow--ready .gallery-item,
.gallery-flow--ready .gallery-item:nth-child(7n + 1) {
  display: block; position: absolute; margin: 0; aspect-ratio: auto; grid-column: auto;
  box-sizing: border-box; border-radius: 9px; transform: none; transition: box-shadow .25s ease;
}
.gallery-flow--ready .gallery-item:hover { transform: none; box-shadow: 0 12px 26px rgba(7, 27, 38, .27); z-index: 2; }
.gallery-flow--ready .gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-flow--ready .gallery-item figcaption { opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; padding: 2.2rem .8rem .65rem; }
.gallery-flow--ready .gallery-item:hover figcaption,
.gallery-flow--ready .gallery-item:focus-visible figcaption { opacity: 1; transform: none; }
.gallery-flow--ready .gallery-item:focus-visible { z-index: 3; }
@media (max-width: 699px) {
  .gallery-flow--ready .gallery-item figcaption { opacity: 1; transform: none; font-size: .72rem; padding: 1.4rem .5rem .4rem; }
}
@media (prefers-reduced-motion: reduce) { .gallery-item, .gallery-item img, .hero__video, .gallery-flow--ready .gallery-item figcaption { transition:none; } }


/* Solid, readable pill for the hero highlight button */
.btn--solid { background: #0c2736; color: #fff; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 3px 14px rgba(5,15,25,.45); text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.btn--solid:hover { background: #10334a; }
/* Gallery button breathing room */
.gallery__more { padding-top: 1.4rem; }
/* Swiper-powered gallery carousel */
.gallery-swiper { position: relative; display: block; padding: 0 0 3.2rem; }
.gallery-swiper .swiper { overflow: hidden; min-width: 0; max-width: 100%; }
.gallery-swiper .swiper-slide { height: 300px; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--navy-900,#0c1f2c); box-shadow: 0 6px 18px rgba(5,15,25,.28); display: flex; align-items: flex-end; }
.gallery-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery-swiper .swiper-slide:hover img { transform: scale(1.05); }
.gallery-swiper figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.6rem .8rem .55rem; background: linear-gradient(transparent, rgba(6,18,31,.85)); color: #fff; font-size: .8rem; font-weight: 600; }
.gallery-swiper .swiper-pagination { bottom: 0; }
.gallery-swiper .swiper-pagination-bullet { background: #cfe0ec; opacity: .55; }
.gallery-swiper .swiper-pagination-bullet-active { background: var(--gold-500, #e8a838); opacity: 1; }
.gallery-swiper .swiper-button-next, .gallery-swiper .swiper-button-prev { color: #fff; background: rgba(8,22,32,.55); width: 2.4rem; height: 2.4rem; border-radius: 50%; }
.gallery-swiper .swiper-button-next:after, .gallery-swiper .swiper-button-prev:after { font-size: 1rem; }
@media (max-width: 699px) { .gallery-swiper .swiper-button-next, .gallery-swiper .swiper-button-prev { display: none; } .gallery-swiper .swiper-slide { height: 240px; } .gallery-swiper .swiper { padding-bottom: 2.4rem; } }


/* ---------- booking v2 + admin shared additions (2026-10-12, backend batch) ---------- */
.cal-day.pending { background: var(--ink-100, #eef2f5); color: var(--ink-400, #8aa0b0); cursor: wait; }
.book-col { min-width: 0; }
.book-col .choice-row { flex-wrap: wrap; }
.mini-label { display: block; font-size: .78rem; color: var(--ink-500, #6b7f8e); margin-bottom: .4rem; }
