/* ============================================
   Niagara Parks Independent Guide — Style Sheet
   Plain static HTML/CSS/JS · No official affiliation
   ============================================ */

:root {
  --primary: #0f6f86;
  --primary-light: #2c9ab7;
  --primary-dark: #083e4d;
  --secondary: #2f7d59;
  --secondary-dark: #1f593e;
  --accent: #b98b4b;
  --accent-light: #d8b36a;
  --mist: #e9f7fb;
  --foam: #f7fcfd;
  --bg: #fbfdfc;
  --bg-alt: #edf7f4;
  --text: #21343a;
  --text-light: #52656b;
  --text-muted: #7d9096;
  --white: #ffffff;
  --border: #d9e9e8;
  --shadow: 0 4px 24px rgba(8, 62, 77, .09);
  --shadow-lg: 0 14px 52px rgba(8, 62, 77, .15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: .3s ease;
  --max-w: 1200px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; color: var(--text); background: radial-gradient(circle at top left, rgba(44,154,183,.10), transparent 34rem), var(--bg); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-alt), #f8fcfb); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.fade-in { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

h1, h2, h3, h4 { font-weight: 750; line-height: 1.22; color: var(--primary-dark); letter-spacing: -.02em; }
h1 { font-size: clamp(2.15rem, 5vw, 4rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.55rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.18rem, 2.2vw, 1.48rem); margin-bottom: 12px; }
h4 { font-size: 1.08rem; }
p { margin-bottom: 16px; }
.section-subtitle { color: var(--text-light); font-size: 1.08rem; max-width: 760px; margin: 0 auto 42px; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.18); color: var(--white); border: 1px solid rgba(255,255,255,.35); padding: 8px 18px; border-radius: 999px; font-size: .9rem; font-weight: 700; backdrop-filter: blur(10px); }
.badge i { width: 18px; height: 18px; }

.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); z-index: 1000; transition: box-shadow var(--transition), background var(--transition); }
.nav.scrolled { box-shadow: var(--shadow); background: rgba(255,255,255,.97); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 800; color: var(--primary-dark); }
.nav-brand i, .nav-brand svg { width: 28px; height: 28px; color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: .95rem; font-weight: 650; color: var(--text); }
.nav-links a:hover { color: var(--primary); }
#langBtn { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--white); border: none; padding: 8px 16px; border-radius: 999px; font-size: .86rem; font-weight: 750; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition); }
#langBtn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; height: 86vh; min-height: 560px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); margin-top: var(--nav-h); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,62,77,.18), rgba(8,62,77,.58)); z-index: 1; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.72) saturate(1.08); transform: scale(1.03); }
.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 0 24px; }
.hero h1 { color: var(--white); margin-bottom: 18px; text-shadow: 0 3px 18px rgba(0,0,0,.42); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.28rem); opacity: .95; margin: 0 auto 26px; max-width: 780px; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.hero .location-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.32); backdrop-filter: blur(10px); padding: 8px 20px; border-radius: 999px; font-size: .95rem; margin-bottom: 18px; }
.hero .location-tag i, .hero .location-tag svg { width: 18px; height: 18px; }

.notice-section { padding: 34px 0 0; background: var(--bg); }
.independent-notice { display: flex; gap: 18px; align-items: flex-start; background: linear-gradient(135deg, #ffffff, var(--mist)); border: 1px solid #bfe0e6; border-left: 6px solid var(--primary); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.independent-notice i, .independent-notice svg { flex: 0 0 auto; width: 30px; height: 30px; color: var(--primary); margin-top: 4px; }
.independent-notice h2 { font-size: 1.28rem; margin-bottom: 6px; }
.independent-notice p { color: var(--text-light); margin-bottom: 0; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 24px; margin-top: 42px; }
.stat-card { background: rgba(255,255,255,.94); padding: 32px 24px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-card i, .stat-card svg { width: 34px; height: 34px; color: var(--primary); margin-bottom: 12px; }
.stat-card .stat-label { font-size: .92rem; color: var(--text-light); display: block; margin-bottom: 4px; }
.stat-card .stat-number { font-size: clamp(1.55rem, 3vw, 2rem); font-weight: 850; color: var(--primary-dark); display: block; }

.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 28px; }
.article-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.article-img { height: 208px; overflow: hidden; background: var(--mist); }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.article-card:hover .article-img img { transform: scale(1.07); }
.article-body { padding: 24px; }
.article-body h3 { margin-bottom: 9px; }
.article-body .article-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .84rem; color: var(--text-muted); margin-bottom: 12px; }
.article-body .article-meta i, .article-body .article-meta svg { width: 14px; height: 14px; color: var(--primary); }
.article-excerpt { color: var(--text-light); font-size: .96rem; margin-bottom: 16px; }
.article-full { display: none; color: var(--text-light); font-size: .95rem; line-height: 1.8; white-space: pre-line; }
.article-full.open { display: block; margin-bottom: 16px; }
.read-more-btn { display: inline-flex; align-items: center; gap: 7px; background: none; border: none; color: var(--primary); font-weight: 750; cursor: pointer; font-size: .95rem; padding: 0; transition: gap var(--transition), color var(--transition); }
.read-more-btn:hover { gap: 11px; color: var(--secondary); }
.read-more-btn i, .read-more-btn svg { width: 16px; height: 16px; transition: transform var(--transition); }
.read-more-btn.expanded i, .read-more-btn.expanded svg { transform: rotate(180deg); }

.tips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.tip-card { background: var(--white); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); display: flex; gap: 16px; align-items: flex-start; transition: transform var(--transition), box-shadow var(--transition); }
.tip-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tip-icon { flex-shrink: 0; width: 50px; height: 50px; background: linear-gradient(135deg, var(--mist), #ffffff); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.tip-icon i, .tip-icon svg { width: 24px; height: 24px; color: var(--primary); }
.tip-card h4 { margin-bottom: 6px; }
.tip-card p { font-size: .92rem; color: var(--text-light); margin: 0; }

.months-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.month-card { position: relative; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.month-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--primary); }
.month-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.month-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.month-card p { color: var(--text-light); font-size: .92rem; margin: 0; }
.month-card.winter::before { background: #5d9fc1; }
.month-card.spring::before { background: #65a765; }
.month-card.summer::before { background: #d9a441; }
.month-card.autumn::before { background: #bf7046; }

.lead-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary) 52%, var(--secondary)); color: var(--white); padding: 84px 0; position: relative; overflow: hidden; }
.lead-section::before { content: ""; position: absolute; inset: -20% auto auto -10%; width: 44rem; height: 44rem; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%); }
.lead-section .container { position: relative; z-index: 1; }
.lead-section h2 { color: var(--white); }
.lead-section .section-subtitle { color: rgba(255,255,255,.84); }
.lead-form { max-width: 580px; margin: 0 auto; background: rgba(255,255,255,.98); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-lg); text-align: left; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .9rem; font-weight: 750; color: var(--text); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .96rem; font-family: inherit; transition: border-color var(--transition), box-shadow var(--transition); background: var(--foam); color: var(--text); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(44,154,183,.16); }
.consent-group { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 24px; }
.consent-group input[type="checkbox"] { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--primary); }
.consent-group label { font-size: .86rem; color: var(--text-light); cursor: pointer; line-height: 1.55; }
.submit-btn { width: 100%; padding: 14px 18px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--white); border: none; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 800; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; }
.submit-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.submit-btn i, .submit-btn svg { width: 18px; height: 18px; }
.form-success { display: none; text-align: center; padding: 34px 10px; }
.form-success i, .form-success svg { width: 50px; height: 50px; color: var(--secondary); margin-bottom: 16px; }
.form-success h3 { color: var(--primary-dark); }
.form-success p { color: var(--text-light); margin-bottom: 0; }

.faq-list { max-width: 850px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: var(--white); box-shadow: 0 2px 12px rgba(8,62,77,.04); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; font-weight: 750; font-size: 1rem; background: none; border: none; width: 100%; text-align: left; color: var(--text); transition: background var(--transition); }
.faq-question:hover { background: var(--mist); }
.faq-question i, .faq-question svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--transition); color: var(--primary); }
.faq-item.open .faq-question i, .faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--text-light); font-size: .95rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 420px; }

.footer { background: linear-gradient(135deg, var(--primary-dark), #062f3b); color: rgba(255,255,255,.82); padding: 62px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 36px; }
.footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer a { color: rgba(255,255,255,.74); font-size: .92rem; display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: .86rem; }
.disclaimer { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.10); padding: 17px 22px; border-radius: var(--radius-sm); font-size: .84rem; color: rgba(255,255,255,.72); margin: 20px 0 24px; line-height: 1.62; }

.legal-page { margin-top: var(--nav-h); padding: 64px 0; }
.legal-page .container { max-width: 850px; }
.legal-page h1 { margin-bottom: 12px; }
.legal-page .updated { color: var(--text-muted); margin-bottom: 32px; }
.legal-page h2 { font-size: 1.35rem; margin-top: 32px; margin-bottom: 12px; }
.legal-page h3 { font-size: 1.15rem; margin-top: 24px; margin-bottom: 8px; }
.legal-page p, .legal-page li { color: var(--text-light); font-size: .96rem; }
.legal-page ul { padding-left: 24px; margin-bottom: 16px; }
.legal-page ul li { list-style: disc; margin-bottom: 8px; }
.about-hero-img { margin: 26px 0 34px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-hero-img img { width: 100%; height: 330px; object-fit: cover; display: block; }

.cookie-banner { position: fixed; left: 24px; right: 24px; bottom: 24px; max-width: 960px; margin: 0 auto; z-index: 1100; display: none; align-items: center; justify-content: space-between; gap: 22px; background: rgba(255,255,255,.98); color: var(--text); border: 1px solid var(--border); border-left: 5px solid var(--primary); box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 18px 20px; }
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: .92rem; color: var(--text-light); }
.cookie-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.cookie-actions button { background: var(--primary); color: var(--white); border: none; border-radius: 999px; padding: 9px 18px; font-weight: 750; cursor: pointer; }
.cookie-actions button:hover { background: var(--primary-dark); }
.cookie-actions a { font-weight: 700; font-size: .9rem; }

@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--white); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid var(--border); transform: translateY(-125%); transition: transform var(--transition); box-shadow: var(--shadow); }
  .nav-links.open { transform: translateY(0); }
  .hamburger { display: flex; }
  .hero { height: 74vh; min-height: 460px; }
  .section { padding: 62px 0; }
  .notice-section { padding-top: 24px; }
  .independent-notice { flex-direction: column; }
  .articles-grid, .tips-grid { grid-template-columns: 1fr; }
  .months-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-form { padding: 30px 22px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cookie-banner { flex-direction: column; align-items: flex-start; left: 16px; right: 16px; bottom: 16px; }
}
@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .months-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .article-img { height: 190px; }
  .cookie-actions { width: 100%; justify-content: space-between; }
}
