@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Nunito:wght@400;500;600;700&display=swap');

:root {
  --primary: #FF6B6B;
  --primary-dark: #e85555;
  --primary-light: #fff0f0;
  --secondary: #4ECDC4;
  --secondary-dark: #3ab5ad;
  --accent: #FFE66D;
  --accent-dark: #e8cf4a;
  --purple: #A8A4E6;
  --purple-dark: #8b86d4;
  --green: #6BCB77;
  --green-dark: #52b85e;
  --bg: #FFFBF7;
  --card-bg: #ffffff;
  --text: #2D2A32;
  --text-muted: #7a7580;
  --border: #f0eae3;
  --nav-bg: rgba(255,251,247,0.95);
  --shadow: 0 4px 24px rgba(45,42,50,0.08);
  --shadow-hover: 0 8px 32px rgba(45,42,50,0.14);
  --radius: 20px;
  --radius-sm: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: 'Baloo 2', cursive;
  line-height: 1.2;
  color: var(--text);
}

/* ─── NAVBAR ─── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border);
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav .logo {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav .logo span {
  color: var(--secondary);
}

.site-nav .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  transition: all 0.2s;
  box-shadow: 0 3px 12px rgba(255,107,107,0.35);
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(255,107,107,0.4);
  color: white;
  text-decoration: none;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text);
}

.nav-inner { display: flex; align-items: center; gap: 1.5rem; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-inner {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--nav-bg);
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--border);
    gap: 0.5rem;
    align-items: flex-start;
  }
  .nav-inner.open { display: flex; }
  .nav-links { flex-direction: column; width: 100%; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 0.6rem 1rem; }
}

/* ─── HERO ─── */
.hero {
  padding-top: 72px;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fff8f8 0%, #fff3fd 50%, #f0fbff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,107,0.07) 0%, transparent 70%);
  top: -100px; right: -100px;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,205,196,0.07) 0%, transparent 70%);
  bottom: -80px; left: -80px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  width: 100%;
}

/* Small hero for inner pages */
.hero-sm {
  padding-top: 72px;
  min-height: 200px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fff8f8 0%, #fff3fd 50%, #f0fbff 100%);
  position: relative;
  overflow: hidden;
}

.hero-sm::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,107,0.06) 0%, transparent 70%);
  top: -80px; right: 5%;
}

.hero-sm-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
  position: relative; z-index: 1;
}

.hero-sm-content h1 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.hero-sm-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Floating doodle dots decoration */
.doodle-dots {
  position: absolute;
  right: 5%; top: 50%; transform: translateY(-50%);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  opacity: 0.25;
}

.doodle-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: block;
}

/* ─── BADGE / PILL ─── */
.badge-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-teal { background: #e0faf8; color: var(--secondary-dark); }
.badge-purple { background: #f0effd; color: var(--purple-dark); }

/* ─── MAIN CONTENT ─── */
main { padding: 3rem 0 4rem; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── SECTION HEADING ─── */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ─── CATEGORY CARDS ─── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.category-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  text-decoration: none;
  display: block;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
  text-decoration: none;
}

.category-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #fafafa;
}

.category-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.category-card__title {
  font-family: 'Baloo 2', cursive;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.category-card__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.category-card__arrow {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: white;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
}

.category-card:hover .category-card__arrow {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Color accent tops */
.category-card--animals { border-top: 4px solid var(--secondary); }
.category-card--nature { border-top: 4px solid var(--green); }
.category-card--vehicles { border-top: 4px solid var(--purple); }

/* ─── DOWNLOAD PAGE ─── */
.download-section {
  padding: 3rem 0;
}

.download-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.download-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.download-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.page-preview {
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.page-preview img {
  width: 100%;
  display: block;
}

.page-preview-caption {
  padding: 1rem 1.5rem;
  background: #fafaf8;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  background: var(--secondary);
  color: white;
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(78,205,196,0.35);
  letter-spacing: 0.03em;
}

.btn-download:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(78,205,196,0.45);
  color: white;
  text-decoration: none;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: white;
  transition: all 0.2s;
  margin-bottom: 2.5rem;
}

.btn-back:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

/* ─── RELATED PAGES ─── */
.related-section {
  padding: 3rem 0 0;
  border-top: 2px solid var(--border);
  margin-top: 3rem;
}

.related-section h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.related-card {
  background: white;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: all 0.2s;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--secondary);
  text-decoration: none;
}

.related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.related-card span {
  display: block;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-align: center;
  padding: 0.75rem;
}

.related-back-wrap { text-align: center; padding: 1rem 0 2rem; }

/* ─── ABOUT PAGE ─── */
.about-content {
  padding: 3rem 0 4rem;
}

.about-content p {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  line-height: 1.75;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.feature-card {
  background: white;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  padding: 1.5rem;
  text-align: center;
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.feature-card h4 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

/* ─── CONTACT PAGE ─── */
.contact-form-wrap {
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
}

.form-group textarea { resize: vertical; min-height: 130px; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(255,107,107,0.35);
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255,107,107,0.42);
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-logo {
  font-family: 'Baloo 2', cursive;
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
}

.footer-logo span { color: var(--secondary); }

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-social a {
  display: inline-flex;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.2s;
  margin-left: 0.5rem;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ─── BREADCRUMB ─── */
.breadcrumb-wrap {
  padding: 1.25rem 0 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 0.5rem; }
.breadcrumb li:last-child { color: var(--text); font-weight: 600; }

/* ─── UTILS ─── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }

/* ─── PAGE BODY TOP PADDING ─── */
body { padding-top: 0; }
