/* Custom CSS for Emmaculate Sports Bar */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll Reveal */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

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

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

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

/* Selection */
::selection {
    background: #f0d6ca;
    color: #6c3326;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c05a3d;
    outline-offset: 2px;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* Image Hover Effects */
img {
    transition: transform 0.7s ease-out;
}

img:hover {
    transform: scale(1.05);
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease-out;
}

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

/* Print Styles */
@media print {
    nav,
    footer,
    .reveal-on-scroll {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
