/* Happy Place — shared styles
   Fresh, light Carolina coast: sea-glass teal, sunshine, palm green, tiki coral, sand.
   Hover states use a soft neon outline glow. */

:root {
  --sea: #0a8ea3;
  --sea-deep: #075f70;
  --sea-soft: #e3f6f8;
  --aqua: #3ef0ff;
  --sun: #ffb703;
  --sun-soft: #fff3d3;
  --coral: #ff6b5b;
  --coral-deep: #d94a3b;
  --palm: #17a673;
  --sand: #fff9ef;
  --ink: #0f2e3a;
  --muted: #4f6c76;
  --white: #ffffff;
  --card: #ffffff;
  --line: #d5ecf0;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(10, 60, 75, 0.10);
  --glow: 0 0 0 2px rgba(62, 240, 255, 0.95), 0 0 16px rgba(62, 240, 255, 0.75), 0 0 34px rgba(62, 240, 255, 0.35);
  --glow-coral: 0 0 0 2px rgba(255, 107, 91, 0.95), 0 0 16px rgba(255, 107, 91, 0.7), 0 0 34px rgba(255, 107, 91, 0.3);
  --container: 1120px;
  --gutter: 16px;

  /* Aliases so older rules (blueprint page tables) keep working. */
  --blue: var(--sea);
  --blue-deep: var(--sea-deep);
  --blue-soft: var(--sea-soft);
  --red: var(--coral);
  --red-deep: var(--coral-deep);

  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sand: #0c2630;
    --ink: #eef9fb;
    --muted: #b3ced4;
    --sea-soft: #123a44;
    --sun-soft: #3a2f10;
    --card: #123540;
    --line: #1f4f5b;
  }
}

:root[data-theme="dark"] {
  --sand: #0c2630;
  --ink: #eef9fb;
  --muted: #b3ced4;
  --sea-soft: #123a44;
  --sun-soft: #3a2f10;
  --card: #123540;
  --line: #1f4f5b;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--sea-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--coral-deep); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sun);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Header / nav ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 12px;
  padding: 2px 6px 2px 2px;
  transition: box-shadow 0.25s ease, color 0.25s ease;
}
@media (min-width: 900px) { .brand { font-size: 1.5rem; } }
.brand:hover { color: var(--sea-deep); box-shadow: var(--glow); }
.brand-mark { width: 40px; height: 40px; flex: none; border-radius: 12px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
  transition: box-shadow 0.25s ease;
}
.nav-toggle:hover { box-shadow: var(--glow); }
.nav-toggle svg { width: 22px; height: 22px; }

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 8px 0 16px;
  box-shadow: 0 16px 30px rgba(10, 60, 75, 0.12);
}
.site-nav.is-open { display: block; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.site-nav a {
  display: block;
  padding: 12px var(--gutter);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-radius: 12px;
  margin: 0 8px;
  transition: box-shadow 0.25s ease, color 0.25s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--sea-deep); box-shadow: var(--glow); }

.site-header .header-cta { display: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .site-nav ul { grid-auto-flow: column; gap: 4px; }
  .site-nav a { padding: 8px 12px; margin: 0; border-radius: 999px; }
  .site-header .header-cta { display: inline-flex; min-height: 40px; padding: 8px 16px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffc233; color: var(--ink); box-shadow: var(--glow-coral); }
.btn-red { background: var(--coral); color: var(--white); }
.btn-red:hover { background: var(--coral-deep); color: var(--white); box-shadow: var(--glow-coral); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: rgba(255, 255, 255, 0.85); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); box-shadow: var(--glow); }
.btn-outline { background: var(--white); color: var(--sea-deep); border-color: var(--sea); }
.btn-outline:hover { background: var(--sea-soft); color: var(--sea-deep); box-shadow: var(--glow); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: #0b2a3a center / cover no-repeat;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(62, 240, 255, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(8, 28, 40, 0.35) 0%, rgba(8, 28, 40, 0.82) 100%);
  z-index: -1;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
/* Hero slider: stacked slides that cross-fade */
.slider { position: absolute; inset: 0; z-index: -2; }
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.slide.is-active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.slider-dots {
  position: absolute;
  right: var(--gutter);
  bottom: 18px;
  z-index: 1;
  display: flex;
  gap: 10px;
}
.slider-dots button {
  width: 14px;
  height: 14px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  cursor: pointer;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.slider-dots button:hover { box-shadow: var(--glow); }
.slider-dots button.is-active { background: var(--aqua); box-shadow: var(--glow); }

.hero-inner {
  padding: clamp(72px, 14vw, 140px) 0 clamp(56px, 10vw, 110px);
  max-width: 760px;
}
.hero h1 { color: var(--white); text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45); }
.hero .lede {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  max-width: 60ch;
  color: #eafcff;
}
.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--sea);
  margin-bottom: 12px;
}
.hero .eyebrow { color: var(--aqua); text-shadow: 0 0 12px rgba(62, 240, 255, 0.6); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Sections ---------- */
section { padding: clamp(48px, 8vw, 88px) 0; }
.section-tint { background: var(--sea-soft); }
.section-blue { background: linear-gradient(135deg, var(--sea) 0%, var(--sea-deep) 100%); color: var(--white); }
.section-blue h2, .section-blue h3 { color: var(--white); }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { color: var(--muted); }
.section-blue .section-head p { color: #e6fbff; }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-2-wide { grid-template-columns: 1.1fr 1fr; align-items: center; }
}

.card {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--aqua);
  box-shadow: var(--glow), var(--shadow);
}
.card-photo {
  display: block;
  width: calc(100% + 48px);
  max-width: none;
  margin: -24px -24px 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
  transition: box-shadow 0.25s ease;
}
.card:hover .card-photo { box-shadow: 0 0 0 2px rgba(62, 240, 255, 0.95), 0 0 18px rgba(62, 240, 255, 0.6); }
.photo-credit-note { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.site-footer .footer-bottom a { color: #ffffff; }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d9fbff, #fff1c2);
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.card p { color: var(--muted); margin: 0; }
.card h3 { color: var(--ink); }

.photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.photo:hover { box-shadow: var(--glow), var(--shadow); }
.photo-tall { aspect-ratio: 4 / 5; min-height: 0; }
.figure { margin: 0; position: relative; }
.figure figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.25em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230f2e3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(255, 183, 3, 0.35), transparent 60%),
    linear-gradient(120deg, var(--sea) 0%, #14b8c4 60%, #5fe3ee 100%);
  color: var(--white);
  padding: clamp(48px, 8vw, 80px) 0 clamp(40px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.25em; }
.page-hero .eyebrow { color: #fff3c4; text-shadow: 0 1px 8px rgba(7, 95, 112, 0.6); }
.page-hero p { color: #f0feff; max-width: 62ch; margin: 0; font-size: 1.15rem; }

/* ---------- Menu ---------- */
.menu-block { margin-bottom: 36px; }
.menu-block h3 {
  font-size: 1.4rem;
  color: var(--coral-deep);
  border-bottom: 3px solid var(--aqua);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 14px;
}
.menu-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.menu-list li {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 4px 14px rgba(10, 60, 75, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.menu-list li:hover { border-color: var(--aqua); box-shadow: var(--glow); }
.menu-list .row { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.menu-list .price { color: var(--coral-deep); white-space: nowrap; }
.menu-list small { display: block; color: var(--muted); font-weight: 400; margin-top: 2px; }
.placeholder-note {
  border: 2px dashed var(--sea);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--ink);
  background: var(--sea-soft);
  font-size: 0.95rem;
}

/* ---------- Pricing / packages ---------- */
.package {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.package .tag {
  align-self: flex-start;
  background: var(--coral);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.package ul { padding-left: 1.1em; color: var(--muted); }

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 16px;
}
.form .row-2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row-2 { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input,
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
textarea { min-height: 130px; resize: vertical; }
input:hover,
select:hover,
textarea:hover { border-color: var(--aqua); box-shadow: var(--glow); }
input:focus,
select:focus,
textarea:focus { border-color: var(--sea); outline: none; box-shadow: 0 0 0 3px rgba(10, 142, 163, 0.25); }
.form-note { font-size: 0.9rem; color: var(--muted); }

/* ---------- Info blocks ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.info-list li strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 600; }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.badge {
  background: var(--sun);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: box-shadow 0.25s ease;
}
.badge:hover { box-shadow: var(--glow); }
.badge.outline { background: rgba(255, 255, 255, 0.06); color: var(--white); border: 2px solid rgba(255, 255, 255, 0.75); }
.badge.outline:hover { box-shadow: var(--glow); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #ffe38a 0%, var(--sun) 55%, #ffc94d 100%);
  color: var(--ink);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0; color: var(--ink); }
.cta-band p { margin: 0; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1.4fr 1fr; } }
.cta-band .actions { margin-top: 0; justify-content: flex-start; }
@media (min-width: 800px) { .cta-band .actions { justify-content: flex-end; } }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #0b3f4d 0%, #082c37 100%);
  color: #cdeef3;
  padding: 48px 0 28px;
  font-size: 0.95rem;
}
.site-footer a { color: #ffffff; text-decoration: none; border-radius: 6px; transition: box-shadow 0.25s ease, color 0.25s ease; }
.site-footer a:hover { color: var(--aqua); box-shadow: var(--glow); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: #9cc9d1;
}

/* ---------- Dark-mode overrides (system dark, or data-theme="dark") ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header { background: rgba(12, 38, 48, 0.92); }
  :root:not([data-theme="light"]) .site-nav { background: var(--card); }
  :root:not([data-theme="light"]) .btn-outline { background: transparent; color: var(--ink); }
  :root:not([data-theme="light"]) input,
  :root:not([data-theme="light"]) select,
  :root:not([data-theme="light"]) textarea { background: var(--sand); }
}
:root[data-theme="dark"] .site-header { background: rgba(12, 38, 48, 0.92); }
:root[data-theme="dark"] .site-nav { background: var(--card); }
:root[data-theme="dark"] .btn-outline { background: transparent; color: var(--ink); }
:root[data-theme="dark"] input,
:root[data-theme="dark"] select,
:root[data-theme="dark"] textarea { background: var(--sand); }

/* ---------- Helpers ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Discreet link to the admin page, at the very bottom of every page. */
.admin-link-wrap { text-align: center; margin: 0; padding: 4px 16px 14px; }
.admin-link { font-size: 11px; color: inherit; opacity: .35; text-decoration: none; }
.admin-link:hover, .admin-link:focus { opacity: .8; }

/* Menu items with a photo: photo on the left, name and price on the right. */
.menu-item { display: flex; gap: 12px; align-items: center; }
.menu-item .menu-text { flex: 1; min-width: 0; }
.menu-photo { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; border: 1px solid var(--line); }
@media (max-width: 480px) { .menu-photo { width: 64px; height: 50px; } }
