/* === Global Reset === */
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Poppins", sans-serif; scroll-padding-top: 40px; }
body { background-color: #f9fff9; color: #333; line-height: 1.6; }

/* Navbar */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 60px; background-color: rgba(255,255,255,0.2); backdrop-filter: blur(10px); transition: 0.3s; }
header.scrolled .navbar { background-color: rgba(255,255,255,0.95); box-shadow: 0 2px 10px rgba(0,0,0,0.1); }

.navbar .logo { font-weight: bold; font-size: 1.5rem; color: #004d00; }
nav ul { list-style: none; display: flex; gap: 15px; }
nav ul li a { text-decoration: none; color: #004d00; background: #fff; padding: 10px 15px; border-radius: 6px; font-weight: 600; transition: 0.3s; }
nav ul li a:hover { background: #a8e6a1; color: #004d00; }

/* Buttons */
.btn { display: inline-block; padding: 12px 25px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: 0.3s; }
.btn-primary { background-color: #6cc46c; color: #fff; }
.btn-primary:hover { background-color: #57a857; }
.btn-whatsapp { background-color: #25D366; color: #fff; }
.btn-whatsapp:hover { background-color: #1ebe57; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 25px; height: 20px; background: none; border: none; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; height: 3px; background-color: #333; border-radius: 2px; }


/* Hero Section with just button */
/* Hero button - default (desktop) */
#hero .btn-primary {
  display: inline-block;
  margin: 0 auto;      /* centers horizontally */
  margin-bottom: 150px; /* space below button */
  font-size: 1.2rem;
  padding: 12px 25px;
}

/* Center text for desktop hero */
#hero {
  text-align: center;
  padding: 400px 20px 100px;
  background: linear-gradient(rgba(0,77,0,0.3), rgba(0,77,0,0.1)),
              url('images/main\ logo.jpg') center/cover no-repeat;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  #hero {
    text-align: left;       /* aligns content to the left */
    padding: 250px 20px 80px; /* reduce top padding for smaller screens */
  }

  #hero .btn-primary {
    margin: 0;              /* remove auto centering */
    margin-top: 80px;  /* add top margin for spacing */
  }
}


.hero-content {
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeIn 1.2s forwards;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.4);
}

.btn-primary {
  animation: btnPop 0.8s ease forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes btnPop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  #hero { padding: 120px 15px; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content p { font-size: 1rem; }
}


/* Sections */
section {
  padding: 80px 40px;        /* adds space on left & right */
  text-align: left;          /* ensures content aligns properly */
  max-width: 1500px;         /* keeps sections neat on large screens */
  margin: 0 auto;            /* centers section content horizontally */
}

section h2 { text-align: center; color: #004d00; margin-bottom: 20px; font-size: 2rem; }

/* Services */
#services { background: #e6f9e6; text-align: center; }
#services ul { list-style: none; padding: 0; }
#services ul li { background: #fff; margin: 10px auto; padding: 15px; max-width: 400px; border-radius: 10px; border: 1px solid #d6f5d6; box-shadow: 0 3px 5px rgba(0,0,0,0.05); font-weight: 500; }

/* Operating Hours */
.operating-hours {
  text-align: center;
  margin: 0 auto;
  width: 100%;
}
#operating-hours { background: #f0fff0; }
#operating-hours p { font-size: 1.1rem; margin: 8px 0; }

/* Gallery */
#gallery { padding: 100px 80px; }
.gallery-marquee { overflow: hidden; position: relative; }
.gallery-track { display: inline-flex; width: max-content; gap: 15px; animation: glide 25s linear infinite; }
.gallery-track img { width: 250px; height: 250px; object-fit: cover; border-radius: 12px; box-shadow: 0 3px 8px rgba(0,0,0,0.15); }
@keyframes glide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Enroll form */
.enroll-form { max-width: 500px; margin: 0 auto; background: #fff; padding: 30px; border-radius: 12px; display: flex; flex-direction: column; gap: 15px; box-shadow: 0 5px 12px rgba(0,0,0,0.1); }
.enroll-form label { font-weight: bold; color: #004d00; }
.enroll-form input, .enroll-form textarea { width: 100%; padding: 12px; border: 1px solid #d6f5d6; border-radius: 8px; font-size: 1rem; }
.enroll-form button { cursor: pointer; }

/* Contact & Socials */
#contact { text-align: center; background: #f9fff9; }
.social-btn { display: inline-block; background-color: #1877F2; color: #fff; font-weight: bold; padding: 10px 20px; border-radius: 8px; text-decoration: none; transition: 0.3s; }
.social-btn:hover { background-color: #145dbf; transform: translateY(-2px); }

/* Contact Section Map */
.map-container {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.map-container iframe {
  width: 90%;
  max-width: 800px;
  height: 350px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Footer */
footer { background: #a8e6a1; color: #004d00; display: flex; justify-content: center; align-items: center; text-align: center; padding: 20px; font-size: 0.9rem; }
.footer-content { display: flex; flex-direction: column; align-items: center; }

/* Mobile */
@media (max-width: 767px) {
  .hamburger { display: flex; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 60px; right: 0; background: #fff; width: 200px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); padding: 10px 0; }
  nav ul.show { display: flex; }
  .gallery-track img { width: 200px; height: 180px; }
}
@media (max-width: 480px) {
  .navbar { padding: 10px 20px; }
  .hero-content h1 { font-size: 2.5rem; }
  #gallery { padding: 80px 20px; }
  .gallery-track img { width: 150px; height: 150px; }
}

/* Gallery Page Layout */
.gallery-page {
  margin-top: 10px;
  padding: 4rem 1rem;
  text-align: center;
}

.event-gallery-title {
  font-size: 1.5rem;
  color: #004d00;
  margin-top: auto;
  margin-bottom: 1rem;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  padding: 0 1rem;
}

.album-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.album-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.album-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.album-info {
  padding: 1rem;
}

.album-info h3 {
  margin: 0.5rem 0;
  color: #333;
}

.album-info p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.album-info a.btn {
  text-decoration: none;
}
.album-info a.btn-primary {
  background-color: #6cc46c;
  color: #fff;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.album-info a.btn-primary:hover {
  background-color: #57a857;
}

/* NAVBAR BASE */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo a {
  font-weight: 700;
  color: #008138; /* green tone */
  font-size: 1.5rem;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #2E8B57;
}

/* HAMBURGER ICON */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 25px;
  height: 20px;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #2E8B57; /* green icon */
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* MOBILE MENU BEHAVIOR */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

