/* Custom styles for McCalla Eatery Food Truck Park */

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

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

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(9, 21, 38, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 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: 1rem;
}

/* Mobile link hover */
.mobile-link {
    position: relative;
}
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #f49e82;
    transition: width 0.2s ease;
}
.mobile-link:hover::after {
    width: 100%;
}

/* Hero gradient text */
.text-terracotta-300 {
    background: linear-gradient(135deg, #f49e82 0%, #ee734e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Selection color */
::selection {
    background: #e85528;
    color: white;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #e85528;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    #navbar, #menu-btn, .reveal {
        display: none !important;
    }
    body {
        color: #0f2440;
        background: white;
    }
}
