/* Custom styles for The Zoo Side Grill */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F0FBF6;
}
::-webkit-scrollbar-thumb {
    background: #A7EBCF;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6ED9B3;
}

/* Selection color */
::selection {
    background: #A7EBCF;
    color: #0D1B2A;
}

/* Nav transition states */
.nav-scrolled {
    background: rgba(240, 251, 246, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(13, 27, 42, 0.08);
}

.nav-scrolled .nav-link {
    color: #0D1B2A !important;
}

.nav-scrolled .menu-line {
    background: #0D1B2A !important;
}

/* Mobile menu animation */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* Hamburger animation */
.menu-btn-active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-btn-active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.menu-btn-active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.25rem;
}

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

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

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

/* Image hover zoom */
.rounded-2xl.overflow-hidden img {
    display: block;
}

/* Form focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(110, 217, 179, 0.2);
}

/* Card hover lift */
.rounded-3xl {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rounded-3xl:hover {
    transform: translateY(-4px);
}

/* Counter animation */
.counter-value {
    display: inline-block;
}
