:root {
  --bg: #ffffff;
  --bg-secondary: #f0fdf4;
  --surface: rgba(255,255,255,0.96);
  --surface-solid: #ffffff;
  --surface-dark: rgba(5,30,15,0.92);
  --text: #14532d;
  --text-soft: #6b7280;
  --heading: #052e16;
  --primary: #16a34a;
  --primary-strong: #15803d;
  --accent: #22c55e;
  --accent-warm: #86efac;
  --success: #10b981;
  --danger: #dc2626;
  --border: rgba(22,163,74,0.15);
  --shadow: 0 10px 30px rgba(22,163,74,0.08);
  --shadow-lg: 0 20px 50px rgba(22,163,74,0.14);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: min(1280px, calc(100vw - 40px));
  --font-base: 18px;
  --line: 1.6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-size: var(--font-base);
  line-height: var(--line);
  color: var(--text);
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.large-text { --font-base: 20px; }

body.high-contrast {
  --bg: #001a08; --bg-secondary: #002e10; --surface: rgba(0,20,8,0.94);
  --text: #d1fae5; --text-soft: #a7f3d0; --heading: #ffffff;
  --border: rgba(255,255,255,0.16); --shadow: 0 18px 44px rgba(0,0,0,0.5);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; cursor: pointer; }
input { color: var(--heading); }
main, header, footer { position: relative; z-index: 1; }

.container { width: var(--container); margin-inline: auto; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(22,163,74,0.07);
}
.topbar { display: flex; align-items: center; gap: 24px; padding: 14px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--heading); }
.brand-icon { font-size: 36px; line-height: 1; }
.brand strong { display: block; font-size: 1.15rem; color: var(--primary); }
.brand span { font-size: 0.78rem; color: var(--text-soft); font-weight: 400; }
.site-nav { display: flex; gap: 6px; margin-left: auto; }
.site-nav a { padding: 6px 14px; border-radius: 8px; font-size: 0.9rem; color: var(--text-soft); transition: all .2s; font-weight: 500; }
.site-nav a:hover, .site-nav a.active { background: var(--primary); color: #fff; }
.menu-toggle { display: none; padding: 8px 14px; background: transparent; border: 1px solid var(--border); border-radius: 8px; font-size: 0.85rem; }
.accessibility-tools { display: flex; gap: 8px; }
.accessibility-tools button { padding: 6px 12px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 8px; font-size: 0.8rem; color: var(--text-soft); transition: all .2s; }
.accessibility-tools button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Hero ── */
.hero-home {
  position: relative;
  color: #fff;
  padding: 0;
  text-align: center;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1400&q=80');
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.45);
  z-index: 0;
}
.hero-home .container { position: relative; z-index: 1; padding: 90px 20px 80px; }
.hero-content h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; margin: 0 0 20px; line-height: 1.15; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.2rem); opacity: .92; max-width: 580px; margin: 0 auto 36px; text-shadow: 0 1px 6px rgba(0,0,0,0.3); }
.hero-actions-primary { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.scroll-hint { font-size: 0.85rem; opacity: .6; letter-spacing: 1px; margin: 0; }

/* ── Buttons ── */
.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; border: none;
  background: var(--primary); color: #fff;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(22,163,74,0.35);
  cursor: pointer; text-decoration: none;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(22,163,74,0.45); }
.button-large { padding: 14px 32px; font-size: 1.05rem; }
.button-secondary { background: rgba(255,255,255,0.2); color: #fff; border: 1.5px solid rgba(255,255,255,0.6); box-shadow: none; }
.button-secondary:hover { background: rgba(255,255,255,0.35); box-shadow: none; }
.button-light { background: #fff; color: var(--primary); box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.button-light:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ── Sections ── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-secondary); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--heading); text-align: center; margin: 0 0 12px; }
.section-subtitle { text-align: center; color: var(--text-soft); font-size: 1.05rem; margin: 0 0 52px; }

/* ── Hobby Cards ── */
.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.hobby-card {
  background: var(--surface-solid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.hobby-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.hobby-card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.hobby-card-body { padding: 28px 24px 24px; }
.hobby-card-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.hobby-card-body h3 { font-size: 1.35rem; font-weight: 700; color: var(--heading); margin: 0 0 12px; }
.hobby-card-body p { color: var(--text-soft); font-size: 0.95rem; line-height: 1.65; margin: 0 0 20px; }

.hobby-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hobby-tag {
  padding: 4px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
}

/* ── Why Hobbies Section ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.benefit-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--surface-solid);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.benefit-icon { font-size: 2.8rem; margin-bottom: 16px; display: block; }
.benefit-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--heading); margin: 0 0 10px; }
.benefit-card p { color: var(--text-soft); font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* ── Tips Section ── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.tip-card {
  background: var(--surface-solid);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow);
}
.tip-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 8px; }
.tip-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--heading); margin: 0 0 10px; }
.tip-card p { color: var(--text-soft); font-size: 0.9rem; margin: 0; }

/* ── CTA ── */
.section-cta {
  background: linear-gradient(135deg, var(--primary-strong) 0%, var(--accent) 100%);
  color: #fff; text-align: center; padding: 80px 0;
}
.cta-content h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin: 0 0 14px; }
.cta-content p { font-size: 1.1rem; opacity: .88; margin: 0 0 36px; }

/* ── Footer ── */
.site-footer {
  background: var(--heading);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h2, .site-footer h3 { color: #fff; margin: 0 0 12px; font-size: 1.05rem; }
.site-footer p { font-size: 0.88rem; line-height: 1.7; margin: 0; }
.footer-note { text-align: center; font-size: 0.82rem; opacity: .55; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; margin: 0; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .topbar { gap: 12px; }
  .site-nav { display: none; flex-direction: column; width: 100%; order: 5; gap: 4px; }
  .site-nav.open { display: flex; }
  .menu-toggle { display: block; margin-left: auto; }
  .accessibility-tools { display: none; }
  .hobby-card-image { height: 200px; }
}
