/* Custom Styles for Rally Automotive */

:root {
    --midnight-900: #0F172A;
    --midnight-800: #1E293B;
    --mint-400: #98D4C8;
    --mint-500: #7BC4B8;
    --stone-50: #F5F5F4;
    --stone-100: #E7E5E4;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--stone-50);
    color: var(--midnight-900);
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Libre Baskerville', serif;
}

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

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

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

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-scrolled .text-white {
    color: white !important;
}

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

::-webkit-scrollbar-track {
    background: var(--stone-50);
}

::-webkit-scrollbar-thumb {
    background: var(--midnight-800);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--mint-400);
}

/* Form Focus States */
input:focus, textarea:focus, select:focus {
    border-color: var(--mint-400);
    box-shadow: 0 0 0 3px rgba(152, 212, 200, 0.2);
}

/* Button Hover Effects */
button:hover, a:hover {
    transition: all 0.3s ease;
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

.group:hover img {
    transform: scale(1.05);
}
