/* All Star Driver Education - Custom Styles */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(250, 245, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(88, 28, 135, 0.1);
}

/* Active nav link */
.nav-link-active {
    color: #f59e0b !important;
}

/* Button hover glow */
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4) !important;
}

/* Card tilt effect on hover */
.card-tilt {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-tilt:hover {
    transform: translateY(-8px);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #9333ea, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse animation for CTA */
@keyframes pulse-amber {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
}

.pulse-cta {
    animation: pulse-amber 2s infinite;
}

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

/* Focus visible styles */
*:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}
