@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #fffafc;
  color: #333;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 30px 20px;
}

header {
  background: #ffe6f2;
  border-bottom: 1px solid #f3cce0;
}

.site-logo a {
  font-size: 22px;
  text-decoration: none;
  color: #000;
}

.top-nav a {
  margin-left: 12px;
  text-decoration: none;
  font-size: 14px;
}


footer {
  background: #ffe6f2;
  border-top: 1px solid #f3cce0;
  margin-top: 60px;
  padding: 25px 0;
  text-align: center;
}

h1, h2, h3 {
  color: #d63384;
}

.box {
  background: #ffffff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

.card {
  border: 2px solid transparent;
  padding: 12px;
  border-radius: 14px;
  transition: 0.3s ease;
  background: #fff;
}

.card:hover {
  border: 2px solid #ff69b4;
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  border-radius: 10px;
}

.card h3 {
  font-size: 15px;
  text-align: center;
  margin-top: 10px;
}

.page-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  align-items: start;
}

.image-box img {
  width: 100%;
  border-radius: 14px;
  border: 2px solid #f1c4da;
}

.download a {
  display: inline-block;
  margin: 12px 12px 0 0;
  padding: 12px 18px;
  background: #ff69b4;
  color: #fff;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
}

.download a:hover {
  background: #e0569a;
}

@media(max-width: 900px) {
  .page-row {
    grid-template-columns: 1fr;
  }
}

.coloring-pages-nav {
  margin: 40px 0;
  padding: 20px;
  background: #fff7fb;
  border-radius: 12px;
  text-align: center;
}

.coloring-pages-nav h2 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.nav-btn {
  display: inline-block;
  padding: 10px 12px;
  background: #ff9ecb;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-btn:hover {
  background: #ff7fb8;
  transform: translateY(-2px);
}
