/* ========================================
   Shore Haven Yacht Club — Main Stylesheet
   Nautical / Maritime Theme
   ======================================== */

/* --- CSS Variables --- */
:root {
  --navy-deep: #071526;
  --navy: #0c2340;
  --navy-mid: #163a5f;
  --blue-dark: #1a5276;
  --blue: #2471a3;
  --blue-light: #5dade2;
  --teal: #1abc9c;
  --teal-dark: #16a085;
  --sand: #f5e6c8;
  --sand-light: #fdf2e0;
  --cream: #faf8f4;
  --white: #ffffff;
  --red-signal: #c0392b;
  --red-light: #e74c3c;
  --gold: #d4a94c;
  --gold-light: #f0d68a;
  --rope: #a67c52;
  --text-dark: #0b1a2e;
  --text-body: #2c3e50;
  --text-muted: #6b7d8e;
  --bg-light: #f0f4f8;
  --bg-page: #fafcfe;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  --shadow-sm: 0 2px 8px rgba(7, 21, 38, 0.08);
  --shadow-md: 0 4px 20px rgba(7, 21, 38, 0.12);
  --shadow-lg: 0 8px 40px rgba(7, 21, 38, 0.16);
  --shadow-xl: 0 16px 60px rgba(7, 21, 38, 0.2);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 100px 0; }

/* --- Top Bar --- */
.top-bar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  padding: 8px 0;
  letter-spacing: 0.04em;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: var(--gold-light); }
.top-bar a:hover { color: var(--white); }

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 35, 64, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
  margin-top: 36px;
}
.site-header.scrolled {
  margin-top: 0;
  background: rgba(7, 21, 38, 0.98);
  box-shadow: var(--shadow-lg);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.logo-icon { width: 44px; height: 44px; color: var(--gold); }
.logo-icon svg { width: 100%; height: 100%; }
.logo-burgee {
  height: 44px;
  width: auto;
  border-radius: 3px;
  object-fit: contain;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo-subtitle {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}

/* Nav */
.main-nav { display: flex; gap: 4px; }
.nav-link {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red-signal);
  color: var(--white);
  border-color: var(--red-signal);
}
.btn-primary:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(192, 57, 43, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-secondary {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}
.btn-secondary:hover {
  background: var(--blue-dark);
  color: var(--white);
}
.btn-large { padding: 18px 40px; font-size: 1.05rem; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(170deg, var(--navy-deep) 0%, var(--navy) 30%, var(--navy-mid) 60%, var(--blue-dark) 100%);
  overflow: hidden;
  padding-top: 108px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Animated waves */
.hero-waves { position: absolute; bottom: 0; left: 0; right: 0; height: 200px; }
.wave {
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath d='M0,60 C240,120 480,0 720,60 C960,120 1200,0 1440,60 L1440,120 L0,120Z' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E") repeat-x bottom;
  background-size: 1440px 120px;
  animation: waveMove 12s linear infinite;
}
.wave-2 {
  opacity: 0.6;
  animation-duration: 16s;
  animation-direction: reverse;
  bottom: -10px;
}
.wave-3 {
  opacity: 0.3;
  animation-duration: 20s;
  bottom: -20px;
}
@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero stars/dots effect */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 40%, rgba(255,255,255,0.2) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 50% 15%, rgba(255,255,255,0.35) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 35%, rgba(255,255,255,0.2) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 25%, rgba(255,255,255,0.25) 50%, transparent 50%),
    radial-gradient(1px 1px at 15% 55%, rgba(255,255,255,0.15) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 80% 10%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 45% 50%, rgba(255,255,255,0.2) 50%, transparent 50%);
  pointer-events: none;
}

/* Compass rose watermark */
.hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='95' stroke='rgba(255,255,255,0.03)' stroke-width='1' fill='none'/%3E%3Ccircle cx='100' cy='100' r='70' stroke='rgba(255,255,255,0.03)' stroke-width='1' fill='none'/%3E%3Cpath d='M100 5 L100 195 M5 100 L195 100' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3Cpath d='M100 5 L108 85 L100 70 L92 85Z' fill='rgba(255,255,255,0.03)'/%3E%3Cpath d='M195 100 L115 108 L130 100 L115 92Z' fill='rgba(255,255,255,0.03)'/%3E%3Cpath d='M100 195 L92 115 L100 130 L108 115Z' fill='rgba(255,255,255,0.03)'/%3E%3Cpath d='M5 100 L85 92 L70 100 L85 108Z' fill='rgba(255,255,255,0.03)'/%3E%3Ctext x='100' y='20' text-anchor='middle' fill='rgba(255,255,255,0.04)' font-size='12' font-family='serif'%3EN%3C/text%3E%3Ctext x='100' y='195' text-anchor='middle' fill='rgba(255,255,255,0.04)' font-size='12' font-family='serif'%3ES%3C/text%3E%3Ctext x='188' y='104' text-anchor='middle' fill='rgba(255,255,255,0.04)' font-size='12' font-family='serif'%3EE%3C/text%3E%3Ctext x='14' y='104' text-anchor='middle' fill='rgba(255,255,255,0.04)' font-size='12' font-family='serif'%3EW%3C/text%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  pointer-events: none;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212, 169, 76, 0.3);
  padding: 8px 24px;
  border-radius: 40px;
  margin-bottom: 32px;
  animation: fadeInUp 1s ease-out 0.2s both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease-out 0.4s both;
}
.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 300;
  animation: fadeInUp 1s ease-out 0.6s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.8s both;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1s ease-out 1.2s both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--navy);
  border-top: 3px solid var(--gold);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* --- Weather Widget --- */
.weather-section {
  background: linear-gradient(170deg, var(--navy-deep), var(--navy-mid));
  padding: 80px 0;
}
.weather-section .section-tag { color: var(--gold); }
.weather-section .section-tag::before { background: var(--gold); }
.weather-section .section-title { color: var(--white); }
.weather-widget { max-width: 900px; margin: 0 auto; }
.weather-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 20px;
}
.weather-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  color: var(--white);
}
.weather-card-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}
.weather-temp {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.weather-feels {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.weather-station-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.weather-card-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  color: var(--gold);
}
.weather-card-icon svg { width: 100%; height: 100%; }
.weather-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.weather-card-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}
.weather-card-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}
.weather-loading, .weather-error {
  text-align: center;
  color: rgba(255,255,255,0.6);
  padding: 40px 0;
}
.weather-source {
  text-align: center;
  margin-top: 20px;
  font-size: 0.75rem;
}
.weather-source a {
  color: rgba(255,255,255,0.35);
  transition: var(--transition);
}
.weather-source a:hover { color: rgba(255,255,255,0.6); }
@media (max-width: 768px) {
  .weather-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .weather-card-main { grid-column: span 2; }
  .weather-temp { font-size: 2.8rem; }
}

/* --- Section Headers --- */
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  position: relative;
  padding-left: 36px;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transform: translateY(-50%);
}
.section-header.center .section-tag { padding-left: 0; }
.section-header.center .section-tag::before { display: none; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
}

/* --- About --- */
.about { background: var(--bg-page); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-lead {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 20px;
}
.about-text p { margin-bottom: 16px; }
.about-text .btn { margin-top: 16px; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feature-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 44px;
  height: 44px;
  color: var(--blue);
  margin-bottom: 16px;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Services Highlight --- */
.services-highlight {
  background: var(--bg-light);
  position: relative;
}
.services-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--teal), var(--blue), var(--navy));
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 260px;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-large { grid-column: span 1; grid-row: span 2; min-height: 544px; }
.service-card-bg {
  position: absolute;
  inset: 0;
  transition: var(--transition);
}
.service-card:hover .service-card-bg { transform: scale(1.03); }
.service-card-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}
.service-card-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.15;
  position: absolute;
  top: 24px;
  right: 28px;
}
.service-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.service-card-content p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 12px;
}
.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-light);
  transition: var(--transition);
}
.service-link:hover { color: var(--white); }

/* --- CTA Banner --- */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  padding: 80px 0;
  overflow: hidden;
}
.cta-waves { position: absolute; bottom: 0; left: 0; right: 0; }
.cta-waves svg { width: 100%; height: auto; }
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-text p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
}

/* --- Events Preview --- */
.events-preview { background: var(--bg-page); }
.events-grid { display: flex; flex-direction: column; gap: 16px; }
.event-card {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}
.event-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}
.event-date {
  text-align: center;
  min-width: 70px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  flex-shrink: 0;
}
.event-month {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.event-day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
}
.event-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.event-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.event-time {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
}
.events-footer { margin-top: 32px; }

/* --- Testimonials --- */
.testimonials {
  background: var(--bg-light);
  position: relative;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--navy) 0, var(--navy) 20px, transparent 20px, transparent 30px, var(--red-signal) 30px, var(--red-signal) 50px, transparent 50px, transparent 60px);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--blue-light);
  opacity: 0.15;
  position: absolute;
  top: 12px;
  left: 24px;
  line-height: 1;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-card > p {
  font-family: var(--font-accent);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-body);
  color: var(--navy);
  font-size: 0.92rem;
}
.testimonial-author span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Location --- */
.location { background: var(--bg-page); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.location-details { margin-top: 32px; }
.location-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.location-item:last-child { border-bottom: none; }
.location-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.location-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.location-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-placeholder {
  background: var(--navy-mid);
  padding: 0;
}
.map-illustration svg {
  width: 100%;
  height: auto;
  display: block;
}
.map-note {
  text-align: center;
  padding: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  background: var(--navy-deep);
}
.map-note a { color: var(--gold-light); text-decoration: underline; }

/* --- Footer --- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding-top: 0;
  position: relative;
}
.footer-wave {
  position: relative;
  top: -1px;
}
.footer-wave svg { width: 100%; height: auto; display: block; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0 40px;
}
.footer-logo { margin-bottom: 20px; }
.footer-logo .logo-icon { width: 36px; height: 36px; }
.footer-logo .logo-burgee { height: 36px; }
.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}
.footer-links h4, .footer-contact h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.footer-links a {
  display: block;
  font-size: 0.88rem;
  padding: 5px 0;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-light); transform: translateX(4px); }
.footer-contact p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.footer-contact a { color: var(--gold-light); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
}
.footer-fine {
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
  margin-top: 6px;
}

/* --- Inner Pages Common --- */
.page-hero {
  background: linear-gradient(170deg, var(--navy-deep), var(--navy-mid));
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,15 1440,30 L1440,60 L0,60Z' fill='%23fafcfe'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.page-content {
  padding: 80px 0;
}
.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 16px;
  margin-top: 48px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy-mid);
  margin-bottom: 10px;
  margin-top: 28px;
}
.page-content p { margin-bottom: 16px; }
.page-content ul {
  margin: 12px 0 20px 24px;
  list-style: none;
}
.page-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.page-content ul li::before {
  content: '⚓';
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  top: 3px;
}

/* Info Boxes */
.info-box {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 36px;
  margin-bottom: 28px;
}
.info-box h3 {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
}

/* Rates Table */
.rates-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 0.92rem;
}
.rates-table thead th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}
.rates-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.rates-table thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.rates-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.rates-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.02); }
.rates-table tbody tr:hover { background: rgba(36, 113, 163, 0.05); }

/* Contact Form */
.contact-form {
  max-width: 640px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(36, 113, 163, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 20px;
  transition: var(--transition);
}
.gallery-item:hover .gallery-placeholder { transform: scale(1.05); }

/* Membership Tiers */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.membership-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 40px 32px;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
}
.membership-card.featured {
  border-color: var(--gold);
  transform: scale(1.03);
}
.membership-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.membership-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.membership-card.featured:hover { transform: translateY(-6px) scale(1.03); }
.membership-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 8px;
  margin-top: 0;
}
.membership-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue-dark);
}
.membership-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}
.membership-card p.membership-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 12px 0 20px;
}
.membership-card ul {
  text-align: left;
  margin: 0 0 24px;
  list-style: none;
  padding: 0;
}
.membership-card ul li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 0.88rem;
}
.membership-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-large { grid-column: span 2; grid-row: span 1; min-height: 300px; }
  .location-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .membership-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .membership-card.featured { transform: none; }
  .membership-card.featured:hover { transform: translateY(-6px); }
}

@media (max-width: 768px) {
  .top-bar { display: none !important; height: 0; overflow: hidden; }
  .site-header { margin-top: 0; position: fixed; top: 0; }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: auto;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 20px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: none;
  }
  .main-nav.open { display: flex; }
  .mobile-toggle { display: flex; position: relative; z-index: 1002; }
  .header-inner { height: 64px; position: relative; z-index: 1001; }
  .logo-burgee { height: 36px; }
  .logo-name { font-size: 1.1rem; }
  .logo-subtitle { font-size: 0.75rem; letter-spacing: 0.08em; }
  .logo { gap: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-number { font-size: 2.2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-large { grid-column: span 1; min-height: 260px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 90vh; }
  .section-pad { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
