/* Custom Styles for The Daily Mix */

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

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

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

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

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

/* Base Styles */
body {
    background-color: #0a0a0a;
    color: #e8d5c4;
    font-family: 'Lato', sans-serif;
}

/* Selection Color */
::selection {
    background-color: #c2654b;
    color: #f5efe8;
}

/* Animation Classes - Progressive Enhancement */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Animation with reduced motion support */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
    }

    .reveal-left {
        opacity: 0;
        transform: translateX(-30px);
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(30px);
    }

    .reveal-up.animate,
    .reveal-left.animate,
    .reveal-right.animate {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

/* Mobile Menu Animation */
#mobile-menu {
    opacity: 0;
    pointer-events: none;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Navbar Transition */
#navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

/* Image Loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1 !important;
        transform: none !important;
    }
}
