/* Custom styles for Rohrer Club Lambs */

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

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

::-webkit-scrollbar-track {
  background: #0a1628;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #d4b962;
}

/* Selection color */
::selection {
  background: #c9a84c;
  color: #0a1628;
}

/* Navbar transition states */
.nav-scrolled {
  background: rgba(10, 22, 40, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-scrolled .font-serif {
  color: #ffffff !important;
}

.nav-scrolled .text-navy-600 {
  color: #94a3b8 !important;
}

/* Hero image gradient overlay */
#hero .relative > div:first-child > div {
  position: relative;
}

/* Service card hover effects */
.group:hover .group-hover\:-translate-y-1 {
  transform: translateY(-0.25rem);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

/* 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;
  }
}

/* Print styles */
@media print {
  nav,
  #contact,
  button {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
}
