/* Additional custom styles */

/* Smooth focus visible */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection color */
::selection {
  background: rgba(185, 28, 28, 0.4);
  color: #f5f5f5;
}

/* Body overflow fix for mobile menu */
body.menu-open {
  overflow: hidden;
}

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

/* Navbar background on scroll */
.nav-scrolled {
  background: rgba(10, 10, 10, 0.92) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gallery image hover overlay */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* Custom 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='%2378716c' 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;
  padding-right: 2.5rem;
}

/* Gold shimmer accent line animation */
@keyframes line-grow {
  from { width: 0; }
  to { width: 5rem; }
}

.animate-line-grow {
  animation: line-grow 0.8s ease forwards;
}
