/* ===== Custom Styles for Lakeland Xpress Allstars ===== */

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

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

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.06);
}

#navbar.scrolled .nav-logo-text {
    color: #0a1628;
}

#navbar.scrolled .nav-link {
    color: #0a1628;
}

#navbar.scrolled .menu-line {
    background: #0a1628;
}

/* Hero section - ensure light background with dark text */
#hero {
    background: linear-gradient(135deg, #f0fdf6 0%, #ffffff 50%, #f0fdf6 100%);
}

/* Menu tabs */
.menu-tab {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748b;
}

.menu-tab.active-tab {
    background: #0a1628;
    color: #ffffff;
}

.menu-tab:hover:not(.active-tab) {
    color: #0d9e78;
}

/* Mobile menu animations */
.menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

#menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
    width: 1.25rem;
}

/* Mobile links */
.mobile-link {
    display: block;
    border-bottom: 1px solid #f0fdf6;
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Scroll reveal animations - progressive enhancement via JS */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* These are only animated when JS runs and prefers-reduced-motion is not set */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-left {
        opacity: 0;
        transform: translateX(-30px);
    }
    
    .reveal-right {
        opacity: 0;
        transform: translateX(30px);
    }
    
    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #2dd4a0;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #bbf7d0;
    color: #0a1628;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7a8fc7;
}

/* Print styles */
@media print {
    #navbar,
    #hero .absolute,
    .reveal-up,
    .reveal-left,
    .reveal-right {
        display: none !important;
    }
    
    body {
        color: #0a1628;
        background: white;
    }
}
