/* Global Styles */
:root {
  /* Colors */
  --sky-blue: #87CEEB;
  --sunshine-yellow: #FFDE59;
  --playful-orange: #FF6B35;
  --happy-green: #4CAF50;
  --bubblegum-pink: #FF85A2;
  --pool-blue: #00A8E8;
  
  /* Fonts */
  --heading-font: 'Comic Neue', 'Fredoka', 'Arial Rounded MT Bold', sans-serif;
  --body-font: 'Segoe UI', 'Helvetica Neue', 'Arial', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  background-color: var(--sky-blue);
  color: #333;
  line-height: 1.6;
}

/* Header Styles */
header {
  background-color: var(--sunshine-yellow);
  padding: 1rem;
  text-align: center;
  border-bottom: 5px solid var(--playful-orange);
}

header h1 {
  font-family: var(--heading-font);
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Navigation Styles */
nav {
  background-color: var(--pool-blue);
  padding: 1rem;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0.5rem 1rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-family: var(--heading-font);
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background-color: var(--playful-orange);
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: var(--happy-green);
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  background-color: var(--sunshine-yellow);
  padding: 2rem;
  text-align: center;
  border-radius: 20px;
  margin: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="3" fill="%23FF6B35" opacity="0.7"/><circle cx="50" cy="10" r="2" fill="%234CAF50" opacity="0.7"/><circle cx="80" cy="30" r="4" fill="%23FF85A2" opacity="0.7"/><circle cx="10" cy="50" r="2" fill="%2300A8E8" opacity="0.7"/><circle cx="90" cy="70" r="3" fill="%23FFDE59" opacity="0.7"/><circle cx="40" cy="80" r="2" fill="%2387CEEB" opacity="0.7"/></svg>') repeat;
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-family: var(--heading-font);
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

section {
  background-color: white;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

section::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="%23FF6B35" opacity="0.3"/><circle cx="90" cy="20" r="3" fill="%234CAF50" opacity="0.3"/><circle cx="50" cy="15" r="2" fill="%23FF85A2" opacity="0.3"/><circle cx="20" cy="80" r="3" fill="%2300A8E8" opacity="0.3"/><circle cx="80" cy="70" r="2" fill="%23FFDE59" opacity="0.3"/><circle cx="30" cy="40" r="2" fill="%2387CEEB" opacity="0.3"/></svg>') repeat;
  opacity: 0.2;
  z-index: 0;
}

section h2 {
  font-family: var(--heading-font);
  color: var(--playful-orange);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

section h3 {
  font-family: var(--heading-font);
  color: var(--pool-blue);
  font-size: 1.5rem;
  margin: 1.5rem 0 0.5rem;
  position: relative;
  z-index: 1;
}

section p {
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

/* Image Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  position: relative;
  height: 250px;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 222, 89, 0.9);
  color: #333;
  padding: 0.5rem;
  font-family: var(--heading-font);
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .caption {
  transform: translateY(0);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature {
  background-color: var(--sunshine-yellow);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature h3 {
  color: var(--playful-orange);
  margin-bottom: 1rem;
}

/* Age Filter */
.age-filter {
  background-color: var(--bubblegum-pink);
  padding: 1.5rem;
  border-radius: 15px;
  margin: 2rem 0;
  text-align: center;
}

.age-filter h3 {
  color: white;
  margin-bottom: 1rem;
}

.age-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.age-btn {
  background-color: white;
  color: var(--bubblegum-pink);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-family: var(--heading-font);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.age-btn:hover, .age-btn.active {
  background-color: var(--playful-orange);
  color: white;
}

/* Interactive Map */
.map-container {
  background-color: var(--pool-blue);
  padding: 2rem;
  border-radius: 20px;
  margin: 2rem 0;
  text-align: center;
  color: white;
}

.map-container h2 {
  color: var(--sunshine-yellow);
  margin-bottom: 1rem;
}

.map-placeholder {
  background-color: rgba(255, 255, 255, 0.2);
  height: 400px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
}

.map-placeholder p {
  font-size: 1.2rem;
  text-align: center;
}

/* Contact Form */
.contact-form {
  background-color: var(--sunshine-yellow);
  padding: 2rem;
  border-radius: 20px;
  margin: 2rem 0;
}

.contact-form h2 {
  text-align: center;
  color: #333;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--pool-blue);
  border-radius: 10px;
  font-family: var(--body-font);
  font-size: 1rem;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--playful-orange);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--heading-font);
  font-size: 1.2rem;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--happy-green);
  transform: scale(1.05);
}

/* Footer */
footer {
  background-color: var(--pool-blue);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
}

footer h3 {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--sunshine-yellow);
}

footer p {
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--sunshine-yellow);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 0.3rem 0;
  }
  
  .hero {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  main {
    padding: 1rem;
  }
  
  section {
    padding: 1.5rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .age-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Accessibility */
a:focus, button:focus {
  outline: 3px solid var(--bubblegum-pink);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--playful-orange);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  top: 6px;
}