/* Custom styles for Jacksonville U Pull A Part And Save Inc */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #1d3557;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c8a44e;
}

/* Selection */
::selection {
    background: rgba(200, 164, 78, 0.3);
    color: #f0f0f0;
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up.delay-1 { animation-delay: 0.1s; }
.fade-in-up.delay-2 { animation-delay: 0.2s; }
.fade-in-up.delay-3 { animation-delay: 0.3s; }
.fade-in-up.delay-4 { animation-delay: 0.4s; }

/* Gold shimmer on hover for buttons */
.btn-gold {
    position: relative;
    overflow: hidden;
}
.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.btn-gold:hover::after {
    left: 100%;
}

/* Part card image zoom container */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 164, 78, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu transition */
#mobile-menu {
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

/* Image aspect ratios */
img {
    max-width: 100%;
    height: auto;
}

/* Subtle gold glow for text */
.text-gold-glow {
    text-shadow: 0 0 40px rgba(200, 164, 78, 0.3);
}

/* Remove default focus outlines for custom focus styles */
input:focus, textarea:focus, button:focus {
    outline: none;
}
