/* 
    Back to Basics Automotive - Custom Styles
    Theme: Midnight Blue + Mint | Clean Minimalist
*/

:root {
    --midnight: #0F172A; /* Slate 900 */
    --mint: #5EEAD4;     /* Teal 300 */
    --mint-dark: #2DD4BF;
    --white: #ffffff;
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-800: #1E293B;
}

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

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    color: var(--slate-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

/* Custom Utilities */
.text-midnight { color: var(--midnight); }
.text-mint { color: var(--mint); }
.bg-midnight { background-color: var(--midnight); }
.bg-mint { background-color: var(--mint); }

/* Navbar Transition */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Service Grid Hover Effects */
.service-card {
    transition: all 0.4s ease;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Smooth Scroll Offset for Fixed Header */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection Color */
::selection {
    background: var(--mint);
    color: var(--midnight);
}
