/* Animal Tracks – colorful, inviting, SEO-friendly */
:root {
  --bg: #f8faf8;
  --text: #1a2e1a;
  --muted: #4a5d4a;
  --border: #d4e0d4;
  --link: #0d9488;
  --link-hover: #0b7a70;
  --card: #fff;
  --primary: #0d9488;
  --primary-hover: #0b7a70;
  --accent-warm: #c97b2d;
  --accent-earth: #6b8e6b;
  --accent-sky: #3d8b99;
  --hero-bg: linear-gradient(165deg, #e8f5f0 0%, #f0f9f4 25%, #fafcf6 60%, #f5f0e8 100%);
  --section-alt: #eef5ee;
  --section-warm: #fdf8f0;
  --card-shadow: 0 2px 12px rgba(26, 46, 26, 0.08);
  --card-shadow-hover: 0 8px 24px rgba(26, 46, 26, 0.12);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }

.wrap { max-width: 900px; margin: 0 auto; padding: 0 1rem; }
.wrap-wide { max-width: 1100px; }

.site-header { background: var(--card); border-bottom: 1px solid var(--border); padding: 0.6rem 0; box-shadow: 0 1px 0 rgba(255,255,255,0.8); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; }
.logo { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.logo:hover { color: var(--primary); }
.logo-icon { width: 36px; height: 36px; border-radius: 8px; display: block; }
.logo-text { letter-spacing: -0.01em; }
.site-header nav a { margin-left: 1.25rem; color: var(--link); text-decoration: none; font-weight: 500; }
.site-header nav a:hover { text-decoration: underline; color: var(--link-hover); }

.site-main { padding: 0; min-height: 50vh; }
.site-footer { border-top: 1px solid var(--border); padding: 1.5rem 0; color: var(--muted); font-size: 0.9rem; }
.site-footer a { color: var(--link); }
.site-footer a:hover { color: var(--link-hover); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.footer-copy { margin: 0; }
.footer-links { margin: 0; }
.footer-sep { margin: 0 0.25rem; opacity: 0.7; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.form-group input, .form-group textarea { width: 100%; max-width: 400px; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; font-family: inherit; }
.form-group textarea { min-height: 120px; resize: vertical; }
.page-content { padding: 2rem 0; }
.page-content h2 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
.page-content ul { margin: 0 0 1rem; padding-left: 1.5rem; }
.page-content li { margin-bottom: 0.35rem; }
.page-content p:last-child { margin-bottom: 0; }

h1 { font-size: 1.75rem; margin: 0 0 1rem; }
.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 2rem; }

/* Buttons */
.btn { display: inline-block; padding: 0.7rem 1.5rem; font-size: 1rem; font-weight: 600; text-decoration: none; border-radius: 10px; transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s; }
.btn-primary { background: var(--primary); color: #fff; border: none; box-shadow: 0 2px 8px rgba(13, 148, 136, 0.35); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4); transform: translateY(-1px); }
.btn-secondary { background: var(--card); color: var(--text); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

/* Hero */
.hero { background: var(--hero-bg); padding: 3rem 0 3.5rem; text-align: center; position: relative; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 100%; background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(13, 148, 136, 0.12), transparent); pointer-events: none; }
.hero-inner { max-width: 640px; position: relative; }
.hero-app-icon { width: 72px; height: 72px; border-radius: 16px; margin: 0 auto 1rem; display: block; box-shadow: var(--card-shadow); }
.hero-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.25; margin: 0 0 1rem; letter-spacing: -0.02em; color: var(--text); }
.hero-lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.75rem; line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* Sections – simple, clean (naturetracking.com style) */
.section { padding: 2rem 0; }
.home-heading { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--text); }
.home-sub { color: var(--muted); margin: 0 0 1rem; line-height: 1.5; }
.home-intro { max-width: 65ch; margin: 0 0 1rem; line-height: 1.65; }
.home-intro:last-of-type { margin-bottom: 0; }
.home-list { max-width: 65ch; margin: 0 0 1rem; padding-left: 1.35rem; }
.home-list li { margin-bottom: 0.6rem; line-height: 1.5; }
.section-guides { background: var(--card); }
.section-intro { background: var(--section-alt); }
.section-list { background: var(--bg); }
.section-guide { background: var(--section-warm); }
.track-guide-figure { margin: 1.25rem 0; text-align: center; }
.track-guide-figure img { max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border); }
.track-guide-figure figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; }

/* Callout (e.g. Get the app) */
.section-app-callout { padding: 2rem 0; }
.callout { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; }
.callout-app { background: linear-gradient(135deg, var(--primary) 0%, var(--accent-sky) 100%); border: none; color: #fff; }
.callout-title { font-size: 1.25rem; margin: 0 0 0.5rem; color: inherit; }
.callout-app p { margin: 0 0 1rem; opacity: 0.95; }
.callout-app .btn-primary { background: #fff; color: var(--primary); }
.callout-app .btn-primary:hover { background: var(--section-alt); color: var(--primary-hover); }

.track-guide-single img { max-width: 220px; height: auto; }

.cta-section { text-align: center; }
.cta-section .section-lead { margin-left: auto; margin-right: auto; }

.animal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.animal-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; text-decoration: none; color: inherit; display: block; box-shadow: var(--card-shadow); transition: border-color 0.2s, box-shadow 0.2s; }
.animal-card:hover { border-color: var(--primary); box-shadow: var(--card-shadow-hover); }
.animal-card strong { display: block; margin-bottom: 0.25rem; }
.animal-card span { font-size: 0.875rem; color: var(--muted); }

.track-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.track-gallery img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.track-gallery figcaption { font-size: 0.875rem; color: var(--muted); margin-top: 0.25rem; }

.prose { max-width: 65ch; }
.prose p { margin: 0 0 1rem; }
.prose h2 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }

.no-data { color: var(--muted); padding: 2rem; text-align: center; }
.coming-soon { color: var(--muted); padding: 1rem 0; border-left: 3px solid var(--primary); padding-left: 1rem; }
.track-reference { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.track-reference-intro { color: var(--muted); margin-bottom: 1rem; }
