/* Custom Styles for R Max Auto Cars */

:root {
    --midnight-900: #0a1628;
    --midnight-800: #1a2d47;
    --midnight-700: #2a3f5f;
    --mint-500: #4ade80;
    --mint-400: #6ee7b7;
    --mint-600: #22c55e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
}

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

.font-sans {
    font-family: 'Lato', sans-serif;
}

/* Custom Color Classes */
.text-midnight-900 {
    color: var(--midnight-900);
}

.text-midnight-800 {
    color: var(--midnight-800);
}

.text-midnight-700 {
    color: var(--midnight-700);
}

.text-mint-400 {
    color: var(--mint-400);
}

.text-mint-500 {
    color: var(--mint-500);
}

.text-mint-600 {
    color: var(--mint-600);
}

.bg-midnight-900 {
    background-color: var(--midnight-900);
}

.bg-midnight-800 {
    background-color: var(--midnight-800);
}

.bg-mint-500 {
    background-color: var(--mint-500);
}

.bg-mint-400 {
    background-color: var(--mint-400);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled .text-midnight-900 {
    color: var(--midnight-900) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

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

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus Styles */
input:focus,
textarea:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
}

/* Smooth Transitions */
a,
button,
input,
textarea {
    transition: all 0.3s ease;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}
