/* =================================================================
   SHARED STYLES — Saltwater Sudz LLC
   Extracted from all page-level inline styles.
   ================================================================= */

/* =================================================================
   CSS CUSTOM PROPERTIES
   ================================================================= */
:root {
  --navy: #0B1D3B;
  --teal-blue: #006BA5;
  --teal-blue-hover: #005A8C;
  --sand: #F5F0EB;
  --warm-charcoal: #2D3436;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --body-size: 17px;
  --line-height: 1.65;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --section-gap: 5rem;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 50px;
  --content-size: 800px;
  --wide-size: 1280px;
}

[data-theme="light"] {
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAFBFC;
  --bg-tertiary: #F0F2F5;
  --bg-accent: #F5F0EB;
  --text-primary: #0B1D3B;
  --text-body: #2D3436;
  --text-muted: #5A6872;
  --cta-bg: #006BA5;
  --cta-bg-hover: #005A8C;
  --cta-text: #FFFFFF;
  --secondary-border: #006BA5;
  --secondary-text: #006BA5;
  --secondary-hover-bg: rgba(0, 107, 165, 0.06);
  --card-shadow: 0 2px 12px rgba(11, 29, 59, 0.06), 0 1px 4px rgba(11, 29, 59, 0.04);
  --card-shadow-hover: 0 8px 32px rgba(11, 29, 59, 0.10), 0 2px 8px rgba(11, 29, 59, 0.06);
  --divider: rgba(11, 29, 59, 0.08);
  --embellish-opacity: 0.12;
  --grain-opacity: 0.03;
}

/* =================================================================
   RESET + BASE
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: var(--line-height);
  color: var(--text-body);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }

/* =================================================================
   LAYOUT
   ================================================================= */
.wide-width {
  max-width: var(--wide-size);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.content-width {
  max-width: var(--content-size);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* =================================================================
   STICKY HEADER
   ================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11, 29, 59, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(11, 29, 59, 0.95);
  box-shadow: 0 2px 20px rgba(11, 29, 59, 0.3);
}
.header-inner {
  max-width: var(--wide-size);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo span { color: var(--cta-bg); }
.logo img { height: 48px; width: auto; display: block; }
.footer-brand .logo img { height: 36px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; font-weight: 600; }
.nav-cta {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  background: var(--cta-bg);
  color: var(--cta-text);
  padding: 10px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-block;
}
.nav-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.nav-cta:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 107, 165, 0.3);
}
.nav-cta:hover::after { left: 100%; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, #142E54 50%, #1A3A5C 100%);
  overflow: hidden;
  padding: clamp(8rem, 14vw, 10rem) var(--space-md) clamp(4rem, 8vw, 6rem);
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%; width: 60%; height: 120%;
  background: radial-gradient(ellipse, rgba(0, 107, 165, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: var(--grain-opacity);
  pointer-events: none;
}
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-orb--1 {
  width: 200px; height: 200px;
  top: 10%; right: 8%;
  background: radial-gradient(circle, rgba(51, 153, 221, 0.12) 0%, transparent 70%);
  animation: floatGentle 10s ease-in-out infinite;
}
.hero-orb--2 {
  width: 120px; height: 120px;
  bottom: 20%; right: 25%;
  background: radial-gradient(circle, rgba(0, 107, 165, 0.08) 0%, transparent 70%);
  animation: floatGentle 14s ease-in-out infinite reverse;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--wide-size);
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
.hero-tagline {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3399DD;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s 0.35s forwards;
}
.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(232, 236, 240, 0.8);
  max-width: 52ch;
  text-wrap: pretty;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

/* =================================================================
   WAVE SECTION DIVIDERS
   ================================================================= */
.section-wave {
  position: relative;
  height: 48px;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}
.section-wave svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 48px;
}
.section-wave--to-white svg path { fill: var(--bg-primary); }
.section-wave--to-alt svg path { fill: var(--bg-secondary); }
.section-wave--to-accent svg path { fill: var(--bg-accent); }
.section-wave--to-navy svg path { fill: var(--navy); }
.section-wave--from-navy { background-color: var(--navy); }
.section-wave--from-white { background-color: var(--bg-primary); }
.section-wave--from-alt { background-color: var(--bg-secondary); }
.section-wave--from-accent { background-color: var(--bg-accent); }

/* =================================================================
   SECTIONS
   ================================================================= */
.section { padding: var(--section-gap) 0; }
.section--alt { background-color: var(--bg-secondary); }
.section--accent { background-color: var(--bg-accent); }
.section--navy { background: linear-gradient(160deg, var(--navy) 0%, #142E54 60%, #1A3A5C 100%); color: #FFFFFF; }

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--cta-bg);
  color: var(--cta-text);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 107, 165, 0.2);
}
.btn--primary:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 107, 165, 0.3);
}
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.btn--primary:hover::after { left: 100%; }
.btn--secondary {
  background: transparent;
  color: var(--secondary-text);
  padding: 13px 30px;
  border-radius: var(--radius-md);
  border: 2px solid var(--secondary-border);
}
.btn--secondary:hover {
  background: var(--secondary-hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 107, 165, 0.12);
}
.btn--lg { font-size: 1.05rem; padding: 18px 40px; }

/* =================================================================
   CTA BANNER
   ================================================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #142E54 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -20%; right: -5%; width: 40%; height: 100%;
  background: radial-gradient(ellipse, rgba(51, 153, 221, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}
.cta-banner p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(232, 236, 240, 0.8);
  margin-bottom: var(--space-lg);
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.cta-banner .btn--primary { background: #3399DD; color: #0F1923; position: relative; z-index: 1; }
.cta-banner .btn--primary:hover { background: #5AADEE; }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { background: var(--navy); color: rgba(232, 236, 240, 0.7); padding: var(--space-2xl) 0 var(--space-lg); }
.footer-inner { max-width: var(--wide-size); margin: 0 auto; padding: 0 var(--space-md); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.footer-brand .logo { color: #FFFFFF; font-size: 1.2rem; margin-bottom: var(--space-sm); display: inline-block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; margin-bottom: var(--space-md); max-width: 30ch; }
.footer-col h4 { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(232, 236, 240, 0.5); margin-bottom: var(--space-md); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-xs); }
.footer-col a { font-family: var(--font-body); font-size: 0.88rem; color: rgba(232, 236, 240, 0.7); text-decoration: none; transition: color 0.25s ease; }
.footer-col a:hover { color: #3399DD; }
.footer-bottom { border-top: 1px solid rgba(232, 236, 240, 0.08); padding-top: var(--space-lg); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-md); }
.footer-bottom p { font-size: 0.8rem; color: rgba(232, 236, 240, 0.4); }
.footer-social { display: flex; gap: var(--space-sm); }
.footer-social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(232, 236, 240, 0.06); color: rgba(232, 236, 240, 0.5); transition: all 0.3s ease; }
.footer-social a:hover { background: rgba(51, 153, 221, 0.15); color: #3399DD; }
.footer-social svg { width: 16px; height: 16px; }
.footer-payments { display: flex; gap: var(--space-xs); flex-wrap: wrap; }
.payment-icon { font-family: var(--font-heading); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(232, 236, 240, 0.4); border: 1px solid rgba(232, 236, 240, 0.12); border-radius: 4px; padding: 4px 8px; line-height: 1; }

/* =================================================================
   SCROLL FADE-IN (IntersectionObserver)
   ================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* =================================================================
   ANIMATIONS
   ================================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatGentle {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(5px, -8px); }
  66% { transform: translate(-3px, 5px); }
}

/* =================================================================
   RESPONSIVE — NAV + FOOTER (shared across all pages)
   ================================================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(11, 29, 59, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    gap: var(--space-sm);
  }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
