@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

/* =========================================================
   Tenkara Bug-Out 2026 — site styles
   Brand blue #25B9F4 forward. Navy ink for contrast.
   Headings: Montserrat · Body: Inter
   ========================================================= */

:root {
  --brand: #25B9F4;          /* THE brand blue — header, hero, footer, accents */
  --brand-dark: #0f9bd8;     /* darker brand — button hovers, borders */
  --on-brand: #06303f;       /* navy ink for text sitting on brand blue */
  --forest: #0d4a64;         /* deep blue — h3 / secondary headings */
  --forest-deep: #08374f;    /* deepest navy — headlines, dark buttons */
  --river: #0e8fce;          /* readable mid-blue — links on white */
  --river-light: #e7f6fd;    /* light blue tint — section backgrounds */
  --sand: #f2fafd;           /* page background — soft blue-white */
  --sand-deep: #d8edf6;      /* slightly deeper tint — inner borders */
  --ink: #163240;            /* body text */
  --ink-soft: #4a6573;
  --line: #cfe3ee;           /* hairlines */
  --white: #ffffff;
  --max: 1080px;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(8, 55, 79, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Montserrat', -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--forest-deep);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-top: 1.6em; }
h3 { font-size: 1.15rem; margin-top: 1.3em; color: var(--forest); }

p { margin: 0 0 1em; }

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

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / Nav (brand blue) ---------- */
.site-header {
  background: var(--brand);
  color: var(--on-brand);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(8, 55, 79, 0.18);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
  line-height: 1.1;
  text-shadow: 0 1px 5px rgba(6,48,63,0.45);
}
.brand-logo { height: 52px; width: auto; display: block; }
.brand span { display: flex; flex-direction: column; }
.brand span em { font-style: normal; font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.85); letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; text-shadow: none; }

.nav-toggle {
  background: rgba(255,255,255,0.25);
  border: 1.5px solid var(--on-brand);
  color: var(--on-brand);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  background: var(--brand);
  border-top: 1px solid rgba(6,48,63,0.15);
}
.nav-links.open { display: flex; }
.nav-links li { border-bottom: 1px solid rgba(6,48,63,0.12); }
.nav-links a {
  display: block;
  color: var(--on-brand);
  text-decoration: none;
  padding: 13px 20px;
  font-size: 0.98rem;
  font-weight: 600;
}
.nav-links a:hover, .nav-links a.active { background: var(--forest-deep); color: #fff; }

/* Register call-to-action in the nav */
.nav-cta {
  background: var(--forest-deep);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #0a2c3a !important; color: #fff !important; }

/* ---------- Hero (brand blue) ---------- */
.hero {
  background: linear-gradient(165deg, #3ec6f7 0%, var(--brand) 55%, #15a8ec 100%);
  color: #fff;
  padding: 44px 20px 50px;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.hero-text { flex: 1; }
.hero-art { flex: 0 0 auto; }
.hero-logo {
  height: 210px;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 20px rgba(6,48,63,0.30));
}
.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-bottom: 12px;
}
.hero h1 { color: #fff; font-size: 2.7rem; margin-bottom: 0.3em; text-shadow: 0 2px 12px rgba(6,48,63,0.38); }
.hero .tagline { font-size: 1.18rem; color: #fff; max-width: 620px; margin: 0 auto 1.4em; font-weight: 500; text-shadow: 0 1px 6px rgba(6,48,63,0.28); }
.hero .facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5em;
}
.hero .facts span { display: inline-flex; align-items: center; gap: 6px; }

@media (min-width: 880px) {
  .hero { padding: 54px 20px 58px; }
  .hero-inner { flex-direction: row; text-align: left; justify-content: space-between; gap: 44px; }
  .hero-text { max-width: 600px; }
  .hero .tagline { margin-left: 0; }
  .hero .facts { justify-content: flex-start; }
  .hero-logo { height: 320px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--brand);
  color: var(--on-brand);
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  margin: 4px 3px;
  box-shadow: var(--shadow);
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
/* dark = navy button (pops on the blue hero) */
.btn.dark { background: var(--forest-deep); color: #fff; }
.btn.dark:hover { background: #0a2c3a; }
/* light = white button with navy text */
.btn.light { background: #fff; color: var(--forest-deep); }
.btn.light:hover { background: #eaf6fc; }
/* secondary = ghost button for the blue hero */
.btn.secondary { background: rgba(255,255,255,0.28); color: var(--forest-deep); border: 1.5px solid var(--forest-deep); box-shadow: none; }
.btn.secondary:hover { background: rgba(255,255,255,0.5); }
/* outline = for white sections */
.btn.outline { background: transparent; color: var(--river); border: 2px solid var(--river); box-shadow: none; }
.btn.outline:hover { background: var(--river-light); }

/* ---------- Sections / Cards ---------- */
main { padding: 36px 0 10px; }

.page-intro { max-width: 760px; margin-bottom: 8px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 18px 0;
  box-shadow: var(--shadow);
}
.card h2 { margin-top: 0; }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) {
  .grid.two { grid-template-columns: 1fr 1fr; }
  .grid.three { grid-template-columns: 1fr 1fr 1fr; }
}

.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.08s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
a.tile:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 12px 28px rgba(8,55,79,0.14); }
.tile h3 { margin-top: 0; }
.tile .tile-link { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--river); }

.badge {
  display: inline-block;
  background: var(--brand);
  color: var(--on-brand);
  border-radius: 999px;
  padding: 4px 13px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

/* ---------- Schedule timeline ---------- */
.day-block { margin: 24px 0; }
.day-head {
  background: var(--brand);
  color: var(--on-brand);
  padding: 11px 18px;
  border-radius: 10px 10px 0 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
}
.day-body { background: var(--white); border: 1px solid var(--line); border-top: none; border-radius: 0 0 10px 10px; }
.slot { display: flex; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--sand-deep); }
.slot:last-child { border-bottom: none; }
.slot .time { flex: 0 0 110px; font-weight: 700; color: var(--river); font-size: 0.95rem; }
.slot .what { flex: 1; }
.slot .what strong { display: block; color: var(--forest-deep); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--river-light); color: var(--forest-deep); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
tr:last-child td { border-bottom: none; }

/* ---------- Lists ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--sand-deep); }
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: "✓"; position: absolute; left: 4px; top: 8px; color: var(--brand-dark); font-weight: 700; }

/* ---------- Sponsors ---------- */
.sponsor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .sponsor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .sponsor-grid { grid-template-columns: repeat(4, 1fr); } }
.sponsor {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  text-decoration: none;
  color: var(--forest-deep);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  transition: transform 0.08s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.sponsor:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 12px 26px rgba(8,55,79,0.14); }
.sponsor-logo { height: 58px; display: flex; align-items: center; justify-content: center; }
/* Thin dark outline so light/white logos (Tenkara Guides, DRAGONtail, etc.) stay visible on white tiles */
.sponsor-logo img {
  max-height: 58px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter:
    drop-shadow(1px 0 0 rgba(20,48,64,0.55))
    drop-shadow(-1px 0 0 rgba(20,48,64,0.55))
    drop-shadow(0 1px 0 rgba(20,48,64,0.55))
    drop-shadow(0 -1px 0 rgba(20,48,64,0.55));
}
.sponsor-name { font-weight: 700; font-size: 0.9rem; line-height: 1.25; color: var(--forest-deep); }
.sponsor.no-link { cursor: default; }
.sponsor.no-link .sponsor-name { color: var(--ink-soft); }

.perk {
  background: var(--river-light);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 12px 0;
}
.perk code {
  background: var(--forest-deep);
  color: #fff;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* ---------- Map ---------- */
.map-frame {
  width: 100%;
  height: 460px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Callout ---------- */
.note {
  background: var(--river-light);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 0.96rem;
}

/* ---------- Footer (brand blue) ---------- */
.site-footer {
  background: var(--brand);
  color: rgba(6,48,63,0.85);
  margin-top: 48px;
  padding: 34px 20px;
  text-align: center;
  font-size: 0.92rem;
}
.site-footer strong { color: var(--on-brand); font-size: 1.05rem; }
.site-footer a { color: var(--on-brand); font-weight: 600; }
.site-footer .foot-links { margin: 12px 0; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.site-footer .foot-links a { text-decoration: none; }
.site-footer .foot-tag { font-style: italic; margin: 6px 0 10px; color: var(--on-brand); font-weight: 600; }

/* ---------- Desktop nav ---------- */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    background: transparent;
    border: none;
  }
  .nav-links li { border: none; }
  .nav-links a { padding: 8px 11px; border-radius: 999px; font-size: 0.9rem; }
  .nav-cta { margin-left: 6px; }
}
