/* Custom Styles for McGinnis Auto */

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

/* Base Animation Setup */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Animation states for elements that should be hidden initially */
/* Note: We don't apply opacity:0 to these in CSS because we want content to be visible
   even if JS fails. JS will add the class if needed, or we rely on the default state. */

/* Navbar Scroll Effect */
.nav-scrolled {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

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

::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* Form Styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #047857;
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.2);
}

/* Mobile Menu Transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}
