/* Custom styles for Ivan Braid Fades and Hair */

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

/* Marquee animation */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  animation: marquee 20s linear infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f5f0e8;
}

::-webkit-scrollbar-thumb {
  background: #2f5d40;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1a3c27;
}

/* Selection color */
::selection {
  background: #2f5d40;
  color: #faf8f4;
}

/* Focus styles */
*:focus-visible {
  outline: 2px solid #2f5d40;
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-marquee {
    animation: none;
  }
  
  html {
    scroll-behavior: auto;
  }
  
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Scroll reveal animations (progressive enhancement) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(250, 248, 244, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

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

/* Card hover lift */
.group:hover {
  transform: translateY(-4px);
}

/* Gradient text utility */
.text-gradient {
  background: linear-gradient(135deg, #2f5d40, #4d785c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
