/* Carolina Stance Shop — Custom Styles */

/* Ken Burns hero animation */
@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-bg {
  animation: kenburns 20s ease-in-out infinite alternate;
}

/* Gradient overlay for hero */
.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.6) 0%,
    rgba(10, 10, 10, 0.3) 40%,
    rgba(10, 10, 10, 0.7) 100%
  );
}

/* Service card glow on hover */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.15);
  border-color: rgba(231, 76, 60, 0.4);
}

/* Gallery image hover zoom */
.gallery-item img {
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Gallery overlay on hover */
.gallery-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox styles */
.lightbox-active {
  overflow: hidden;
}

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}
#lightbox.active {
  display: flex;
}
#lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

/* YouTube facade play button */
.yt-facade .play-btn {
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.yt-facade:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

/* Scroll indicator bounce */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.scroll-indicator {
  animation: bounce 2s infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e74c3c;
}

/* Navbar blur effect */
.nav-blur {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Social icon hover */
.social-icon {
  transition: color 0.2s ease, transform 0.2s ease;
}
.social-icon:hover {
  color: #e74c3c;
  transform: scale(1.15);
}

/* Filter button active state */
.filter-btn.active {
  background-color: #e74c3c;
  color: #ffffff;
}

/* Fade-in animation for sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
