/* Custom styles for AGA CAFE */

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

/* Scroll reveal base — always visible, JS adds animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Active state applied by JS */
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion — never animate */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .reveal.revealed {
        opacity: 1;
        transform: none;
    }
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Navbar styles */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 0 rgba(10, 31, 63, 0.08);
    backdrop-filter: blur(12px);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1f3f;
}
::-webkit-scrollbar-thumb {
    background: #1a3d64;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #34d4a8;
}

/* Selection color */
::selection {
    background: #34d4a8;
    color: #0a1f3f;
}
