/* ============================================================
   Toronto Zoo Travel Guide — Editorial CSS
   Dark forest-green + warm amber theme. Wildlife photography.
   ============================================================ */

:root {
  --bg-page: #0b1410;          /* near-black forest */
  --bg-section: #11211a;       /* deep forest */
  --bg-card: #16271f;          /* card surface */
  --bg-card-2: #1c2f25;        /* card hover */
  --border: rgba(232, 198, 142, 0.14);
  --border-strong: rgba(232, 198, 142, 0.28);
  --text: #f1ead6;             /* warm cream */
  --text-muted: #b6ad95;
  --text-dim: #7c7661;
  --accent: #c9952a;           /* amber */
  --accent-hover: #e7b952;
  --accent-soft: rgba(201, 149, 42, 0.14);
  --leaf: #6f9d70;             /* secondary accent */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-page);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

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

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(11, 20, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

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

.nav-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-brand .accent { color: var(--accent); }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-mobile { display: none; background: transparent; border: 0; color: var(--text); font-size: 24px; cursor: pointer; }

@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-mobile { display: block; }
  .nav-mobile.open ~ .mobile-menu { display: block; }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 65px; left: 0; right: 0;
  background: rgba(11, 20, 16, 0.98);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 99;
}
.mobile-menu a {
  display: block;
  padding: 14px 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-page);
  background-image: linear-gradient(180deg, rgba(11, 20, 16, 0.55) 0%, rgba(11, 20, 16, 0.85) 75%, rgba(11, 20, 16, 1) 100%), url('../images/hero.png');
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat;
  padding: 140px 0 80px;
}

.hero-content {
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 6px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero .lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 640px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary, .btn-ghost {
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #1a1208; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(232, 198, 142, 0.08); border-color: var(--accent); color: var(--accent); }

/* ============================================================
   SECTION GENERICS
   ============================================================ */

section { padding: 96px 0; }
.section-light { background: var(--bg-page); }
.section-dark { background: var(--bg-section); }

.section-header { text-align: center; margin-bottom: 64px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  color: var(--text);
}
.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
}

/* ============================================================
   INTRO (2-column split)
   ============================================================ */

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .intro-grid { grid-template-columns: 1fr; } }

.intro-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.intro-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 18px;
  color: var(--text);
}
.intro-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat .num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--accent);
  display: block;
  line-height: 1.2;
  margin-bottom: 6px;
}
.stat .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 600;
}

/* ============================================================
   ARTICLES GRID
   ============================================================ */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.article-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.article-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.article-card:hover .article-img img { transform: scale(1.05); }

.article-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.article-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 12px;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text);
}
.article-body .article-summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}
.article-body .article-meta {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 14px;
  display: flex;
  gap: 12px;
}
.article-body .article-meta span { display: flex; align-items: center; gap: 4px; }

.article-toggle {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--accent);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  align-self: flex-start;
}
.article-toggle:hover { background: var(--accent-soft); border-color: var(--accent); }
.article-toggle.open { background: var(--accent); color: #1a1208; }

.article-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.3s ease;
  padding: 0 24px;
  border-top: 1px solid transparent;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.article-expand.open {
  max-height: 1200px;
  padding: 18px 24px 24px;
  border-top: 1px solid var(--border);
}
.article-expand p { margin-bottom: 12px; }
.article-expand p:last-child { margin-bottom: 0; }
.article-expand strong { color: var(--text); }
.article-expand em { color: var(--leaf); font-style: italic; }

/* ============================================================
   SEASONAL GUIDE
   ============================================================ */

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .season-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .season-grid { grid-template-columns: 1fr; } }

.season-card {
  border-radius: 14px;
  padding: 32px 24px;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.season-spring { background: linear-gradient(135deg, #2d6a4f, #52b788); }
.season-summer { background: linear-gradient(135deg, #9d4b00, #e07b39); }
.season-autumn { background: linear-gradient(135deg, #7f4f24, #b5752a); }
.season-winter { background: linear-gradient(135deg, #1b4965, #3a8fb7); }

.season-icon { width: 36px; height: 36px; }
.season-icon svg { width: 100%; height: 100%; fill: none; stroke: white; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.season-card h4 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin: 14px 0 6px;
  line-height: 1.2;
}
.season-card .season-period {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-bottom: 14px;
  font-weight: 600;
}
.season-tips {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}
.season-tips li {
  font-size: 14px;
  line-height: 1.5;
  padding-left: 26px;
  position: relative;
  margin-bottom: 6px;
  opacity: 0.95;
}
.season-tips li::before {
  content: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
}

/* ============================================================
   VISITOR TIPS (icon rows)
   ============================================================ */

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.tip-card {
  background: var(--bg-card);
  padding: 28px 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.tip-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.tip-icon svg { width: 22px; height: 22px; }
.tip-card h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.tip-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--border-strong); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 22px 26px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s;
}
.faq-icon::before { width: 14px; height: 2px; top: 12px; left: 6px; }
.faq-icon::after { width: 2px; height: 14px; top: 6px; left: 12px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  padding: 0 26px;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 26px 22px;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */

.newsletter-card {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
}
@media (max-width: 640px) { .newsletter-card { padding: 36px 24px; } }
.newsletter-card h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 12px;
}
.newsletter-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 26px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto 12px;
}
@media (max-width: 480px) { .newsletter-form { flex-direction: column; } }
.newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  background: var(--bg-page);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
}
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.newsletter-form button {
  padding: 14px 24px;
  background: var(--accent);
  color: #1a1208;
  border: 0;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--accent-hover); }

.newsletter-perks {
  list-style: none;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 18px auto 0;
  font-size: 13px;
  color: var(--text-muted);
}
.newsletter-perks li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.newsletter-perks li::before {
  content: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9952a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  width: 14px; height: 14px;
  display: inline-block;
}

.newsletter-consent {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 14px;
}

.newsletter-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.newsletter-success.show { display: block; }
.newsletter-success .check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.newsletter-success .check svg { width: 28px; height: 28px; }
.newsletter-success h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 8px;
}
.newsletter-success p { color: var(--text-muted); font-size: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: #060c09;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-brand .accent { color: var(--accent); }
.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  max-width: 340px;
  margin-bottom: 8px;
}

.footer-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--text-dim); }

/* ============================================================
   LEGAL PAGE STYLES
   ============================================================ */

.legal-page {
  background: var(--bg-page);
  padding: 140px 0 80px;
  min-height: 100vh;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content h1 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.legal-content .legal-subhead {
  font-size: 14px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
  font-weight: 600;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text);
}
.legal-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-content ul {
  margin: 12px 0 18px 20px;
  color: var(--text-muted);
}
.legal-content ul li {
  margin-bottom: 8px;
  line-height: 1.65;
  font-size: 15px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
