/* Cold Crush Ave — Custom Styles */

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

/* Base font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5e8;
}
::-webkit-scrollbar-thumb {
    background: #d4ab64;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c4954e;
}

/* Menu tabs */
.menu-tab {
    background: transparent;
    color: #1a2744;
    border: none;
    cursor: pointer;
}
.menu-tab.active {
    background: #ffffff;
    color: #c93d1c;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.menu-tab:not(.active):hover {
    background: rgba(255,255,255,0.5);
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
    padding-top: 0;
}

/* Navbar scroll state */
#navbar.scrolled {
    box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}

/* Fade-in on scroll (progressive enhancement) */
.fade-in {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .fade-in.visible {
        opacity: 1;
        transform: none;
    }
}

/* Image hover zoom */
img {
    transition: transform 0.4s ease;
}

/* Selection color */
::selection {
    background: #f9c4b0;
    color: #71221a;
}
