/* Custom Styles for Bennington Driving School */

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

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

::-webkit-scrollbar-track {
    background: #0b0b0d;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #ff6b52;
}

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

/* Base animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 82, 0.2); }
    50% { box-shadow: 0 0 40px rgba(255, 107, 82, 0.4); }
}

/* Utility classes */
.text-gradient-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button hover effects */
button:hover, a:hover {
    transition: all 0.3s ease;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 82, 0.2);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
