/* ========================================
   GALLERY PAGE STYLES
   ======================================== */

/* Gallery Hero Section - Modern Redesign */
.gallery-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 50%, #2a3152 100%);
  color: #FCFCFC;
  text-align: center;
  margin-top: 0;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

/* Animated Background Gradient */
.gallery-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(111, 168, 138, 0.15) 0%, transparent 70%);
  animation: rotateBackground 20s linear infinite;
  z-index: 0;
}

@keyframes rotateBackground {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Floating Particles Effect */
.gallery-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.3), transparent);
  background-size: 200% 200%;
  animation: twinkle 3s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.gallery-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 25px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #FFFFFF 0%, #A7BEB3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 80px rgba(167, 190, 179, 0.5);
  animation: fadeInUp 0.8s ease-out;
  line-height: 1.1;
}

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

.gallery-hero p {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Decorative Elements */
.gallery-hero-content::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background: rgba(111, 168, 138, 0.2);
  border-radius: 50%;
  border: 2px solid rgba(111, 168, 138, 0.3);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateX(-50%) scale(1.1);
    opacity: 0.8;
  }
}

/* Scroll Indicator */
.gallery-hero-content::after {
  content: '↓';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0 100px;
  background-color: #FCFCFC;
}

/* Gallery Filters */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: transparent;
  border: 2px solid #E0E0E0;
  color: #404040;
  padding: 12px 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.filter-btn:hover {
  background-color: #F0F5F2;
  border-color: #A7BEB3;
}

.filter-btn.active {
  background-color: #1B1B1B;
  border-color: #1B1B1B;
  color: #FCFCFC;
}

/* Gallery Grid - 4 Columns */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Gallery Item */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
  aspect-ratio: 1 / 1;
}

.gallery-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.15);
}

/* Gallery Overlay */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #FCFCFC;
  margin-bottom: 5px;
}

.gallery-info p {
  font-size: 0.85rem;
  color: rgba(252, 252, 252, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   LIGHTBOX MODAL
   ======================================== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

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

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: #FCFCFC;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 300;
  line-height: 1;
}

.lightbox-close:hover {
  color: #A7BEB3;
  transform: rotate(90deg);
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #FCFCFC;
  text-align: center;
  font-size: 1.1rem;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px 30px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

/* Lightbox Navigation Arrows */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #FCFCFC;
  font-size: 2rem;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablets */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .gallery-hero {
    min-height: 60vh;
  }

  .gallery-hero h1 {
    font-size: 4rem;
  }

  .gallery-hero p {
    font-size: 1.1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .gallery-hero {
    margin-top: 0;
    padding-top: 80px;
    min-height: 50vh;
  }

  .gallery-hero h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
  }

  .gallery-hero p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .gallery-hero-content {
    padding: 60px 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .gallery-filters {
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  .lightbox-prev,
  .lightbox-next {
    padding: 10px 15px;
    font-size: 1.5rem;
  }

  .lightbox-prev {
    left: 15px;
  }

  .lightbox-next {
    right: 15px;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-hero {
    min-height: 45vh;
  }

  .gallery-hero h1 {
    font-size: 2.5rem;
  }

  .gallery-hero p {
    font-size: 0.95rem;
  }
}
.footer-description {
  text-align: justify;
}
.contact-icon {
  text-align: justify;
}
