/* ============================================
COMPANY GALLERY COMPONENT
============================================ */

.gallery-component {
  background: var(--dark-secondary);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.gallery-component .gallery-bg-text {
  position: absolute;
  top: 5%;
  right: -5%;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(100px, 18vw, 280px);
  color: rgba(202, 166, 106, 0.03);
  z-index: 0;
  pointer-events: none;
  letter-spacing: 12px;
  user-select: none;
}

.gallery-component .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.gallery-component .gallery-header {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-component .gallery-header .section-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.gallery-component .gallery-header .section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  color: var(--text-light);
  margin-bottom: 16px;
}

.gallery-component .gallery-header .section-subtitle {
  font-size: clamp(16px, 1.2vw, 18px);
  color: rgba(255, 255, 255, 0.6);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
}

/* ============================================================
CAROUSEL
============================================================ */

.gallery-component .gallery-carousel-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--dark);
  border: 1px solid rgba(202, 166, 106, 0.1);
  margin-bottom: 40px;
}

.gallery-component .gallery-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 400px;
  overflow: hidden;
}

/* Slide */

.gallery-component .gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
visibility 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-component .gallery-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Slide Image */

.gallery-component .gallery-slide-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  transform: scale(1.04);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-component .gallery-slide.active .gallery-slide-image {
  transform: scale(1);
}

/* Slide Video */

.gallery-component .gallery-slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  display: block;
  background: #000;
}

/* Slide Overlay */

.gallery-component .gallery-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 30, 38, 0.7) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

/* Slide Caption */

.gallery-component .gallery-slide-caption {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  z-index: 2;
  max-width: 600px;
  pointer-events: none;
}

.gallery-component .gallery-slide-caption .caption-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(202, 166, 106, 0.2);
  border: 1px solid rgba(202, 166, 106, 0.3);
  border-radius: 50px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.gallery-component .gallery-slide-caption .video-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(255, 0, 0, 0.15);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 50px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ff6b6b;
  font-weight: 600;
  margin-bottom: 8px;
}

.gallery-component .gallery-slide-caption .video-badge i {
  font-size: 12px;
}

.gallery-component .gallery-slide-caption h4 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--text-light);
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery-component .gallery-slide-caption p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================================
CAROUSEL CONTROLS
============================================================ */

.gallery-component .gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(26, 30, 38, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(202, 166, 106, 0.08);
}

.gallery-component .gallery-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(202, 166, 106, 0.2);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.gallery-component .gallery-btn:hover {
  border-color: var(--gold-primary);
  background: rgba(202, 166, 106, 0.1);
  color: var(--gold-primary);
}

.gallery-component .gallery-dots {
  display: flex;
  gap: 10px;
}

.gallery-component .gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0;
  background: transparent;
}

.gallery-component .gallery-dot.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(202, 166, 106, 0.3);
  width: 28px;
  border-radius: 5px;
}

.gallery-component .gallery-dot:hover {
  border-color: var(--gold-primary);
}

.gallery-component .gallery-counter {
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ============================================================
SOCIAL / FACEBOOK
============================================================ */

.gallery-component .gallery-social {
  text-align: center;
  padding: 30px 0 10px;
}

.gallery-component .gallery-social .social-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 12px;
  display: block;
}

.gallery-component .gallery-social .social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(202, 166, 106, 0.15);
  border-radius: 50px;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.gallery-component .gallery-social .social-link i:first-child {
  font-size: 22px;
  color: #1877f2;
}

.gallery-component .gallery-social .social-link:hover {
  transform: translateY(-2px);
  border-color: var(--gold-primary);
  box-shadow: 0 8px 30px rgba(202, 166, 106, 0.1);
}

.gallery-component .gallery-social .social-link .link-text {
  color: rgba(255, 255, 255, 0.7);
}

.gallery-component .gallery-social .social-link .link-text strong {
  color: var(--text-light);
  font-weight: 600;
}

/* ============================================================
REVEAL ANIMATIONS
============================================================ */

.gallery-component .gallery-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-component .gallery-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-component .gallery-reveal-delay-1 {
  transition-delay: 0.1s;
}

.gallery-component .gallery-reveal-delay-2 {
  transition-delay: 0.2s;
}

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

@media (max-width: 1024px) {
  .gallery-component .gallery-carousel-track {
    aspect-ratio: 4 / 3;
    min-height: 300px;
  }

}

@media (max-width: 768px) {
  .gallery-component {
    padding: 60px 0;
  }

  .gallery-component .gallery-carousel-track {
    aspect-ratio: 1 / 1;
    min-height: 250px;
  }

  .gallery-component .gallery-slide-caption {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  .gallery-component .gallery-slide-caption h4 {
    font-size: 18px;
  }

  .gallery-component .gallery-slide-caption p {
    font-size: 13px;
  }

  .gallery-component .gallery-controls {
    padding: 12px 16px;
    gap: 14px;
  }

  .gallery-component .gallery-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .gallery-component .gallery-dot {
    width: 8px;
    height: 8px;
  }

  .gallery-component .gallery-dot.active {
    width: 22px;
  }

}

@media (max-width: 480px) {
  .gallery-component .gallery-carousel-track {
    aspect-ratio: 1 / 1;
    min-height: 200px;
  }

  .gallery-component .gallery-slide-caption {
    bottom: 16px;
    left: 16px;
    right: 16px;
  }

  .gallery-component .gallery-slide-caption h4 {
    font-size: 16px;
  }

  .gallery-component .gallery-slide-caption p {
    font-size: 12px;
  }

  .gallery-component .gallery-social .social-link {
    padding: 10px 18px;
    font-size: 13px;
  }

}

/* ============================================================
REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {
  .gallery-component .gallery-reveal {
    opacity: 1;
    transform: none;
  }

  .gallery-component .gallery-slide {
    transition: none;
  }

  .gallery-component .gallery-slide.active .gallery-slide-image {
    transform: none;
  }

  .gallery-component .gallery-slide-image {
    transform: none;
  }

  .gallery-component .gallery-btn,
.gallery-component .gallery-dot,
.gallery-component .gallery-social .social-link {
    transition: none;
  }

}

/* Component styles are inherited from base CSS */

