/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

/* Custom Utility Classes */
.gradient-text {
  background: linear-gradient(135deg, #22c55e, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-divider {
  width: 96px;
  height: 4px;
  background: linear-gradient(to right, #16a34a, #f97316);
  margin: 0 auto 2rem auto;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
      135deg,
      rgba(34, 197, 94, 0.7),
      rgba(249, 115, 22, 0.6)
    ),
    url("../assets/images/photos/hero.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Buttons */
.btn-primary {
  background-color: #f97316;
  color: white;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #ea580c;
  transform: scale(1.05);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  transform: scale(1);
  backdrop-filter: blur(4px);
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.btn-cta-white {
  background-color: white;
  color: #16a34a;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-cta-white:hover {
  color: #15803d;
  transform: scale(1.05);
}

.btn-cta-orange {
  background-color: #f97316;
  color: white;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-cta-orange:hover {
  background-color: #ea580c;
  transform: scale(1.05);
}

/* Floating Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Floating Elements */
.floating-element {
  position: absolute;
  opacity: 0.2;
  animation: float 6s ease-in-out infinite;
}

.floating-element-1 {
  top: 5rem;
  left: 2.5rem;
  font-size: 4rem;
  animation-delay: -2s;
}

.floating-element-2 {
  bottom: 5rem;
  right: 2.5rem;
  font-size: 2.5rem;
  opacity: 0.3;
  animation-delay: -4s;
}

.floating-element-3 {
  top: 50%;
  right: 5rem;
  font-size: 3rem;
  opacity: 0.15;
  animation-delay: -1s;
}

/* Cards */
.about-card {
  background: linear-gradient(135deg, #f0fdf4, #fff7ed);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.stat-card {
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  color: white;
  transition: all 0.3s ease;
  transform: scale(1);
}

.stat-card:hover {
  transform: scale(1.05);
}

.stat-card-green {
  background-color: #22c55e;
}
.stat-card-orange {
  background-color: #f97316;
}
.stat-card-blue {
  background-color: #3b82f6;
}
.stat-card-purple {
  background-color: #a855f7;
}

.mission-card {
  background-color: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.mission-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.card-hover {
  transition: all 0.3s ease;
  transform: scale(1);
}

.card-hover:hover {
  transform: scale(1.02);
  box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
}

/* Visit Cards */
.visit-card {
  border-radius: 1.5rem;
  padding: 2rem;
  color: white;
}

.visit-card-green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.visit-card-orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.visit-card-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.hours-card {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 0.75rem;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  transform: scale(1);
}

.gallery-item:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(1.05);
}

.gallery-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: white;
}

/* CTA Features */
.cta-feature {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-element {
    display: none;
  }

  .hero-section {
    min-height: 80vh;
    background-attachment: scroll;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .btn-cta-white,
  .btn-cta-orange {
    width: 100%;
    justify-content: center;
  }
}
