/* Custom styles for A B C's Of Driving School */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF9F3;
}
::-webkit-scrollbar-thumb {
    background: #DDB378;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #B85C38;
}

/* CTA Button */
.cta-btn {
    background: linear-gradient(135deg, #B85C38 0%, #9A4A2C 100%);
    transition: all 0.3s ease;
}
.cta-btn:hover {
    background: linear-gradient(135deg, #9A4A2C 0%, #7D3B24 100%);
    transform: translateY(-2px);
}

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

/* Testimonial cards */
.testimonial-card {
    will-change: transform;
}

/* Mobile links */
.mobile-link {
    transition: color 0.3s ease;
}
.mobile-link:hover {
    color: #B85C38;
}

/* Navigation active state */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #B85C38;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Mobile menu transition */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus styles */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Selection color */
::selection {
    background: #FADDD2;
    color: #7D3B24;
}
