/* Custom styles for Louie's Sporting Goods */

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

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

::-webkit-scrollbar-track {
    background: #1f252b;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Selection color */
::selection {
    background: rgba(255, 107, 63, 0.3);
    color: #f6f6f7;
}

/* Service card hover effect */
.service-card {
    will-change: transform;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(17, 21, 25, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Hero parallax feel */
#hero {
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(17, 21, 25, 0.3) 0%,
        rgba(17, 21, 25, 0.1) 40%,
        rgba(17, 21, 25, 0.6) 80%,
        rgba(17, 21, 25, 1) 100%
    );
    z-index: 1;
}

#hero > .absolute {
    z-index: 0;
}

#hero > .relative {
    z-index: 2;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card {
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    @keyframes slideDown {
        from { opacity: 1; }
        to { opacity: 1; }
    }
}

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

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #2d3339 0%, #1f252b 100%);
}
