/* === CUSTOM STYLES === */

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

/* Marquee animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 25s linear infinite;
}

/* Reveal animations - progressive enhancement via JS */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Mobile menu line animation */
.menu-line {
    transition: all 0.3s ease;
}

#menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle.active .menu-line:nth-child(3) {
    width: 20px;
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 252, 245, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

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

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

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

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

/* Selection color */
::selection {
    background: #fde5df;
    color: #1a1614;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-marquee {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}
