/* Custom Styles for Defensive Driving Direct */

/* Base font settings */
html {
    scroll-behavior: smooth;
}

body {
    /* Off-white background */
    background-color: #FDFCF8;
    color: #1A3C34;
    font-family: 'Outfit', sans-serif;
}

/* Serif font for headings */
.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Animation Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

/* Active states for animations */
.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Delays for staggered animations */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1A3C34;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
