/* Gallery-specific styles */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

/* Gallery Hero Section */
.gallery-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0081a7 0%, #00afb9 100%);
  overflow: hidden;
}

.gallery-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("./image/gallery-hero-bg.jpg") center / cover;
  opacity: 0.2;
  z-index: 1;
}

.gallery-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.gallery-hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-hero-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.9;
}

/* Gallery Main Section */
.gallery-main {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  margin: 40px 0;
  border-radius: 20px;
}

.gallery-category {
  margin-bottom: 60px;
}

.category-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
  text-align: center;
}

/* Gallery Grid Layout */
.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item-full {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 129, 167, 0.1);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.gallery-item-full:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 129, 167, 0.2);
}

.gallery-image-full {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item-full:hover .gallery-image-full {
  transform: scale(1.05);
}

.gallery-overlay-full {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 25px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item-full:hover .gallery-overlay-full {
  transform: translateY(0);
}

.gallery-title-full {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.gallery-description-full {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 15px;
}

/* Gallery CTA Section */
.gallery-cta-section {
  background: linear-gradient(135deg, #0081a7, #00afb9);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  margin-top: 80px;
  color: white;
}

.gallery-cta-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.gallery-cta-description {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 15px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: white;
  color: #0081a7;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

/* Enhanced Gallery Item Styles */
.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item-large .gallery-image-full {
  height: 400px;
}

/* Gallery Statistics */
.gallery-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 60px 0;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
}

.gallery-stat-item {
  text-align: center;
  padding: 20px;
}

.gallery-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0081a7;
  margin-bottom: 10px;
  display: block;
}

.gallery-stat-label {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .gallery-hero-title {
    font-size: 2.5rem;
  }

  .gallery-hero-subtitle {
    font-size: 1rem;
  }

  .gallery-grid-full {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .gallery-item-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item-large .gallery-image-full {
    height: 250px;
  }

  .gallery-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .gallery-cta-section {
    padding: 40px 20px;
  }

  .category-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .gallery-hero {
    min-height: 50vh;
  }

  .gallery-hero-title {
    font-size: 2rem;
  }

  .gallery-main {
    padding: 40px 0;
    margin: 20px 0;
  }

  .gallery-grid-full {
    gap: 20px;
  }

  .gallery-overlay-full {
    padding: 20px;
  }

  .gallery-title-full {
    font-size: 1.1rem;
  }

  .gallery-description-full {
    font-size: 0.85rem;
  }

  .gallery-cta-title {
    font-size: 2rem;
  }

  .gallery-stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 360px) {
  .gallery-hero-title {
    font-size: 1.75rem;
  }

  .gallery-hero-subtitle {
    font-size: 0.9rem;
  }

  .gallery-grid-full {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-cta-section {
    padding: 30px 15px;
  }

  .gallery-cta-title {
    font-size: 1.75rem;
  }

  .gallery-cta-description {
    font-size: 1rem;
  }

  .category-title {
    font-size: 1.75rem;
  }
}

/* Animation Effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-item-full {
  animation: fadeInUp 0.6s ease-out;
}

.gallery-item-full:nth-child(1) {
  animation-delay: 0.1s;
}
.gallery-item-full:nth-child(2) {
  animation-delay: 0.2s;
}
.gallery-item-full:nth-child(3) {
  animation-delay: 0.3s;
}
.gallery-item-full:nth-child(4) {
  animation-delay: 0.4s;
}
.gallery-item-full:nth-child(5) {
  animation-delay: 0.5s;
}
.gallery-item-full:nth-child(6) {
  animation-delay: 0.6s;
}

/* Enhanced Hover Effects */
.gallery-item-full::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 129, 167, 0.1), rgba(0, 175, 185, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-item-full:hover::before {
  opacity: 1;
}

/* Schedule Visit Button Enhancement */
#scheduleVisit {
  position: relative;
  overflow: hidden;
}

#scheduleVisit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

#scheduleVisit:hover::before {
  left: 100%;
}
