/* Root theme variables */
:root {
  --green: #00a54a;
  --black: #1e1e1e;
  --yellow: #ffd700;
  --white: #fff;
  --gray: #f0f0f0;
}



/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Fredoka', sans-serif;
  background-color: var(--gray);
  color: var(--black);
}

html {
  scroll-behavior: smooth;
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--green);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 2rem;
  color: var(--yellow);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  width: auto;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

nav a::after {
  content: '';
  width: 0%;
  height: 2px;
  background: var(--yellow);
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: heroSlideshow 20s infinite ease-in-out;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Overlay tint */
  z-index: 1;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  animation: fadeInDown 1.5s ease-in-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--yellow); /* Make sure --yellow is defined, or replace with #ffc107 or similar */
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background: var(--yellow);
  color: var(--black);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: var(--black);
  color: var(--yellow);
}


/* Why Kids Choose Us */
.features {
  padding: 4rem 2rem;
  background: var(--white);
  text-align: center;
}
.features h2 {
  font-size: 2.5rem;
  color: var(--green);
  margin-bottom: 2rem;
}
.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.feature {
  background: var(--gray);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.feature i {
  font-size: 2.5rem;
  color: var(--green);
  margin-bottom: 1rem;
}
.feature h3 {
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: 1rem;
}
.feature p {
  font-size: 1rem;
  color: #333;
}

/* Exciting Activities Section */
.activities {
  padding: 4rem 2rem;
  background: var(--white);
  text-align: center;
}

.activities h2 {
  font-size: 2.5rem;
  color: var(--green);
  margin-bottom: 2rem;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.activity {
  background: var(--gray);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.6s forwards;
  height: 100%;
}

.activity:nth-child(2) { animation-delay: 0.1s; }
.activity:nth-child(3) { animation-delay: 0.2s; }
.activity:nth-child(4) { animation-delay: 0.3s; }
.activity:nth-child(5) { animation-delay: 0.4s; }
.activity:nth-child(6) { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.activity:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.activity img {
  width: 100%;
  max-width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.activity h3 {
  margin-bottom: 0.5rem;
  color: var(--black);
  font-size: 1.5rem;
}

.activity p {
  font-size: 1rem;
  color: #333;
  text-align: center;
}

@media (max-width: 1024px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .activity img {
    height: 250px;
  }
}


/* Testimonials Section */
.testimonials {
  padding: 4rem 2rem;
  background: var(--white);
  text-align: center;
}

.testimonials h2 {
  font-size: 2.5rem;
  color: var(--green);
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.testimonial {
  flex: 1 1 300px;
  background: var(--gray);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial:nth-child(1) { animation-delay: 0.2s; }
.testimonial:nth-child(2) { animation-delay: 0.5s; }
.testimonial:nth-child(3) { animation-delay: 0.8s; }

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ===== Gallery Section ===== */
.gallery-section {
  padding: 4rem 1rem;
  background: #f8f9fb;
  text-align: center;
}

.gallery-heading {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
  position: relative;
  display: inline-block;
  animation: slideInDown 0.6s ease-out;
}

.gallery-heading::after {
  content: "";
  width: 60%;
  height: 3px;
  background: #6c63ff;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: expandLine 1s ease-out forwards;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out forwards;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

.lightbox.show {
  display: flex;
  animation: fadeIn 0.4s ease;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandLine {
  from { width: 0; }
  to { width: 60%; }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Animated Banner */
.marquee {
  white-space: nowrap;
  overflow: hidden;
  background: var(--yellow);
  padding: 1rem;
  color: var(--black);
}

.marquee p {
  display: inline-block;
  animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

/* Booking Section */
.booking {
  padding: 4rem 2rem;
  background: var(--white);
  text-align: center;
  animation: fadeInUp 1s ease-in-out both;
}

.booking h2 {
  font-size: 2.5rem;
  color: var(--green);
  margin-bottom: 2rem;
  position: relative;
}

.booking h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--yellow);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Booking Form */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1.5s ease;
}

.booking-form input,
.booking-form textarea {
  padding: 1rem;
  border: 2px solid var(--gray);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #f9f9f9;
}

.booking-form input:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 8px rgba(0, 128, 0, 0.2);
}

/* Submit Button */
.booking-form .btn {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 0.9rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.booking-form .btn:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
}

/* Optional animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Success message style */
.success-message {
  color: green;
  font-weight: bold;
  margin-top: 10px;
  font-size: 1rem;
}

/* Footer */
footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem 2rem;
  font-family: 'Segoe UI', sans-serif;
}

/* Grid Layout for Content */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

.footer-info p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
}

.social-icons a {
  color: var(--yellow);
  font-size: 1.2rem;
  margin-right: 1rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--green);
}

.footer-links h4,
.footer-hours h4,
.footer-newsletter h4 {
  color: var(--yellow);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: var(--green);
}

.footer-hours p {
  font-size: 0.95rem;
  margin: 0.3rem 0;
}

/* Newsletter */
.footer-newsletter form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-newsletter input {
  padding: 0.7rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.footer-newsletter button {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 0.7rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer-newsletter button:hover {
  background: var(--yellow);
  color: var(--black);
}

.footer-bottom {
  border-top: 1px solid var(--gray);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #ccc;
  text-align: center;
}
.footer-bottom p {
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: var(--green);
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
  }

  nav.active {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .testimonial-grid {
    flex-direction: column;
  }

  .footer-grid {
    text-align: center;
  }
}

/* Video Highlights */
.video-highlight {
  padding: 4rem 2rem;
  background: var(--white);
  text-align: center;
}

.video-highlight h2 {
  font-size: 2.5rem;
  color: var(--green);
  margin-bottom: 2rem;
}

.video-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.video-container {
  flex: 1 1 45%;
  max-width: 45%;
  aspect-ratio: 16 / 9; /* Keeps videos proportional */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  background: #000;
  position: relative;
}

.video-container:hover {
  transform: scale(1.03);
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive: Stack videos on smaller screens */
@media (max-width: 768px) {
  .video-container {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
