/* ============================================================
   EVENTS BY WATER — Global Stylesheet
   Edit THIS file to update fonts, colors, and sizes
   across ALL pages simultaneously.
   
   HOW TO USE:
   - Change a font? Edit font-family here, updates everywhere
   - Change a color? Edit the :root variable, updates everywhere
   - Change a size? Edit the selector here, updates everywhere
   ============================================================ */

/* ── BRAND VARIABLES ────────────────────────────────────────
   Change these to retheme the entire site instantly          */
:root {
  --navy:       #0a2342;   /* Primary dark background */
  --gold:       #c9a84c;   /* Accent color — CTAs, labels, highlights */
  --gold-hover: #b8962f;   /* Gold hover state */
  --teal:       #0d7a6b;   /* Success, prices, secondary accent */
  --mist:       #f8f9fa;   /* Light section backgrounds */
  --white:      #ffffff;
  --body-text:  #555555;   /* Body copy on white backgrounds */
  --border:     #e9ecef;   /* Card and input borders */

  --font-serif: Georgia, 'Times New Roman', serif;  /* Headlines */
  --font-sans:  Arial, Helvetica, sans-serif;       /* Body, nav, UI */

  --max-width:  1100px;    /* Maximum content width */
  --nav-height: 68px;      /* Fixed nav bar height */
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── BASE ───────────────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  background: var(--white);
  padding-top: var(--nav-height); /* Space for fixed nav */
}

/* ── TYPOGRAPHY — change font/size/color here ───────────── */

/* H1 — Main page hero headline */
h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: normal;
  line-height: 1.2;
  color: var(--white);           /* Hero headlines are on dark bg */
}

/* H2 — Section headings */
h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: normal;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

/* H2 on dark background */
.dark h2,
.hero h2 {
  color: var(--white);
}

/* H3 — Card titles, form block headings */
h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: normal;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* H3 on dark background */
.dark h3 {
  color: var(--white);
}

/* H4 — Sub-headings, small titles */
h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Paragraphs */
p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--body-text);
  margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

/* Paragraphs on dark backgrounds */
.dark p,
.hero p {
  color: rgba(255, 255, 255, 0.75);
}

/* Section labels — "CHARTERS", "HOW IT WORKS" etc */
.section-label,
.label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

/* Links */
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* Strong */
strong { font-weight: bold; color: inherit; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.section {
  padding: 5rem 1.5rem;
}

.section-inner,
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); }

/* ── HERO SECTIONS ──────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 6rem 1.5rem 4rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 3px;
  padding: 5px 16px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

/* ── BUTTONS ─────────────────────────────────────────────── */

/* Primary button — gold background */
.btn-primary,
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: bold;
  padding: 14px 32px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover,
.btn-gold:hover {
  background: var(--gold-hover);
  text-decoration: none;
  color: var(--navy);
}

/* Secondary button — outline on dark backgrounds */
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 14px 32px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: border-color 0.2s;
}
.btn-outline:hover {
  border-color: var(--white);
  text-decoration: none;
  color: var(--white);
}

/* Dark button — navy background for use on white sections */
.btn-dark {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 10px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-dark:hover { background: #0d3b6e; text-decoration: none; color: var(--white); }

/* Submit button — full width, for forms */
.btn-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 1px;
  padding: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: #0d3b6e; }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

/* Card on dark background */
.card--dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 1.75rem;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* ── FORMS ───────────────────────────────────────────────── */
.form-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

/* Form block heading (h3) */
.form-block h3 {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}

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

.form-group {
  margin-bottom: 1rem;
}

/* Form labels */
.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 5px;
}

/* Form inputs */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { height: 100px; resize: vertical; }

/* Checkbox and radio groups */
.checkbox-group,
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.checkbox-group label,
.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-group input[type="checkbox"],
.radio-group input[type="radio"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Info box — highlighted note */
.info-box {
  background: var(--mist);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 6px 6px 0;
}
.info-box p { font-size: 14px; color: #555; line-height: 1.7; }

/* Success message after form submit */
.form-success {
  background: rgba(13, 122, 107, 0.1);
  border: 1px solid var(--teal);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  margin-top: 1rem;
  display: none;
}
.form-success h3 { color: var(--teal); margin-bottom: 0.5rem; }
.form-success p  { font-size: 14px; }

/* ── STATS STRIP ─────────────────────────────────────────── */
.stats {
  background: var(--navy);
  padding: 2rem 1.5rem;
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
}

/* Stat number — large gold number */
.stat-val {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
}

/* Stat label — small white text below number */
.stat-lbl {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

/* ── FOOTER ──────────────────────────────────────────────── */
/* Footer is injected by nav.js — styles in nav.js */

/* ── UTILITY CLASSES ─────────────────────────────────────── */
.text-gold  { color: var(--gold); }
.text-teal  { color: var(--teal); }
.text-navy  { color: var(--navy); }
.text-white { color: var(--white); }
.text-muted { color: rgba(255,255,255,0.5); }
.text-center { text-align: center; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .section  { padding: 3rem 1rem; }
  .hero     { padding: 4rem 1rem 3rem; }
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .btn-primary,
  .btn-outline,
  .btn-gold { padding: 12px 24px; font-size: 13px; }
}
