/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { min-height: 100vh; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f3f9; }
::-webkit-scrollbar-thumb { background: #b9c8e2; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #86a3cc; }

/* ===== NAV ===== */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #e9a320;
    transition: all 0.25s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after { width: 60%; }

/* ===== HEADER SHADOW ===== */
#site-header.scrolled {
    box-shadow: 0 1px 20px rgba(13, 28, 50, 0.08);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #d98c10 0%, #b86e0c 100%);
    color: #fff;
    font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(217, 140, 16, 0.3);
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 140, 16, 0.4);
    background: linear-gradient(135deg, #e9a320 0%, #d98c10 100%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.25);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    font-size: 0.9375rem;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

/* ===== HERO BLOBS ===== */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f9edc4, #f4d88a);
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}
.blob-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #dce3f0, #b9c8e2);
    bottom: -50px;
    left: 10%;
    animation-delay: -3s;
}
.blob-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f0f3f9, #dce3f0);
    top: 40%;
    left: 45%;
    animation-delay: -5s;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* ===== VEHICLE CARDS ===== */
.card-vehicle {
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-vehicle:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(13, 28, 50, 0.1);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    border-radius: 1.25rem;
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
}

/* ===== TESTIMONIAL CARDS ===== */
.card-testimonial {
    border-radius: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(13, 28, 50, 0.08);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== MOBILE MENU ACTIVE STATE ===== */
#mobile-menu.open {
    display: block;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: no-preference) {
    .hero-blob { animation-duration: 8s; }
    .animate-ping { animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite; }
    @keyframes ping {
        75%, 100% { transform: scale(2); opacity: 0; }
    }
}

@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 VISIBLE ===== */
*:focus-visible {
    outline: 2px solid #e9a320;
    outline-offset: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .font-serif { line-height: 1.15; }
}
