/* ==========================================================================
   Adventure Northwest — Modern Arctic Theme
   Shared stylesheet for the whole static site.
   System font stack only (no web-font dependency) so it renders crisply
   everywhere and works fully offline.
   ========================================================================== */

:root {
  --color-primary: #16465a;
  --color-primary-dark: #0e2f3c;
  --color-primary-light: #2a6b85;
  --color-accent: #c8903f;
  --color-accent-dark: #a97426;
  --color-bg: #f2f5f4;
  --color-surface: #ffffff;
  --color-text: #263137;
  --color-muted: #5e6b70;
  --color-border: #dde4e3;
  --color-success: #2e7d5b;
  --shadow-sm: 0 1px 2px rgba(14,47,60,.06);
  --shadow-md: 0 4px 14px rgba(14,47,60,.10);
  --radius: 10px;
  --radius-sm: 6px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --container: 1080px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--color-primary-light); text-decoration-thickness: 1px; }
a:hover { color: var(--color-primary); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  line-height: 1.25;
  color: var(--color-primary-dark);
  font-weight: 700;
  margin: 0 0 .6em;
}
h1 { font-size: 2.1rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.1rem;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary-dark);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 0 0 6px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  background: var(--color-primary-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: .7rem;
  padding-bottom: .7rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .2px;
  white-space: nowrap;
}
.brand:hover { color: #fff; }
.brand .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 900;
}
.brand small {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #cfe0e6;
  line-height: 1.1;
}
.brand .brand-name span { color: #ffd9a0; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: 1.1rem;
  padding: .45rem .7rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 1;
}
.site-nav { display: block; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .2rem;
  flex-wrap: wrap;
  align-items: center;
}
.site-nav a {
  display: block;
  color: #e6eef1;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: .5rem .7rem;
  border-radius: var(--radius-sm);
}
.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  background: rgba(255,255,255,.12);
}
.site-nav .nav-cta a {
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
}

/* Mobile nav */
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,.15);
    margin-top: .5rem;
    padding-top: .4rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: .7rem .5rem; }
}

/* ---------- Page hero / page header ---------- */
.page-hero {
  background:
    linear-gradient(120deg, rgba(14,47,60,.85), rgba(42,107,133,.72)),
    var(--color-primary-dark);
  color: #fff;
  padding: 2.4rem 0 2.2rem;
  margin-bottom: 2rem;
}
.page-hero h1 { color: #fff; margin: 0 0 .35rem; }
.page-hero .lede {
  color: #dcebf0;
  font-size: 1.08rem;
  max-width: 760px;
  margin: 0;
}
.crumb {
  font-size: .82rem;
  color: #bcd5dd;
  margin-bottom: .7rem;
}
.crumb a { color: #e6f2f6; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* ---------- Layout ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
}
.layout .content-main { min-width: 0; }
.layout .sidebar { position: sticky; top: 90px; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .layout .sidebar { position: static; }
}

/* ---------- Cards & boxes ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
}
.card h2, .card h3 { margin-top: 0; }

.box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.box h2, .box h3 { margin-top: 0; }

.note {
  background: #eaf4ef;
  border: 1px solid #cfe4d8;
  color: #1f4a35;
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  margin: 1rem 0;
}
.warn {
  background: #fdf3e3;
  border: 1px solid #ecdcbe;
  color: #6b5218;
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  margin: 1rem 0;
}

/* Grids */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 821px) and (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Card list (related hunts / species cards) */
.cards-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.cards-list li { margin: 0; }
.card-link {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
  color: var(--color-text);
}
.card-link img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex: 0 0 auto;
}
.card-link .card-body h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.card-link .card-body p { margin: 0; color: var(--color-muted); font-size: .9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: .7rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 0;
  cursor: pointer;
  font-size: .98rem;
  transition: background .12s ease;
}
.btn:hover { background: var(--color-accent-dark); color: #fff; }
.btn-secondary {
  background: var(--color-primary);
  color: #fff;
}
.btn-secondary:hover { background: var(--color-primary-dark); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* ---------- Tables ---------- */
table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 1rem 0;
}
table.data th, table.data td {
  border: 1px solid var(--color-border);
  padding: .7rem .8rem;
  text-align: left;
  vertical-align: top;
}
table.data thead th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
}
table.data tr:nth-child(even) td { background: #f7faf9; }

/* ---------- Hero / features (home) ---------- */
.hero {
  background:
    linear-gradient(120deg, rgba(14,47,60,.82), rgba(14,47,60,.55)),
    url("../images/planebanner750_01.jpg") center / cover;
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.hero h1 { color: #fff; font-size: 2.5rem; margin-bottom: .6rem; }
.hero p { color: #e6f1f4; font-size: 1.15rem; max-width: 720px; margin: 0 auto 1.4rem; }
.hero .btn { margin: 0 .3rem .4rem; }
@media (max-width: 640px) { .hero h1 { font-size: 1.8rem; } }

.feature {
  text-align: left;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.feature .feature-icon {
  font-size: 1.7rem;
  margin-bottom: .4rem;
  display: block;
}
.feature h3 { margin: 0 0 .35rem; }

/* ---------- FAQ ---------- */
.faq-item { margin-bottom: 1rem; }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-primary-dark);
  padding: .8rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.faq-item[open] summary { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.faq-item .faq-body {
  padding: .9rem 1rem;
  background: #fbfdfc;
  border: 1px solid var(--color-border);
  border-top: 0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: #cfe0e6;
  margin-top: 3rem;
  padding: 2.2rem 0 1.4rem;
  font-size: .9rem;
}
.site-footer a { color: #dceaf0; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer-grid h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 .7rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 1rem;
  font-size: .82rem;
  color: #9db6c0;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ---------- Misc ---------- */
.muted { color: var(--color-muted); }
.lead { font-size: 1.12rem; color: var(--color-text); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }
ol.steps { list-style: none; margin: 0 0 2rem; padding: 0; }
ol.steps > li {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
}
ol.steps h2 { margin: 0 0 .5rem; font-size: 1.2rem; }
.img-frame {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}
figure { margin: 0 0 1.2rem; }
figcaption { font-size: .85rem; color: var(--color-muted); margin-top: .4rem; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Print */
@media print {
  .site-header, .site-footer, .sidebar { display: none; }
  body { background: #fff; }
}
