/* Custom styles for Blame The Juice */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F9F0F7;
}
::-webkit-scrollbar-thumb {
  background: #D799CA;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A04C92;
}

/* Selection color */
::selection {
  background: #E8C2DF;
  color: #4A1F41;
}

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(255, 251, 240, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(107, 47, 91, 0.08);
}

/* Image hover zoom */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* Gallery grid auto rows */
.auto-rows-\[200px\] {
  auto-rows: 200px;
}

/* Subtle gradient text for hero (if needed) */
.gradient-text {
  background: linear-gradient(135deg, #6B2F5B 0%, #A04C92 50%, #F5B400 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid #A04C92;
  outline-offset: 2px;
}

/* Form select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B2F5B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  appearance: none;
  -webkit-appearance: none;
}

/* Fade-in animations (progressive enhancement) */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
  }
}
