/* ======================= */
/* GENERAL STYLES */
body {
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:#5a0f1a;
    color:white;
}

/* HEADER */
header {
    background:#5a0f1a;
    padding:20px;
    text-align:center;
    border-bottom:3px solid gold;
}
header h1 {
    color:gold;
}

/* NAVIGATION */
nav {
    margin-top:10px;
}
nav a {
    color:gold;
    margin:15px;
    text-decoration:none;
    font-weight:bold;
}
nav a:hover {
    color:white;
    border-bottom:2px solid gold;
}

/* SECTIONS */
.section {
    padding:35px;
    background:#6b1525;
    margin:25px;
    border-radius:10px;
}
.section h2 {
    color:gold;
}

/* ======================== */
/* ALL IMAGES SAME SIZE */
.tv-box img,
.vehicle-card img,
.slider3d img,
.gallery-track img,
.services-track img {
    width: 200px;      /* small ID-card size */
    height: 126px;     /* ID-card aspect ratio */
    object-fit: cover;
    display: block;
    border-radius:4px;
}

/* ======================== */
/* TV BOX / SLIDESHOW */
.tv-container {
    display:flex;
    justify-content:center;
    gap:20px;
    margin:30px;
    flex-wrap:wrap;
}
.tv-box {
    width:200px;  /* match image size */
    text-align:center;
    padding:5px;
    border-radius:6px;
    background:black;
    box-shadow:0 0 10px rgba(0,0,0,0.8);
}
.tv-box h3 {
    font-size:14px;
    color:gold;
    margin:5px 0;
}

/* ======================== */
/* VEHICLE CARDS */
.vehicle-section {
    padding:40px;
    text-align:center;
}
.vehicle-cards {
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}
.vehicle-card {
    background:white;
    color:black;
    width:200px;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,0.4);
    transition:0.4s;
    text-align:center;
}
.vehicle-card:hover {
    transform:translateY(-5px) scale(1.02);
}
.vehicle-card h3 {
    color:#5a0f1a;
    font-size:16px;
    margin:5px 0;
}
.vehicle-card button {
    background:gold;
    border:none;
    padding:6px 12px;
    margin-bottom:10px;
    cursor:pointer;
    font-size:12px;
}

/* ======================== */
/* 3D VEHICLE SLIDER */
.slider3d {
    text-align:center;
    margin:30px;
}
.slider3d img {
    width:200px;
    height:126px;
    object-fit:cover;
    border-radius:6px;
    transition:transform 0.5s;
}
.slider-buttons button {
    margin:10px;
    padding:6px 12px;
}

/* ======================== */
/* AUTO SCROLL GALLERY */
.auto-gallery {
    overflow:hidden;
    background:black;
    padding:20px;
}
.gallery-track {
    display:flex;
    gap:10px;
    animation:scrollGallery 20s linear infinite;
}
@keyframes scrollGallery {
    0%{transform:translateX(0);}
    100%{transform:translateX(-50%);}
}

/* ======================== */
/* OUR SERVICES SLIDING GALLERY */
.services-gallery {
    overflow:hidden;
    background:#6b1525;
    padding:20px;
    border-radius:10px;
    margin:20px 0;
}
.services-track {
    display:flex;
    gap:10px;
    animation:slideServices 30s linear infinite;
}
@keyframes slideServices {
    0%{transform:translateX(0);}
    100%{transform:translateX(-50%);}
}

/* ======================== */
/* BATTERY SWAP ANIMATION */
.battery-section {
    text-align:center;
    padding:40px;
}
.battery {
    width:120px;
    height:60px;
    border:4px solid white;
    margin:auto;
    position:relative;
    border-radius:6px;
}
.battery::after {
    content:"";
    position:absolute;
    right:-10px;
    top:18px;
    width:8px;
    height:20px;
    background:white;
}
.battery-fill {
    height:100%;
    width:0;
    background:lime;
    animation:charge 4s infinite;
}
@keyframes charge {
    0%{width:0;}
    100%{width:100%;}
}

/* ======================== */
/* FOOTER */
footer {
    background:black;
    color:gold;
    text-align:center;
    padding:25px;
    margin-top:40px;
}

/* ======================== */
/* RESPONSIVE */
@media(max-width:768px){
    .tv-container,
    .vehicle-cards,
    .services-track,
    .gallery-track {
        flex-direction:column;
        align-items:center;
    }
    .tv-box,
    .vehicle-card,
    .slider3d img,
    .services-track img,
    .gallery-track img {
        width:90%;
        height:auto; /* keeps aspect ratio */
    }
}