/* Custom Styles for Los Supreme */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9a2525;
}

/* Selection Color */
::selection {
    background: rgba(127, 31, 31, 0.5);
    color: #fdf2f2;
}

/* Reveal Animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar Transition */
#navbar {
    backdrop-filter: blur(0px);
    transition: backdrop-filter 0.5s ease, background 0.5s ease;
}

#navbar.scrolled {
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 10, 0.9);
}

/* Mobile Menu Animation */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu {
    opacity: 0;
    pointer-events: none;
}

/* Image Hover Effects */
img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button Focus States */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #b83232;
    outline-offset: 2px;
}

/* Input Focus States */
input:focus,
textarea:focus {
    outline: none;
    border-color: #b83232;
    box-shadow: 0 0 0 3px rgba(184, 50, 50, 0.1);
}

/* Gallery Grid Responsive */
@media (max-width: 768px) {
    .grid-cols-2 > :first-child {
        grid-column: span 2;
    }
}

/* Reduce 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 {
    #navbar,
    #mobile-menu-btn,
    button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
    }
}
