/* ======================================================
   WhirlyBoat Theme v1.0 — Golden Template
   Palette: Cream / Seafoam / Aqua / Teal / Red
   Mobile-first, static, no dependencies
   ====================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Pacifico&display=swap");

:root {
  /* Brand palette */
  --bg: #FAF4E5;
  --surface: #FFFFFF;
  --ink: #0B1F2A;
  --muted: #5B6B73;

  --primary: #008B98;
  /* teal */
  --primary-soft: #A5D9D1;
  /* seafoam */
  --accent: #4AB8C1;
  /* aqua */
  --danger: #C61417;

  --border: #E2E6E8;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  --font-accent: "Pacifico", cursive;

  /* Layout */
  --max: 1120px;
  --pad: 18px;
  --radius: 16px;
  --shadow: 0 10px 28px rgba(0, 0, 0, .08);
}

/* Base reset */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Header + Navigation */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  font-weight: 800;
  letter-spacing: .3px;
}

.nav {
  display: flex;
  gap: 14px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 12px;
}

.nav a:hover {
  background: var(--primary-soft);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
}

.nav-panel {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.nav-panel a {
  display: block;
  padding: 12px 18px;
}

.nav-panel.is-open {
  display: block;
}

/* Hero */
.page-hero {
  padding: 30px 0;
}

.hero-card {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card h1 {
  margin: 0 0 6px;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.hero-card p {
  margin: 0;
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 28px 0 40px;
}

.section-title {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 700;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--primary);
  color: var(--primary);
}

/* Footer */
.site-footer {
  background: #0b0b0b;
  color: #e5e5e5;
  padding: 28px 0;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }
}

/* ======================================================
   Events + Gallery (v1.0 add-on)
   ====================================================== */

.kicker {
  color: rgba(255, 255, 255, .9);
  font-weight: 600;
  letter-spacing: .2px;
  margin: 0 0 10px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--ink);
  font-weight: 700;
  font-size: .9rem;
}

.muted {
  color: var(--muted);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.list {
  padding-left: 18px;
}

.hr {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 18px 0;
}

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 220px;
  }
}