/* =========================================================
   South River Marina — stylesheet
   Reusable theme: every brand-specific value lives in the
   :root custom properties below. To re-skin this template for
   another marina (Sassafras, Swan Creek, etc.) swap the color
   values, the font stack if desired, and the /images assets —
   the layout and component rules do not need to change.
   ========================================================= */

:root {
  /* Brand colors, pulled from the South River Marina logo */
  --color-navy: #0e1a3d;
  --color-navy-light: #16265c;
  --color-teal: #5fbba0;
  --color-teal-dark: #4a9e86;
  --color-cream: #f7f5ef;
  --color-white: #ffffff;
  --color-ink: #1c2434;
  --color-ink-soft: #4a5265;
  --color-border: #e3e0d6;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-script: 'Alex Brush', 'Brush Script MT', cursive;
  --font-body: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1240px;
  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(14, 26, 61, 0.08);
  --shadow-md: 0 10px 30px rgba(14, 26, 61, 0.14);
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--color-cream);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--color-teal-dark);
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.2;
  font-weight: 700;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--color-ink-soft);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-teal);
  color: var(--color-navy);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-navy);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn-outline-navy:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 0.85rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar-info a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
  transition: opacity var(--transition);
}

.topbar-info a:hover {
  opacity: 1;
  color: var(--color-teal);
}

.topbar-social {
  display: flex;
  gap: 14px;
}

.topbar-social a {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: background var(--transition);
}

.topbar-social a:hover {
  background: var(--color-teal);
  color: var(--color-navy);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 98px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-navy);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--color-teal);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  overflow: hidden;
}

.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg video {
    display: none;
  }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 26, 61, 0.55) 0%, rgba(14, 26, 61, 0.72) 55%, rgba(14, 26, 61, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 140px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.hero-grid-solo {
  grid-template-columns: minmax(0, 720px);
}

.hero-text .eyebrow {
  color: var(--color-teal);
}

.hero-text h1 {
  color: var(--color-white);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 18px;
}

.hero-text h1 span {
  color: var(--color-teal);
}

.hero-text p {
  font-size: 1.15rem;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-teal);
}

.hero-stats div span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-widget {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-widget-header {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-widget-header span.tag {
  background: var(--color-teal);
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

#dockwa-embed {
  display: block;
  width: 100%;
  min-height: 640px;
  border: none;
}

/* Dockwa is deliberately below the hero: the video stays cinematic and
   the booking flow is immediately available without sitting on top of it. */
.booking-section {
  padding: 72px 0 80px;
  background: var(--color-cream);
}

.booking-intro {
  text-align: center;
  margin: 0 auto 28px;
}

.booking-intro .eyebrow {
  color: var(--color-teal-dark);
}

.booking-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 8px 0;
}

.booking-intro p {
  color: var(--color-ink-soft);
}

.booking-section .hero-widget {
  width: min(100%, 920px);
  margin: 0 auto;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-cue .line {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.5);
  animation: scrollPulse 1.8s infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- Interior page hero banner ---------- */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 26, 61, 0.45) 0%, rgba(14, 26, 61, 0.82) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 0 56px;
}

.page-hero-content .eyebrow {
  color: var(--color-teal);
}

.page-hero-content h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
}

.breadcrumb {
  margin-top: 14px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  gap: 8px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--color-teal);
}

/* ---------- Explore / teaser cards (home) ---------- */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.explore-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.explore-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.explore-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.explore-card:hover img {
  transform: scale(1.08);
}

.explore-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 26, 61, 0) 40%, rgba(14, 26, 61, 0.88) 100%);
}

.explore-card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px;
  color: var(--color-white);
}

.explore-card-label span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal);
  font-weight: 700;
}

.explore-card-label h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-top: 4px;
}

/* ---------- Intro strip ---------- */
.intro {
  padding: 72px 0;
  text-align: center;
}

.intro .script {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--color-teal-dark);
  display: block;
  margin-bottom: 8px;
}

.intro h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  max-width: 780px;
  margin: 0 auto 18px;
}

.intro p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-ink-soft);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--color-white);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-heading);
  color: var(--color-navy);
}

.about-badge strong {
  display: block;
  color: var(--color-teal-dark);
  font-size: 1.4rem;
}

.about-text .eyebrow {
  color: var(--color-teal-dark);
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--color-ink-soft);
  margin-bottom: 18px;
}

.about-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 26px 0 32px;
}

.about-list-3col {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.95rem;
}

.about-list li::before {
  content: '\2713';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-teal);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-media {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.06);
}

.service-body {
  padding: 26px 24px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.service-body p {
  color: var(--color-ink-soft);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 16px;
}

.service-body a {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(95, 187, 160, 0.14);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* ---------- Restaurant ---------- */
.restaurant {
  position: relative;
  color: var(--color-white);
  overflow: hidden;
}

.restaurant-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.restaurant-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(14, 26, 61, 0.92) 30%, rgba(14, 26, 61, 0.55) 100%);
}

.restaurant-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.restaurant .eyebrow {
  color: var(--color-teal);
}

.restaurant h2 {
  color: var(--color-white);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 18px;
}

.restaurant p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.restaurant-hours {
  display: flex;
  gap: 30px;
  margin: 28px 0 34px;
  flex-wrap: wrap;
}

.restaurant-hours div strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-teal);
  margin-bottom: 4px;
}

.restaurant-hours div span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Interactive marina map ----------
   Pin positions are percentages of the aerial photo, so they stay
   correct at every screen size. */
.marina-map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}

.marina-map-stage {
  position: relative;
  line-height: 0;
  aspect-ratio: 1700 / 1126;
  overflow: hidden;
  border-radius: var(--radius);
}

.marina-map-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}

.map-pin-dot {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-teal);
  border: 3px solid var(--color-white);
  box-shadow: 0 2px 8px rgba(14, 26, 61, 0.45);
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}

.map-pin-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--color-teal);
  animation: mapPulse 2.4s infinite;
}

@keyframes mapPulse {
  0%   { transform: scale(1);   opacity: 0.9; }
  70%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .map-pin-dot::after { animation: none; }
}

.map-pin-label {
  background: rgba(14, 26, 61, 0.9);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.map-pin:hover .map-pin-label,
.map-pin:focus-visible .map-pin-label,
.map-pin.is-active .map-pin-label {
  opacity: 1;
  transform: translateX(0);
}

.map-pin:hover .map-pin-dot,
.map-pin:focus-visible .map-pin-dot {
  transform: scale(1.2);
}

.map-pin.is-active .map-pin-dot {
  background: var(--color-white);
  border-color: var(--color-teal);
  transform: scale(1.2);
}

.map-pin.is-active .map-pin-dot::after { animation: none; }

.map-card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: min(360px, calc(100% - 40px));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 20px 22px;
  z-index: 3;
  line-height: 1.5;
  animation: mapCardIn 0.25s ease;
}

@keyframes mapCardIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.map-card[hidden] { display: none; }

.map-card-media {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
  display: block;
}

.map-card-stat {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-teal-dark);
  margin-bottom: 4px;
}

.map-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.map-card p {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  margin: 0;
}

.map-card-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-ink-soft);
  cursor: pointer;
  padding: 4px;
}

.map-card-close:hover { color: var(--color-navy); }

.map-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-ink-soft);
  margin-top: 16px;
}

@media (max-width: 760px) {
  .map-pin-label { display: none; }
  .map-pin-dot { width: 24px; height: 24px; }
  .map-card {
    position: static;
    width: 100%;
    margin-top: 16px;
    backdrop-filter: none;
  }
  .marina-map { overflow: visible; }
  .marina-map-stage > img { border-radius: var(--radius); }
}

/* ---------- Live conditions strip ----------
   Sits directly under the hero. Data is fetched client-side from the
   NOAA CO-OPS API (Annapolis station 8575512, the nearest station with
   full meteorological sensors). Hides itself entirely if the API is
   unreachable, so a failed request never leaves a broken bar behind. */
.conditions-strip {
  background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-white);
  border-top: 3px solid var(--color-teal);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.conditions-strip[hidden] {
  display: none;
}

.conditions-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px 42px;
  padding: 32px 0;
  flex-wrap: wrap;
}

.conditions-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-teal);
  white-space: nowrap;
}

.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-teal);
  flex-shrink: 0;
  animation: livePulse 2.4s infinite;
}

@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(95, 187, 160, 0.7); }
  70%  { box-shadow: 0 0 0 12px rgba(95, 187, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 187, 160, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}

.conditions-items {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}

.cond-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cond-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(95, 187, 160, 0.16);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cond-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cond-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  white-space: nowrap;
}

.cond-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  white-space: nowrap;
  margin-top: 2px;
}

.conditions-source {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  width: 100%;
  text-align: right;
}

@media (max-width: 980px) {
  .conditions-items { justify-content: flex-start; }
  .conditions-source { text-align: left; }
}

@media (max-width: 760px) {
  .conditions-inner { gap: 16px; padding: 24px 0; }
  .conditions-items { gap: 10px; width: 100%; }
  .cond-item {
    flex: 1 1 calc(50% - 10px);
    padding: 10px 12px;
    gap: 10px;
  }
  .cond-icon { width: 36px; height: 36px; }
  .cond-value { font-size: 1.2rem; }
  .conditions-source { display: none; }
}

/* ---------- Weather / tide conditions ---------- */
.conditions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.conditions-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  overflow: auto;
}

.conditions-card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

@media (max-width: 980px) {
  .conditions-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.08);
}

.gallery-grid a::after {
  content: '\002B';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-white);
  background: rgba(14, 26, 61, 0.35);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-grid a:hover::after {
  opacity: 1;
}

.gallery-grid .span-2 {
  grid-column: span 2;
}

.gallery-grid .row-2 {
  grid-row: span 2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 26, 61, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px;
}

.testimonial-stars {
  color: var(--color-teal-dark);
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-card p {
  color: var(--color-ink-soft);
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-name {
  font-weight: 700;
  color: var(--color-navy);
  font-size: 0.9rem;
}

/* ---------- Book banner ---------- */
.book-banner {
  background: linear-gradient(120deg, var(--color-navy), var(--color-navy-light));
  color: var(--color-white);
  text-align: center;
  padding: 80px 0;
}

.book-banner h2 {
  color: var(--color-white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.book-banner p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto 32px;
}

.book-banner-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Contact form ---------- */
.form-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid .field-full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-ink);
  background: var(--color-cream);
  transition: border-color var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-teal);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--color-ink-soft);
  line-height: 1.5;
  margin: 18px 0 20px;
}

.form-status {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 14px;
}

.form-status.success { color: var(--color-teal-dark); }
.form-status.error { color: #b3413c; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px;
  border: 1px solid var(--color-border);
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(95, 187, 160, 0.14);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.contact-item p, .contact-item a {
  color: var(--color-ink-soft);
  font-size: 0.94rem;
}

.contact-item a:hover {
  color: var(--color-teal-dark);
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  min-height: 420px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  height: 72px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 320px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.footer-social a:hover {
  background: var(--color-teal);
  color: var(--color-navy);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 700;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--color-teal);
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .container { padding: 0 28px; }
  .hero-actions, .book-banner-actions { gap: 12px; }
  .gallery-grid, .explore-grid, .services-grid, .testimonials-grid, .conditions-grid { gap: 16px; }

  /* Topbar: keep it to phone + social on small screens, the long email
     address and hours string are what caused the wrapping/jumbled look */
  .topbar-info a[href^="mailto:"],
  .topbar-info > span {
    display: none;
  }
  .topbar-info { gap: 14px; font-size: 0.78rem; }

  /* Header: the 98px desktop logo plus the Dockwa button and hamburger
     all in one row was overflowing on narrow screens */
  .brand img { height: 42px; }
  .nav-cta { gap: 10px; }
  #dockwa-book-button .btn {
    padding: 8px 14px;
    font-size: 0.8rem;
    gap: 6px;
  }
  .nav-links, .nav-cta .btn-outline-navy { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    box-shadow: var(--shadow-md);
  }

  .hero {
    min-height: auto;
  }
  .hero-content { padding: 104px 0 46px; }
  .hero-text p { font-size: 1rem; margin-bottom: 24px; }
  .hero-actions { margin-bottom: 28px; }
  .scroll-cue { display: none; }
  .booking-section { padding: 52px 0 60px; }
  .booking-intro { margin-bottom: 22px; }
  .booking-intro h2 { font-size: 1.9rem; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 8px;
  }
  .hero-stats div {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 11px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }
  .hero-stats div strong { font-size: 1.35rem; min-width: 82px; }
  .hero-stats div span { font-size: 0.78rem; }

  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .explore-grid { grid-template-columns: 1fr 1fr; }
  .about-list, .about-list-3col { grid-template-columns: 1fr; }
  .page-hero-content { padding-top: 100px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery-grid .span-2 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .restaurant-content { max-width: 100%; }
  .form-card { padding: 22px 18px; }
}
