/* Custom styles for Busch Light Boys */

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

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

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

::-webkit-scrollbar-thumb {
    background: #7d2323;
    border-radius: 5px;
}

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

/* Selection color */
::selection {
    background: rgba(125, 35, 35, 0.8);
    color: white;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(2deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes float-reverse {
    0%, 100% {
        transform: translateY(0px) rotate(-1deg);
    }
    50% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

/* Floating animation for hero cards */
.floating-card-1 {
    animation: float 6s ease-in-out infinite;
}

.floating-card-2 {
    animation: float-reverse 7s ease-in-out infinite;
}

.floating-card-3 {
    animation: float 5s ease-in-out infinite;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        animation: none;
    }
    
    img.hover\\:scale-105:hover {
        transition: none;
    }
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #e05555;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Image hover effects */
img.hover\\:scale-105 {
    transition: transform 0.5s ease;
}

/* Card hover effects */
.group:hover .group-hover\\:bg-burgundy-800\\/50 {
    background-color: rgba(148, 39, 39, 0.5);
}

/* Gradient text effect (if needed) */
.gradient-text {
    background: linear-gradient(135deg, #fde5e5 0%, #e05555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
