/* Custom Styles for Sons Of Beer */

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Apply animations to elements */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Stagger animation delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Hero section animations */
#hero .animate-fade-in-up {
    opacity: 0;
}

#hero.loaded .animate-fade-in-up {
    opacity: 1;
}

/* Image hover effects */
img {
    transition: transform 0.7s ease;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

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

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

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

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

/* Subtle hover glow for coral elements */
.bg-coral-500 {
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.bg-coral-500:hover {
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
}

/* Print styles */
@media print {
    nav,
    #contact,
    .animate-bounce {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-charcoal-900,
    .bg-charcoal-800 {
        background: white !important;
    }
    
    .text-white,
    .text-gray-300,
    .text-gray-400 {
        color: black !important;
    }
}
