:root {
  --navy: #0a2540;
  --navy-light: #143a5e;
  --yellow: #f2c230;
  --sand: #f7f3ea;
  --ink: #1c2733;
  --muted: #5a6b7a;
  --line: #dfe6ec;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

a { color: var(--navy-light); }

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 3px solid var(--yellow);
  background: #fff;
}

.logo img { display: block; height: 64px; width: auto; }

nav { display: flex; flex-wrap: wrap; gap: 0.25rem; }

nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
}

nav a:hover { background: var(--sand); }
nav a.active { background: var(--navy); color: #fff; }

.hero { position: relative; }
.hero-img { display: block; width: 100%; height: 420px; object-fit: cover; }
.hero-text {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1.25rem 1.5rem;
  background: linear-gradient(transparent, rgba(10, 37, 64, 0.88));
  color: #fff;
}
.hero-text h1 { margin: 0 0 0.5rem; font-size: 2rem; line-height: 1.2; }
.hero-text p { margin: 0 0 1rem; font-size: 1.1rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-primary { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }

main { max-width: 960px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }

h1 { color: var(--navy); font-size: 2rem; margin: 0.5rem 0; }
h2 { color: var(--navy); margin-top: 2rem; }
h3 { color: var(--navy); margin: 0 0 0.5rem; }
.lede { font-size: 1.15rem; color: var(--muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
  background: #fff;
}
.card p { margin: 0.5rem 0; }

.strip {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
}
.strip h2 { color: #fff; margin-top: 0; }
.strip .btn-outline { border-color: #fff; }

.trip { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.trip ul { padding-left: 1.25rem; }
.flyer { max-width: 100%; width: 560px; border-radius: 12px; margin-top: 1rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.gallery figure { margin: 0; }
.gallery img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
}
/* Portrait shot whose people sit high in the frame: shift the crop window
   down from center so heads stay in frame at any cell width. */
.gallery img.show-top { object-position: 50% 15%; }
/* Tall portrait where the head sits high AND the catch fills the frame:
   15% would cut the fish in half, so this one uses 40% — heads in
   frame, tuna whole ("A big catch aboard"). */
.gallery img.show-top-40 { object-position: 50% 40%; }
.gallery figcaption { padding: 0.5rem 0.25rem; color: var(--muted); font-size: 0.95rem; }

footer {
  background: var(--navy);
  color: #cfd9e2;
  text-align: center;
  padding: 1.5rem 1rem;
  font-family: Arial, Helvetica, sans-serif;
}
footer a { color: #fff; }
footer p { margin: 0.25rem 0; }

@media (max-width: 600px) {
  .hero-img { height: 300px; }
  .hero-text h1 { font-size: 1.5rem; }
  .logo img { height: 52px; }
}

/* Call/Text fallback card (see script.js) */
.rk-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}
.rk-modal-overlay[hidden] { display: none; }
.rk-modal {
  position: relative;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  border-top: 6px solid var(--yellow);
  max-width: 420px;
  width: 100%;
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  font-family: Arial, Helvetica, sans-serif;
}
.rk-modal h2 { margin: 0 0 0.5rem; color: var(--navy); font-family: Georgia, "Times New Roman", serif; }
.rk-modal-sub { margin: 0 0 0.5rem; }
.rk-modal-close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}
.rk-copy-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  margin: 0.75rem 0;
}
.rk-copy-value { font-weight: bold; word-break: break-word; }
.rk-copy-btn { flex-shrink: 0; padding: 0.45rem 0.8rem; font-size: 0.9rem; }
.rk-open-link { display: block; text-align: center; margin-top: 1rem; }
.rk-modal-note { color: var(--muted); font-size: 0.9rem; margin: 1rem 0 0; }

/* Booking page */
.btn-orange { background: #e85a24; border-color: #e85a24; color: #fff; }
a.btn.disabled { opacity: 0.55; cursor: not-allowed; }
.booking-form { display: grid; gap: 1.25rem; max-width: 560px; margin: 1rem 0; }
.booking-form label { display: block; font-family: Arial, Helvetica, sans-serif; font-weight: bold; color: var(--navy); margin-bottom: 0.35rem; }
.booking-form input[type="date"],
.booking-form select { width: 100%; max-width: 320px; padding: 0.6rem 0.75rem; font-size: 1rem; font-family: Arial, Helvetica, sans-serif; border: 2px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.wagyu-row { display: flex; gap: 0.6rem; align-items: flex-start; }
.wagyu-row input[type="checkbox"] { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; flex-shrink: 0; }
.wagyu-row label { margin-bottom: 0; }
.wagyu-sub { font-weight: normal; color: var(--muted); font-size: 0.95rem; }
.summary { border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem 1.5rem; background: #fff; max-width: 560px; margin: 1.5rem 0; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line); font-family: Arial, Helvetica, sans-serif; }
.summary-row strong { color: var(--navy); text-align: right; }
.summary-row.total { font-size: 1.35rem; border-bottom: 2px solid var(--navy); padding: 0.6rem 0; }
.summary .deposit { color: var(--muted); margin: 0.75rem 0 0; font-family: Arial, Helvetica, sans-serif; }
.booking-cta { margin-top: 1.5rem; }
.payment { max-width: 560px; margin: 2rem 0; }
.payment .cta-row { margin: 1rem 0; }
.zelle-qr { text-align: center; margin: 1rem 0; }
.zelle-qr img { width: 220px; height: 220px; background: #fff; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.zelle-qr p { margin: 0.5rem 0; }
.zelle-qr .rk-copy-row { text-align: left; }
.hint { color: var(--muted); font-size: 0.95rem; }

/* Availability calendar (booking.html) */
.calendar-wrap { max-width: 560px; margin: 2rem 0 0; }
.calendar-wrap h2 { margin-bottom: 0.25rem; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin: 1rem 0 0.75rem; }
.cal-nav h3 { margin: 0; font-size: 1.2rem; }
.cal-nav .btn { padding: 0.45rem 0.8rem; font-size: 0.9rem; }
.cal-nav .btn:disabled { opacity: 0.4; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 0.8rem; font-weight: bold; color: var(--muted); padding: 0.25rem 0; }
.cal-day { position: relative; min-height: 52px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; font-weight: bold; cursor: pointer; padding: 0.3rem 0.1rem; }
.cal-day.cal-blank { border: none; background: transparent; cursor: default; }
.cal-day.open:hover { background: var(--yellow); }
.cal-day.selected { background: var(--navy); color: #fff; border-color: var(--navy); }
.cal-day.taken { background: #eef1f4; color: #9aa7b2; cursor: not-allowed; }
.cal-day.taken .cal-num { text-decoration: line-through; }
.cal-day.closed { background: repeating-linear-gradient(45deg, #f7f3ea, #f7f3ea 6px, #efe9d8 6px, #efe9d8 12px); color: #8a97a3; cursor: not-allowed; }
.cal-day.past { background: #f7f7f7; color: #c3ccd3; cursor: not-allowed; }
.cal-tag { display: block; font-size: 0.6rem; font-weight: bold; letter-spacing: 0.02em; text-transform: uppercase; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-family: Arial, Helvetica, sans-serif; font-size: 0.85rem; color: var(--muted); margin: 0.75rem 0 0; }
.cal-key { display: inline-flex; align-items: center; gap: 0.35rem; }
.cal-key::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line); }
.cal-key-open::before { background: #fff; }
.cal-key-taken::before { background: #eef1f4; }
.cal-key-closed::before { background: repeating-linear-gradient(45deg, #f7f3ea, #f7f3ea 3px, #efe9d8 3px, #efe9d8 6px); }
