@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #0b0f15;
    color: #ffffff;
    overflow-x: hidden;
}

/* Hero Section Container with subtle gold radial gradient */
.hero-bg-container {
    position: relative;
    background: radial-gradient(circle at 65% 50%, rgba(255, 215, 0, 0.07) 0%, transparent 65%);
}

/* Desktop Only: Render background car & animation on large screens */
@media (min-width: 1024px) {
    .hero-bg-container::before {
        content: '';
        position: absolute;
        left: 52%;
        top: 50%;
        transform: translate(-50%, -50%) perspective(1200px) rotateY(-5deg) rotateX(4deg);
        width: 680px;
        height: 420px;
        background-image: url('Picture/hero-car.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.85;
        z-index: 1;
        pointer-events: none;
        filter: drop-shadow(0 35px 50px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 25px rgba(255, 215, 0, 0.15));
        animation: floatCarCenter 6s ease-in-out infinite;
    }
}

/* Mobile & Tablet: Completely disable pseudo element & image to boost Mobile FCP < 1.5s */
@media (max-width: 1023px) {
    .hero-bg-container::before {
        display: none !important;
        content: none !important;
        background-image: none !important;
    }
}

@keyframes floatCarCenter {
    0%, 100% {
        transform: translate(-50%, -52%) perspective(1200px) rotateY(-5deg) rotateX(4deg);
    }
    50% {
        transform: translate(-50%, -48%) perspective(1200px) rotateY(2deg) rotateX(7deg) scale(1.02);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* ==========================================
   SERVICES PAGE: Premium 3D Showroom Stage
   ========================================== */
.services-3d-stage {
    perspective: 1400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Glowing gold showroom spotlight under the car */
.services-3d-stage::before {
    content: '';
    position: absolute;
    bottom: 10px;
    width: 320px;
    height: 90px;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.4) 0%, rgba(255, 215, 0, 0.05) 60%, transparent 80%);
    border-radius: 50%;
    transform: rotateX(60deg);
    filter: blur(12px);
    z-index: 0;
}

.services-rotating-car {
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
    filter: drop-shadow(0 35px 45px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 30px rgba(255, 215, 0, 0.3));
    animation: floatShowroomCar 5s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes floatShowroomCar {
    0%, 100% {
        transform: translateY(0px) rotateX(4deg) rotateY(-6deg);
    }
    50% {
        transform: translateY(-12px) rotateX(-2deg) rotateY(6deg) scale(1.02);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0b0f15;
}
::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ffd700;
}
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}
/* Yeh line ensure karegi ke fixed header ke neeche content theek se aaye */
body {
    padding-top: 80px; 
}