/* Columbus Driving Academy — Custom Styles */

/* Base styles */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background-color: rgba(162, 28, 175, 0.2);
    color: #4a044e;
}

/* Subtle text gradient for accent text */
.text-gradient-plum-amber {
    background: linear-gradient(135deg, #a21caf, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #a21caf;
    outline-offset: 2px;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #fdf4ff inset !important;
    -webkit-text-fill-color: #4a044e !important;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #mobileOverlay {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    .service-card, .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* 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;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .cta-pulse {
        animation: none !important;
    }
    .blob {
        animation: none !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary, .btn-secondary {
        border: 2px solid ButtonText;
    }
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .hero-gradient {
        background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 40%, #fef3c7 100%);
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .service-card {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
}
