/* ============================================================
   P&P BOAT DETAILING — STYLES
   The color palette lives in the variables right below.
   Change a color here and it updates across the whole site.
   ============================================================ */

:root {
  --navy: #0b2b4a;        /* main brand color */
  --navy-dark: #071e35;   /* darker navy for footer/hero */
  --navy-deep: #041424;   /* deepest navy for hero sky */
  --sand: #f4efe6;        /* warm sandy background */
  --sand-dark: #e8d5ab;   /* gold-sand accent (buttons, highlights) */
  --gold: #c9a86a;        /* deeper gold for accents */
  --white: #ffffff;
  --ink: #1d2b3a;         /* body text color */
  --ink-soft: #5a6b7d;    /* lighter text */
  --line: #e3e8ee;        /* borders */

  --font-heading: "Fraunces", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

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

/* Anything JS marks as hidden stays hidden, no matter its layout style
   (this is what makes the booking form disappear after a submission) */
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.35rem; }

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

.container {
  width: min(1100px, 100% - 2.5rem);
  margin-inline: auto;
}

.container-narrow { max-width: 720px; }

.section { padding: 5rem 0; position: relative; }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #a8894d;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--ink-soft);
  max-width: 55ch;
  margin-bottom: 2rem;
}

.section-sand { background: var(--sand); }

.section-navy { background: var(--navy); }
.section-navy h2 { color: var(--white); }
.section-navy .section-sub { color: #b9c9d9; }

/* ============================================================
   SCROLL PROGRESS BAR (thin gold line at the very top)
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--sand-dark));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 200;
  pointer-events: none;
}

/* ============================================================
   SCROLL REVEAL — elements with .reveal fade & rise into view.
   JS adds .visible when they enter the screen.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }

/* Headings draw a gold underline as they appear */
.underline-draw { position: relative; padding-bottom: 0.6rem; }
.underline-draw::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 76px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--sand-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}
.underline-draw.visible::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 26px rgba(7, 30, 53, 0.28); }
.btn:active { transform: translateY(-1px) scale(0.99); }

/* Light sweep that slides across buttons on hover */
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn:hover::before { left: 130%; }

.btn-gold { background: linear-gradient(135deg, var(--sand-dark), #dfc491); color: var(--navy-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-outline { border-color: rgba(255,255,255,0.7); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.btn-full { width: 100%; border: none; font-family: var(--font-body); }

/* Soft pulsing glow on the main call-to-action buttons */
.btn-glow { animation: btnPulse 2.6s ease-in-out infinite; }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 213, 171, 0.55); }
  50%      { box-shadow: 0 0 0 14px rgba(232, 213, 171, 0); }
}
.btn-glow:hover { animation: none; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* JS adds .scrolled once you scroll down — nav gets its navy background */
.site-header.scrolled,
.site-header.solid {
  background: rgba(7, 30, 53, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(4, 20, 36, 0.35);
}

/* On pages without a hero (like book.html) the header stays in the page flow */
.site-header.solid { position: sticky; }

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.logo-wave { width: 34px; height: 22px; color: var(--sand-dark); flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a:not(.btn) {
  color: #cfdcea;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 2px;
  background: var(--sand-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:not(.btn):hover { color: var(--white); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }

/* Hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO — full-screen animated ocean
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  padding: 7rem 0 9rem;
}

/* Slowly shifting deep-sea gradient */
.hero-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg,
    var(--navy-deep) 0%,
    #0a2a4a 30%,
    #0e3a63 55%,
    #11466f 75%,
    #0b2b4a 100%);
  background-size: 100% 220%;
  animation: skyShift 14s ease-in-out infinite alternate;
}
@keyframes skyShift {
  from { background-position: 50% 0%; }
  to   { background-position: 50% 100%; }
}

/* Soft moonlight glow */
.hero-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 42% at 50% 30%, rgba(232, 213, 171, 0.14), transparent 70%);
}

.hero-inner { position: relative; z-index: 5; will-change: transform; }

.hero-logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35), 0 0 0 5px rgba(232, 213, 171, 0.35);
  animation: logoBob 5s ease-in-out infinite;
}
@keyframes logoBob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-12px) rotate(1.5deg); }
}

.hero-title { color: var(--white); margin: 0.5rem 0 1rem; }

/* "showroom clean." gets a moving gold shimmer */
.shimmer-text {
  background: linear-gradient(100deg,
    var(--sand-dark) 20%, #fff6e0 40%, var(--gold) 55%, var(--sand-dark) 75%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  to { background-position: -250% center; }
}

/* Staggered entrance for hero content on page load */
.hero-logo    { opacity: 0; animation: heroIn 0.9s cubic-bezier(0.22,1,0.36,1) 0.1s forwards, logoBob 5s ease-in-out 1s infinite; }
.hero-eyebrow { opacity: 0; animation: heroIn 0.9s cubic-bezier(0.22,1,0.36,1) 0.3s forwards; }
.hero-title   { opacity: 0; animation: heroIn 0.9s cubic-bezier(0.22,1,0.36,1) 0.45s forwards; }
.hero-sub     { opacity: 0; animation: heroIn 0.9s cubic-bezier(0.22,1,0.36,1) 0.6s forwards; }
.hero-buttons { opacity: 0; animation: heroIn 0.9s cubic-bezier(0.22,1,0.36,1) 0.75s forwards; }
.hero-note    { opacity: 0; animation: heroIn 0.9s cubic-bezier(0.22,1,0.36,1) 0.9s forwards; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sand-dark);
}

.hero-sub {
  max-width: 46ch;
  margin: 0 auto 2rem;
  font-size: 1.12rem;
  color: #d4e0ec;
}

.hero-buttons {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note { margin-top: 1.3rem; font-size: 0.95rem; color: #b9c9d9; }

/* The boat sailing across the horizon */
.hero-boat {
  position: absolute;
  bottom: 118px;   /* sits right in the waves */
  left: 0;
  width: clamp(70px, 9vw, 110px);
  color: rgba(226, 236, 245, 0.9);
  z-index: 2;      /* behind the front wave, so it looks like it's on the water */
  animation: sail 34s linear infinite;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.3));
}
.hero-boat svg { animation: rock 4s ease-in-out infinite; }
@keyframes sail {
  from { transform: translateX(-20vw); }
  to   { transform: translateX(115vw); }
}
@keyframes rock {
  0%, 100% { transform: rotate(-2.5deg) translateY(0); }
  50%      { transform: rotate(2.5deg) translateY(-6px); }
}

/* Bubbles / sea-spray drifting up (created by script.js) */
.hero-bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-bubbles span {
  position: absolute;
  bottom: -30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.5), rgba(255,255,255,0.06) 65%);
  animation: rise linear infinite;
}
@keyframes rise {
  from { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.4; }
  to   { transform: translateY(-105vh) translateX(6vw); opacity: 0; }
}

/* Rolling waves at the bottom (three drifting layers) */
.waves {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 170px;
  z-index: 3;
  pointer-events: none;
}
.wave {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 100%;
  background-repeat: repeat-x;
  background-size: 1100px 100%;
  background-position-y: bottom;
}
.wave-back {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1100 170" preserveAspectRatio="none"><path d="M0 90 C 180 40, 370 140, 550 90 C 730 40, 920 140, 1100 90 L1100 170 L0 170 Z" fill="rgba(232,213,171,0.16)"/></svg>');
  animation: drift 17s linear infinite;
}
.wave-mid {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1100 170" preserveAspectRatio="none"><path d="M0 105 C 200 60, 350 150, 550 105 C 750 60, 900 150, 1100 105 L1100 170 L0 170 Z" fill="rgba(255,255,255,0.22)"/></svg>');
  animation: drift 11s linear infinite reverse;
}
.wave-front {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1100 170" preserveAspectRatio="none"><path d="M0 120 C 180 80, 370 160, 550 120 C 730 80, 920 160, 1100 120 L1100 170 L0 170 Z" fill="%23ffffff"/></svg>');
  animation: drift 8s linear infinite;
}
@keyframes drift {
  from { background-position-x: 0; }
  to   { background-position-x: 1100px; }
}

/* Bouncing scroll-down cue */
.scroll-cue {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  width: 30px; height: 48px;
  border: 2px solid rgba(11, 43, 74, 0.5);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 5px; height: 10px;
  border-radius: 3px;
  background: var(--navy);
  animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   STATS BAND — numbers count up when scrolled into view
   ============================================================ */
.stats-band { background: var(--white); padding: 3.5rem 0 1rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.stat-label {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
  perspective: 1200px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 2px 10px rgba(7, 30, 53, 0.05);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease;
}
.service-card:hover { box-shadow: 0 18px 44px rgba(7, 30, 53, 0.18); }

/* Diagonal light sheen that sweeps across a card on hover */
.card-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(232, 213, 171, 0.22) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s ease;
}
.service-card:hover .card-sheen { transform: translateX(110%); }

.service-card-featured {
  border: 2px solid var(--navy);
  box-shadow: 0 10px 30px rgba(7, 30, 53, 0.14);
}

.service-badge {
  position: absolute;
  top: 30px; right: -55px;
  width: 210px;
  transform: rotate(45deg);
  text-align: center;
  background: linear-gradient(135deg, var(--navy), #14487a);
  color: var(--sand-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.service-card ul {
  list-style: none;
  flex-grow: 1;
  color: var(--ink-soft);
}

.service-card li {
  padding: 0.35rem 0 0.35rem 1.6rem;
  position: relative;
}
.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #a8894d;
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--ink-soft);
}

/* ============================================================
   WAVE DIVIDERS between sections
   ============================================================ */
.divider {
  height: 90px;
  background-repeat: repeat-x;
  background-size: 1100px 100%;
  animation: drift 22s linear infinite;
}
.divider-to-sand {
  background-color: var(--white);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1100 90" preserveAspectRatio="none"><path d="M0 45 C 180 5, 370 85, 550 45 C 730 5, 920 85, 1100 45 L1100 90 L0 90 Z" fill="%23f4efe6"/></svg>');
}
.divider-to-navy {
  background-color: var(--white);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1100 90" preserveAspectRatio="none"><path d="M0 45 C 180 5, 370 85, 550 45 C 730 5, 920 85, 1100 45 L1100 90 L0 90 Z" fill="%230b2b4a"/></svg>');
}

/* ============================================================
   FREE QUOTE BAND — the big obvious path to the booking form
   ============================================================ */
.quote-band { text-align: center; }

.quote-inner { max-width: 680px; }

.quote-sub {
  color: var(--ink-soft);
  font-size: 1.12rem;
  margin: 0.5rem 0 2rem;
}

.btn-big {
  font-size: 1.2rem;
  padding: 1.15rem 2.6rem;
  border-radius: 14px;
}

.quote-alt {
  margin-top: 1.5rem;
  color: var(--ink-soft);
}
.quote-alt a { color: var(--navy); text-decoration: none; }
.quote-alt a:hover { text-decoration: underline; }

/* ============================================================
   BEFORE / AFTER SLIDERS — drag the handle to compare
   (Not currently used on the site — this is saved for the day
   you have real before/after photos and want the gallery back.)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 1.75rem;
}

.ba-slider {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(7, 30, 53, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ba-slider:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(7, 30, 53, 0.2);
}

.ba-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;      /* still lets people scroll the page vertically */
  --pos: 50%;               /* slider position, updated by script.js */
  user-select: none;
  -webkit-user-select: none;
}

.ba-after-layer,
.ba-before-layer {
  position: absolute;
  inset: 0;
}

/* The BEFORE layer sits on top and gets clipped at the handle position */
.ba-before-layer {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-after-layer img,
.ba-before-layer img,
.ba-frame .photo-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The vertical divider line + round grab handle */
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--white);
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}
.ba-knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

.ba-tag {
  position: absolute;
  top: 12px;
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  pointer-events: none;
}
.ba-tag-before { left: 12px; background: rgba(29, 43, 58, 0.85); color: var(--white); }
.ba-tag-after { right: 12px; background: var(--sand-dark); color: var(--navy-dark); }

.ba-slider figcaption {
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

/* Placeholder art until real photos go in:
   "before" looks murky, "after" looks glossy with a moving glint */
.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 1rem;
}
.photo-placeholder span {
  background: rgba(255,255,255,0.75);
  color: #47607a;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}
/* Placeholder labels sit in their own half so the divider doesn't cut them */
.ba-frame .ph-before { justify-content: flex-start; align-items: flex-end; padding: 1.4rem; }
.ba-frame .ph-after { justify-content: flex-end; align-items: flex-end; padding: 1.4rem; }

.ph-before {
  background:
    radial-gradient(ellipse 120% 60% at 30% 20%, rgba(122, 106, 78, 0.5), transparent 60%),
    linear-gradient(135deg, #8d9aa3 0%, #6e7f8c 45%, #5d6e7c 100%);
}
.ph-after {
  background:
    radial-gradient(ellipse 90% 50% at 70% 25%, rgba(255,255,255,0.5), transparent 60%),
    linear-gradient(135deg, #2e6da0 0%, #10456f 50%, #0b2b4a 100%);
  position: relative;
  overflow: hidden;
}
/* A glint of light sweeps across the "after" side forever */
.ph-after::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: glint 3.6s ease-in-out infinite;
}
@keyframes glint {
  0%       { transform: translateX(-120%); }
  55%, 100% { transform: translateX(120%); }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.about-text p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.about-text .btn { margin-top: 0.4rem; }

.about-photo-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(7, 30, 53, 0.18);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}
.about-photo-wrap:hover { transform: rotate(0deg) scale(1.02); }

.about-photo-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
}

/* ============================================================
   SERVICE AREA — infinite scrolling harbor ticker
   ============================================================ */
.marquee {
  overflow: hidden;
  margin-top: 1.5rem;
  padding: 1rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.2rem;
  padding-right: 2.2rem;
}

.marquee-list li {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.marquee-list li:nth-child(even) {
  font-size: 1rem;
  color: var(--sand-dark);
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 0.9rem;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-item[open] {
  border-color: var(--sand-dark);
  box-shadow: 0 8px 24px rgba(7, 30, 53, 0.1);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.05rem 1.2rem;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: #a8894d;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(135deg); }

.faq-item p {
  padding: 0 1.2rem 1.1rem;
  color: var(--ink-soft);
}
.faq-item[open] p { animation: faqOpen 0.35s ease; }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CTA BAND — slow-moving navy & gold gradient
   ============================================================ */
.cta-band {
  text-align: center;
  background: linear-gradient(120deg, var(--navy-dark), var(--navy), #14487a, #a8894d, var(--navy));
  background-size: 320% 320%;
  animation: ctaShift 12s ease-in-out infinite alternate;
}
@keyframes ctaShift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}
.cta-band h2 { color: var(--white); margin-bottom: 1.75rem; }

/* ---------- Booking page / form ---------- */
.booking-section { padding-top: 3.5rem; }
.booking-title { margin-bottom: 0.75rem; }

.booking-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 18px rgba(7, 30, 53, 0.07);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field { display: flex; flex-direction: column; gap: 0.35rem; }

.form-field label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.req { color: #b3452e; }
.optional { color: var(--ink-soft); font-weight: 400; font-size: 0.85rem; }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(11, 43, 74, 0.1);
}

.form-error {
  color: #b3452e;
  font-weight: 600;
  text-align: center;
}

.form-success {
  text-align: center;
  background: var(--sand);
  border-radius: 16px;
  padding: 3rem 1.5rem;
  animation: heroIn 0.7s cubic-bezier(0.22,1,0.36,1);
}
.form-success svg { margin: 0 auto 1rem; }
.form-success h2 { margin-bottom: 0.4rem; }
.form-success p { color: var(--ink-soft); }

.form-alt {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--ink-soft);
}
.form-alt a { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #b9c9d9;
  padding: 3rem 0 1.5rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-heading {
  color: var(--sand-dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.site-footer a { color: #dbe6f0; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #7f93a8;
}

/* ============================================================
   MOBILE STYLES (screens narrower than 720px)
   ============================================================ */
@media (max-width: 720px) {

  .section { padding: 3.5rem 0; }

  /* Nav collapses into a hamburger menu */
  .nav-toggle { display: flex; }

  .site-header { background: rgba(7, 30, 53, 0.92); }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.6rem 0; }
  .nav-links .btn { display: block; margin-top: 0.5rem; }

  .hero { padding: 6.5rem 0 8rem; }
  .hero-logo { width: 120px; height: 120px; }
  .hero-buttons .btn { width: 100%; max-width: 320px; }
  .hero-boat { bottom: 76px; }
  .waves { height: 110px; }

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

  .divider { height: 50px; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo-img { max-height: 380px; }

  .form-row { grid-template-columns: 1fr; }

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

/* ============================================================
   ACCESSIBILITY — people who turn on "reduce motion" in their
   phone/computer settings get a calm version of the site.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .underline-draw::after { transform: scaleX(1); }
  .hero-boat { display: none; }
}
