/* 
 * Yolanda Driving School - Custom Styles
 * Theme: Classic, Elegant, Terracotta & Sand
 */

:root {
    --color-terracotta: #C06C54;
    --color-sand: #F5F0EB;
    --color-stone-900: #1c1917;
    --color-stone-800: #292524;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #FDFBF7;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Cormorant Garamond', serif;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDFBF7;
}
::-webkit-scrollbar-thumb {
    background: #C06C54;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a0523d;
}

/* Navigation Transition */
nav.scrolled {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Hero Animations */
.hero-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

.hero-btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.reveal.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Button Focus States */
button:focus, a:focus {
    outline: 2px solid #C06C54;
    outline-offset: 2px;
}
