/* ==========================================================================
   CAMPUS GALLERY CAROUSEL - EXTRACTED CSS
   ========================================================================== */

/* ========= CAMPUS GALLERY CAROUSEL ========= */
.campus-gallery {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  background: #f8f9fa;
}

.gallery-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-slides {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

.gallery-slide.active {
  opacity: 1;
  z-index: 2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s ease;
  filter: brightness(1.05) contrast(1.1) saturate(1.1);
}

.gallery-slide:hover .gallery-img {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.15) saturate(1.15);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-slide:hover img {
  transform: scale(1.02);
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  border: 2px solid rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  backdrop-filter: blur(15px) saturate(180%);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12), 
              0 2px 6px rgba(0,0,0,0.08),
              inset 0 1px 0 rgba(255,255,255,0.3);
}

.gallery-btn:hover {
  background: linear-gradient(135deg, #ffffff, #f8faff);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2), 
              0 5px 15px rgba(0,0,0,0.1),
              inset 0 2px 0 rgba(255,255,255,0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.gallery-btn--prev {
  left: 20px;
}

.gallery-btn--next {
  right: 20px;
}

.gallery-btn .material-icons {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.gallery-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  margin: 0 3px;
  position: relative;
  overflow: hidden;
}

.indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.indicator.active {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2),
              0 2px 6px rgba(0,0,0,0.1),
              inset 0 1px 0 rgba(255,255,255,0.5);
  transform: scale(1.2);
}

.indicator.active::before {
  transform: translate(-50%, -50%) scale(1);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
  .campus-gallery {
    height: 300px;
  }
  
  .gallery-btn {
    width: 40px;
    height: 40px;
  }
  
  .gallery-btn--prev {
    left: 10px;
  }
  
  .gallery-btn--next {
    right: 10px;
  }
  
  .gallery-btn .material-icons {
    font-size: 20px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
  
  .contact__content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 480px) {
  .campus-gallery {
    height: 250px;
  }
  
  .gallery-indicators {
    bottom: 15px;
    gap: 8px;
  }
  
  .indicator {
    width: 8px;
    height: 8px;
  }
}

/* ========= CAMPUS HERO SECTION ========= */
.campus-hero {
  background: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
