/* Custom styles for Salinas Valley Truck Driving School */

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #6a9e3f;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(31, 52, 17, 0.08);
}

#navbar.scrolled .nav-link {
    color: #1f3411;
}

#navbar.scrolled .nav-link:hover {
    color: #4d7f28;
}

/* Mobile nav links */
.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dce8d4;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* FAQ button hover */
.faq-btn:hover .faq-icon {
    color: #3d6520;
}

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

::-webkit-scrollbar-track {
    background: #faf8ef;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #8fb86a;
}

/* Selection color */
::selection {
    background: #dce8d4;
    color: #1f3411;
}

/* Form input autofill */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #fefdf8 inset !important;
    -webkit-text-fill-color: #1f3411 !important;
}
