/* Custom CSS for 412 Auto Solutions */

/* Custom Color Palette */
:root {
    --burgundy-50: #fdf2f4;
    --burgundy-100: #fce7eb;
    --burgundy-200: #f9cfd9;
    --burgundy-300: #f4a7b8;
    --burgundy-400: #ed748e;
    --burgundy-500: #e04a68;
    --burgundy-600: #cc2d4a;
    --burgundy-700: #a82338;
    --burgundy-800: #8a1c2e;
    --burgundy-900: #721726;
    
    --blush-50: #fef9f7;
    --blush-100: #fdf0ec;
    --blush-200: #fbe3d9;
    --blush-300: #f7c7b0;
    --blush-400: #f1a07e;
    --blush-500: #e8734a;
}

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

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

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

/* Custom Background Colors */
.bg-burgundy-50 { background-color: var(--burgundy-50); }
.bg-burgundy-100 { background-color: var(--burgundy-100); }
.bg-burgundy-200 { background-color: var(--burgundy-200); }
.bg-burgundy-300 { background-color: var(--burgundy-300); }
.bg-burgundy-400 { background-color: var(--burgundy-400); }
.bg-burgundy-500 { background-color: var(--burgundy-500); }
.bg-burgundy-600 { background-color: var(--burgundy-600); }
.bg-burgundy-700 { background-color: var(--burgundy-700); }
.bg-burgundy-800 { background-color: var(--burgundy-800); }
.bg-burgundy-900 { background-color: var(--burgundy-900); }

.bg-blush-50 { background-color: var(--blush-50); }
.bg-blush-100 { background-color: var(--blush-100); }
.bg-blush-200 { background-color: var(--blush-200); }
.bg-blush-300 { background-color: var(--blush-300); }
.bg-blush-400 { background-color: var(--blush-400); }
.bg-blush-500 { background-color: var(--blush-500); }

.text-burgundy-50 { color: var(--burgundy-50); }
.text-burgundy-100 { color: var(--burgundy-100); }
.text-burgundy-200 { color: var(--burgundy-200); }
.text-burgundy-300 { color: var(--burgundy-300); }
.text-burgundy-400 { color: var(--burgundy-400); }
.text-burgundy-500 { color: var(--burgundy-500); }
.text-burgundy-600 { color: var(--burgundy-600); }
.text-burgundy-700 { color: var(--burgundy-700); }
.text-burgundy-800 { color: var(--burgundy-800); }
.text-burgundy-900 { color: var(--burgundy-900); }

.text-blush-100 { color: var(--blush-100); }
.text-blush-200 { color: var(--blush-200); }
.text-blush-300 { color: var(--blush-300); }

/* Animation Keyframes */
@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Navbar Scroll Effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(168, 35, 56, 0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy-500);
}

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--burgundy-500);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    nav,
    .animate-blob,
    #mobile-menu-btn {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
