* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
@font-face {
    font-family: 'ethnocentric';
    src: url('font/ethnocentric.otf') format('opentype'); 
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    /* overflow: hidden; */
}
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    /* This allows up/down scroll but STOPS side scroll */
    overflow-x: hidden; 
}

.hero-section {
    position: relative;
    width: 100%;
    height: 110vh;
}


.bg-fade {
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(40, 40, 40, 0.6) 0%, rgba(0, 0, 0, 1) 70%);
    z-index: 1;
}


nav {
    position: relative;
    z-index: 100; /* Increased z-index so menu sits on top */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    background: #000;
    border-radius: 50px 0 50px 0;
    margin: 2rem;
    box-shadow: 0 4px 30px rgba(139, 136, 136, 0.25);
}

.logo img{
    width: 180px;
    z-index: 102; 
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;
    font-family: 'ethnocentric', sans-serif; 
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 2px;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}


/* --- HAMBURGER STYLES (Hidden on Desktop) --- */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 102; /* Above the menu overlay */
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* --- MOBILE RESPONSIVE STYLES --- */
@media (max-width: 768px) {
    /* 1. Reset Nav Container for Mobile */
    nav {
        padding: 1.5rem 2rem;
        flex-direction: row;
        margin: 1rem;

    }
    .logo img{
        width: 140px;
    }

    /* 2. Show Hamburger */
    .hamburger {
        display: block;
    }

    /* 3. Transform Nav Links into a Full Screen/Dropdown Menu */
    .nav-links {
        position: fixed;
        left: -100%; /* Hide off-screen to the left */
        top: 0;
        flex-direction: column;
        background-color: #0a0a0a; /* Dark background */
        width: 100%;
        height: 100vh; /* Full screen height */
        text-align: center;
        justify-content: center; /* Center items vertically */
        transition: 0.3s;
        z-index: 101;
    }

    /* 4. Active State (Added via JS) */
    .nav-links.active {
        left: 0; /* Slide in */
    }

    .nav-links li {
        margin: 2.5rem 0;
    }

    .nav-links a {
        font-size: 1.5rem; /* Bigger text for mobile fingers */
    }

    /* 5. Optional: Turn Burger into X when active */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}






.content-container {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 100px);
}


.main-heading {
    font-size: 3rem;
    font-weight: bold;
    font-family: 'ethnocentric';
    background: linear-gradient(to bottom, #ffffff 0%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 5px;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 1.5s;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}


.hero-car-container {
    position: relative;
    width: 60%;
    height: 510px;
    margin: 2rem 0;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0);
    animation: carZoom 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.3s;
}

/* White fade lights in front of car */
.light-fade {
    position: absolute;
    bottom: 0;
    width: 200px;
    height: 70px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(20px);
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.8s;
}

.light-fade.left {
    left: 20%;
    transform: translateX(-50%);
}

.light-fade.right {
    right: 20%;
    transform: translateX(50%);
}


.tagline {
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 3px;
    text-align: center;
    max-width: 600px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 2s;
}


@keyframes carZoom {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

    .stats-section {
    background: #000;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 300px;
}

    .stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    gap: 2rem;
}

    .stat-item {
    text-align: center;
}

    .stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    font-family: 'ethnocentric';
}

    .row{
    display: flex;
    justify-content: row;
    align-items: flex-end;
    justify-content: center;
}

    .stat-label {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 3px;
    font-family: 'ethnocentric';
}

    .divider-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

    .divider-icon {
    width: 40px;
    height: 40px;
}

    .divider-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

    .divider-text {
    font-size: 0.85rem;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
    max-width: 150px;
    line-height: 1.4;
}

    .row1{
     margin-top: 90px;
     display: flex;
     flex-direction: row;
     align-items: center;
     justify-content: center; 
}
    .row1 h2{
    color: #939393;
    font-size: 18px;
}
    .row1 img {
    margin-left: 30px;
    margin-right: 30px;
} 





@media (max-width: 768px){
    .row1{
     flex-direction: column;
     gap: 20px;
    }
    .stats-section{
     padding: 2rem 2rem;
    }
    .tagline{
     max-width: 450px;
    }
 }




.thirdsection {
    width: 100%;
    height: 100vh;
    position: relative; 
    background-image: url(assets/Group\ 11.png);
    background-repeat: no-repeat;
    background-size: 95%; 
    background-position: center;
}

.car-container {
    width: 60%;
    height: 48vh;
    z-index: 100;    
    position: absolute; 
    top: 60%; 
    left: 50%;
    transform: translate(-50%, -50%);
}





/* --- PERFORMANCE & ENGINEERING (The Fix) --- */
.info-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60vh;
    padding: 4rem 5%;
    gap: 4rem;
    position: relative;
    overflow: hidden;
    background: transparent; 
}

.info-section.reverse {
    flex-direction: row-reverse;
}

.info-image {
    flex: 1.2;
    height: 500px; 
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}


model-viewer {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-color: transparent;
    --poster-color: transparent;
    outline: none; 
}

model-viewer:focus {
    outline: none;
}

.info-content {
    flex: 0.8;
    color: #fff;
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    justify-content: center;
    text-align: left;
    z-index: 2;
}



.info-content h2 {
    font-family: 'ethnocentric', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.info-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 2rem; /* Increased slightly for spacing */
}


.explore-btn {
    position: relative;
    padding: 12px 30px;
    border-radius: 0 45px 0 45px;
    background: radial-gradient(circle at 100% 0%, #4a4a4a 0%, #1a1a1a 60%, #000000 100%);
    border: none;
    border-right: 2px solid #ff7b00;
    border-left: 2px solid #ff7b00;
    color: white;
    font-family: 'ethnocentric';
    font-size: 14px;
    font-weight: 800;
    margin-top: 30px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: fit-content; 
    margin-top: 0; /* Removing extra margin since 'p' has bottom margin now */
}

.explore-btn::after {
    content: '→';
    font-size: 24px;
    margin-left: 10px;
}

.explore-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 123, 0, 0.4);
}



/* --- MOBILE RESPONSIVE (Max Width 720px) --- */
@media (max-width: 720px) {

    /* 1. Third Section (Main Hero Car) Adjustments */
    .thirdsection {
        height: 60vh; /* Reduce height so it doesn't take too much scrolling */
        background-size: contain; /* Ensure background image fits */
    }

    .car-container {
        width: 90%; /* Make car container wider on mobile */
        height: 40vh;
        top: 55%; /* Adjust vertical position */
    }

    /* 2. Info Sections (Performance & Engineering) */
    .info-section, 
    .info-section.reverse {
        flex-direction: column; /* Stack vertically */
        padding: 3rem 1.5rem;   /* Reduce padding */
        gap: 2rem;              /* Reduce gap between car and text */
        text-align: center;     /* Center text for better mobile look */
        min-height: auto;       /* Let height adjust naturally */
    }

    /* 3. Ensure Image is always on TOP */
    .info-image {
        width: 100%;
        height: 350px; /* Reduce height of the 3D viewer container */
        order: -1;     /* Forces the image to appear before text */
        flex: none;    /* Disable flex resizing */
    }

    /* 4. Model Viewer Sizing */
    model-viewer {
        min-height: 300px; /* Prevent it from being too tall on mobile */
    }

    /* 5. Content Styling */
    .info-content {
        width: 100%;
        align-items: center; /* Center align items vertically */
        text-align: center;  /* Center align text horizontally */
    }

    .info-content h2 {
        font-size: 1.5rem; /* Make headline smaller */
        margin-bottom: 1rem;
    }

    .info-content p {
        font-size: 0.95rem; /* Make text smaller/readable */
        margin-bottom: 1.5rem;
    }

    /* 6. Button Center */
    .explore-btn {
        margin: 0 auto; /* Center the button */
        width: auto;
    }
}






/* --- FEATURES GRID --- */
.features-grid {
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-container {
    text-align: center;
    margin-bottom: 60px;
}

.features-grid h3 {
    color: #fff;
    font-size: 2.5rem;
    font-family: 'ethnocentric', sans-serif;
    margin: 0;
    letter-spacing: 2px;
}

.sub-heading {
    color: #666;
    letter-spacing: 5px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.feature-card {
    position: relative;
    background: transparent;
    border: 1px solid #1a1a1a;
    padding: 40px 30px;
    text-align: left;
    transition: all 0.3s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: -1px; left: -1px;
    width: 30px; height: 30px;
    border-top: 2px solid #555;
    border-left: 2px solid #555;
}

.feature-card::after {
    content: "";
    position: absolute;
    bottom: -1px; right: -1px;
    width: 30px; height: 30px;
    border-bottom: 2px solid #555;
    border-right: 2px solid #555;
}

.icon-box {
    width: 50px; height: 50px;
    border: 1px solid #333;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px;
}

.icon-box img { width: 24px; height: 24px; }

.feature-card h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
}

.feature-card p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

.feature-card:hover {
    background: #080808;
    border-color: #333;
}
.feature-card:hover::before, .feature-card:hover::after { border-color: #fff; }

/* --- CAROUSEL SECTION --- */
.carousel-section {
    width: 100%;
    min-height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    font-family: 'ethnocentric';
    overflow: hidden; /* Prevents scrollbars if model gets too big */
}









/* The faint background glow behind everything */
.carousel-bg {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; 
    height: 100%;

    pointer-events: none;
    z-index: 1;
}


.main-model-container {
    width: 100%;
    max-width: 1200px; /* Made wider for better car fit */
    height:700px;    /* Made taller so car isn't cut off */
    position: relative;
    z-index: 2;
    /* margin-bottom: 30px; */
    
    background-image: url(assets/Group\ 13.png);
    background-size: contain; 
    background-position: center bottom; 
    background-repeat: no-repeat;
}

/* The wrapper for the 3D Model */
.model-slide {
    width: 100%; 
    height: 100%; 
    opacity: 0;
    position: absolute; 
    top: -20px; 
    left: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    
    /* Flex centers the <model-viewer> inside the slide */
    display: flex;
    justify-content: center;
    align-items: center;
}

.model-slide.active { 
    opacity: 1; 
    pointer-events: auto; 
}

/* The 3D Viewer Styling */
model-viewer {
    width: 100%;
    height: 100%;
    outline: none;
    --poster-color: transparent;
}

/* --- Rest of your CSS (Title, Thumbnails, Dots) stays the same --- */
.car-title {
    font-family: 'ethnocentric';
    font-size: 2.8rem;
    color: #fff;
    width: 600px;
    text-align: center;
    margin-top: -90px;
    margin-bottom: 50px;
    letter-spacing: 2px;
    z-index: 2;
}



.nav-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px; 
    margin-top: 50px; 
    margin-bottom: 170px;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Hide the line behind the dots if you want a cleaner look, or keep it */
.nav-dots::before {
    content: ''; 
    position: absolute;
    width: 60%; /* Adjust width of the line */
    height: 1px; 
    background: #333;
    z-index: -1;
}

.dot {
    width: 25px; 
    height: 25px;
    border: 2px solid #666; 
    border-radius: 50%;
    background: #000; /* Black center */
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    border-color: #fff;
    transform: scale(1.2);
}

.dot.active {
    background: #fff; 
    border-color: #fff;
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* --- FOOTER --- */
.footer {
    width: 100%;
    padding: 60px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    display: flex; 
    align-items: center;
    justify-content: space-between;
    width: 90%;
     /* flex-wrap: wrap;  */
     gap: 190px;
}

.left-col {
    flex: 1; 
    min-width: 300px;
    display: flex;
     flex-direction: column; 
     justify-content: center;
}

.footer-logo { 
    width: 250px;
     margin-bottom: 30px;
     }

.description {
    font-size: 1rem;
     line-height: 1.6;
      color: #ffffff;
    margin-bottom: 30px;
     max-width: 450px;
}

.social-icons { 
    display: flex; 
    gap: 20px; 
    width: 25px;
}

.right-col {
    flex: 1;
     min-width: 300px;
    display: flex;
     flex-direction: column; 
     align-items: flex-start;
}

.contact-heading {
    font-family: 'ethnocentric';
    font-size: 2.5rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 25px; color: #ffffff;
    align-items: right;
}

form {
    display: flex; 
    flex-direction: column;
    gap: 15px;
     width: 100%;
      max-width: 400px;
}

input {
    background-color: transparent;
     border: 1px solid #fff;
    border-radius: 8px; padding: 15px 20px;
    color: #fff; 
    font-size: 1rem;
    font-family: 'Inter', sans-serif; 
    outline: none;
}
input::placeholder { 
    color: #ddd;
 }
input:focus {
     border-color: #aaa;
     }

.submit-btn {
    margin-top: 10px;
    background: linear-gradient(180deg, #333 0%, #1a1a1a 100%);
    border: none; border-radius: 8px 8px 20px 8px;
    padding: 12px 30px; color: #fff;
    font-family: 'ethnocentric'; font-weight: 700; font-size: 1.2rem;
    text-transform: uppercase; cursor: pointer;
    width: fit-content;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
    transition: transform 0.1s ease;
}
.submit-btn:active { transform: scale(0.98); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .main-heading { font-size: 3.5rem; letter-spacing: 10px; }
    .hero-car-container { width: 90%; height: 350px; }
    .nav-links { gap: 2rem; }
    .stat-number { font-size: 4rem; }
    .grid-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Mobile Nav */
    nav { flex-direction: row; gap: 1rem; padding: 2rem 1rem; }
    .nav-links { gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .nav-links a { font-size: 0.8rem; }
    
    /* Hero */
    .main-heading { font-size: 2.5rem; letter-spacing: 5px; }
    .hero-car-container { height: 250px; }
    
    /* Stats */
    .stats-container { flex-direction: column; gap: 3rem; }
    .divider-container { display: none; }
    .stat-number { font-size: 3.5rem; }
    
    /* Info Sections */
    .info-section, .info-section.reverse {
        flex-direction: column;
        padding: 3rem 5%;
        text-align: center;
        height: auto;
    }
    .info-image { height: 350px; margin-bottom: 2rem; }
    .car-title {
        font-size: 1.5rem;
        width: 400px;
    }
    .carousel-section{
        margin-top: -500px;
    }
    /* Features */
    .grid-container { grid-template-columns: 1fr; 
    margin-bottom: 0;}
    
    /* Carousel */
    .thumbnail-container { gap: 40px; }
    .thumbnail-wrapper { width: 120px; height: 80px; }
    .nav-dots { gap: 20px; }
    .dot { width: 14px; height: 14px; }
    
    /* Footer */
    .footer-content { flex-direction: column; gap: 40px; }
    .right-col { align-items: stretch; }
}




















/* //////////SECOND PAGE ///////////////*/



/* Main Content */


/* --- HERO SECTION LAYOUT --- */
.second-hero-section {
    width: 100%;
    margin-top: 0;
}

.content {
    display: flex;
    align-items: center; /* Centers items vertically (fixes the gap issue) */
    justify-content: space-between;
    height: 90vh; /* Fills the screen height */
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box; /* PREVENTS padding from breaking the width */
    margin-top: -50px; 
}

/* --- LEFT SIDE: TYPOGRAPHY --- */
.text-content {
    flex: 0 0 40%; 
    z-index: 10;
    padding-left: 2rem;
}

.brand {
    font-family: 'ethnocentric', sans-serif;
    font-size: clamp(3rem, 6vw, 6rem); 
    font-weight: 900;
    letter-spacing: 5px;
    color: #ffffff;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    opacity: 0; /* Start hidden */
    animation: slideInFromLeft 1s ease-out forwards; /* Run animation */
    animation-delay: 0.2s;
}
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-150px); /* Starts far to the left */
    }
    100% {
        opacity: 1;
        transform: translateX(0); /* Lands in correct position */
    }
}

.model {
    font-family: 'ethnocentric', sans-serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    letter-spacing: 5px;
    color: #ff6b35; 
    line-height: 1;
    margin-top: 0.5rem;
    width: 80%;
    margin-bottom: 4rem;
    text-transform: uppercase;
    opacity: 0;
    animation: slideInFromLeft 1s ease-out forwards;
    animation-delay: 0.4s;
}

/* --- SPECS GRID --- */
.hero-specs-grid {
    display: flex;
    flex-direction: column; /* Stacks them vertically */
    gap: 2.5rem;
}
.hero-spec-box {
    opacity: 0;
    animation: slideInFromLeft 0.8s ease-out forwards;
}
/* This creates the "wave" effect for the 3 boxes */
.hero-spec-box:nth-child(1) { animation-delay: 0.6s; }
.hero-spec-box:nth-child(2) { animation-delay: 0.8s; }
.hero-spec-box:nth-child(3) { animation-delay: 1.0s; }

.hero-spec-number {
    font-family: 'ethnocentric', sans-serif;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.hero-spec-text {
    font-family: 'Inter', sans-serif; 
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #888;
    text-transform: uppercase;
    font-weight: 400;
}

/* --- RIGHT SIDE: CAR MODEL --- */
.product-car-container {
    flex: 1; /* Takes up remaining space */
    height: 100%;
    width: 100%;
    position: relative;
    /* Allows the car to overlap if needed */
    z-index: 1; 
}
/* .boxter-car-model{
    width: 160%; 
    height: 120%;
     transform: translateX(-30%) translateY(10%);  
    opacity: 0;
    animation: slideInFromRight 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.4s;

} */
#car-model {
    width: 160%; /* Makes container wider than the screen section for that "Big" look */
    height: 120%;
    /* transform: translateX(-30%) translateY(10%);  */
    opacity: 0;
    animation: slideInFromRight 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.4s;
}
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px) translateY(10%); /* Starts slightly right */
    }
    100% {
        opacity: 1;
        transform: translateX(-30%) translateY(10%); /* Lands in your specific car position */
    }
}

model-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
    background-color: transparent;
    outline: none;
}

/* --- RESPONSIVE (TABLET & MOBILE) --- */
@media (max-width: 1024px) {
    .content {
        flex-direction: column; /* Stack vertically on phones */
        padding-top: 8rem;
        justify-content: flex-start;
    }

    .text-content {
        flex: 0 0 auto;
        width: 100%;
        text-align: center; /* Center text on mobile */
        padding-left: 0;
        margin-bottom: 2rem;
    }
    
    .hero-specs-grid {
        flex-direction: row; /* Horizontal specs on mobile looks better */
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .product-car-container {
        height: 50vh;
        width: 100%;
    }
    
    #car-model {
        transform: none; /* Reset shift */
    }
}

@media (max-width: 680px){
    @keyframes slideInFromRight {
        0% {
            opacity: 0;
            transform: translateX(100px) translateY(10%); /* Starts slightly right */
        }
        100% {
            opacity: 1;
            transform: translateX(-25%) translateY(-15%); /* Lands in your specific car position */
        }
    }
}


/* =========================
   TECHNICAL SPECS SECTION
   ========================= */



   .second-section {
    /* background-color: #000; */
    color: #fff;
    padding: 8rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Header Styles */
.second-header {
    text-align: center;
    margin-bottom: 6rem;
}

.second-title {
    font-family: 'ethnocentric', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: 8px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1;
}

.second-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 3px;
    color: #999;
    text-transform: uppercase;
    font-weight: 300;
}

/* Grid Layout */
.second-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 6rem;
    row-gap: 3rem;
    width: 100%;
    max-width: 1400px;
    margin-bottom: 6rem;
}

.second-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #222;
    transition: border-color 0.3s ease;
}

.second-spec-item:hover {
    border-color: #444;
}

.second-spec-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

.second-spec-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
    text-align: right;
    letter-spacing: 0.5px;
}

/* Bottom Info Box */
.second-info-box {
    border: 1px solid #1a1a1a;
    background-color: #0a0a0a;
    padding: 3rem 2rem;
    max-width: 1200px;
    text-align: center;
    margin-top: 0.95rem;
    width: 100%;
}

.second-info-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: #fff;
}

.second-info-text {
    font-family: 'Inter', sans-serif;
    color: #999;
    line-height: 1.9;
    font-size: 0.95rem;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .second-section {
        padding: 6rem 2rem;
    }

    .second-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 4rem;
        row-gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .second-section {
        padding: 4rem 1.5rem;
    }

    .second-header {
        margin-bottom: 4rem;
    }

    .second-specs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .second-info-box {
        padding: 2.5rem 2rem;
    }
}


/* --- Section Styles --- */
/* =========================
   THIRD SECTION STYLES
   ========================= */

   .third-section {
    background-color: #000;
    width: 100%;
    padding: 0; 
    overflow: hidden;
    display: flex;
    align-items: center;
}

.third-section-content {
    display: flex;
    width: 100%;
    min-height: 700px;
}

/* --- Left Side (Text) --- */
.third-section-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: max(2rem, calc((100vw - 1200px) / 2));
    padding-right: 4rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
    background: #000;
    z-index: 2;
}
.fade-left {
    opacity: 0;
    transform: translateX(-100px); /* Starts 100px to the left */
    transition: all 1s ease-out;
}

.fade-left.active {
    opacity: 1;
    transform: translateX(0); /* Slides into place */
}
/* --- Right Side (Image) --- */
.third-section-image {
    flex: 1;
    width: 50%; /* Forces half width */
    position: relative;
}

.third-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Optional: Fades the left edge of the image smoothly */
    mask-image: linear-gradient(to right, transparent 0%, black 10%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%);
}

/* --- Shared Typography (Keep these consistent) --- */
.section-heading {
    font-family: 'ethnocentric', sans-serif; 
    font-size: clamp(2rem, 4vw, 3.5rem); 
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.section-description {
    font-family: 'Inter', sans-serif; 
    font-size: 1rem;
    line-height: 1.7;
    color: #ccc; 
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.feature-list {
    list-style: none; 
    padding: 0;
}

.feature-list li {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '•'; 
    position: absolute;
    left: 0;
    top: -2px;
    color: #ff6b35;
    font-size: 1.5rem;
}

/* --- Responsive Mobile --- */
@media (max-width: 992px) {
    .third-section-content {
        flex-direction: column;
    }

    .third-section-text {
        width: 100%;
        padding: 4rem 2rem; /* Reset smart padding for mobile */
    }

    .third-section-image {
        width: 100%;
        height: 400px;
    }
}



/* =========================
   UNLEASHED SECTION
   ========================= */

   .unleashed-section {
    background-color: #000;
    color: #fff;
    padding: 6rem 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Styling */
.unleashed-header {
    text-align: center;
    margin-bottom: 5rem;
}

.unleashed-title {
    font-family: 'ethnocentric', sans-serif; /* Your custom font */
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.unleashed-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    color: #888;
    text-transform: uppercase;
}


.unleashed-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem; 
    width: 100%;
    max-width: 1200px;
}


.wireframe-container {
    flex: 1;
    display: flex;
    justify-content: center;
    opacity: 0.8; 
}

.wireframe-img {
    width: 100%;
    max-width: 350px; 
    height: auto;
    object-fit: contain;
}



.features-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem; 
}

.feature-block {
    border-left: 2px solid #333; 
    padding-left: 2rem; 
    position: relative;
    transition: border-color 0.3s ease;
}

.feature-block:hover {
    border-color: #ff6b35; 
}

.feature-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #fff;
}

.feature-block ul {
    list-style: none;
    padding: 0;
}

.feature-block li {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.feature-block li::before {
    content: '▪'; 
    position: absolute;
    left: -5px;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .unleashed-content {
        flex-direction: column;
        gap: 4rem;
    }
    
    .wireframe-img {
        /* transform: rotate(90deg);  */
        max-width: 500px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .unleashed-header {
        margin-bottom: 3rem;
    }
    
    .feature-block {
        padding-left: 1.5rem;
    }
    .wireframe-img {
        
        max-width: 400px;
        margin-bottom: 2rem;
    }
}



/* =========================
   RESERVE / CONFIG SECTION
   ========================= */

   .reserve-section {
    background-color: #000;
    color: #fff;
    padding: 6rem 2rem 4rem;
    text-align: center;
    width: 100%;
}

.reserve-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Typography */
.reserve-title {
    font-family: 'ethnocentric', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.reserve-subtitle {
    font-family: 'Inter', sans-serif;
    color: #888;
    font-size: 1rem;
    margin-bottom: 3rem;
}

/* Image */
.car-display {
    width: 100%;
    max-width: 1000px; 
    height: 400px;    
    margin-bottom: 1.5rem;
    position: relative;
}

#reserve-car-model {
    width: 100%;
    height: 100%;
    outline: none;
}


.color-selector {
    margin-bottom: 3rem;
}

#color-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.color-options {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.color-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    padding: 0; 
}


.color-btn.active::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.color-btn:hover {
    transform: scale(1.1);
}


.configure-btn {
    background: linear-gradient(180deg, #333 0%, #1a1a1a 100%);
    color: #fff;
    text-decoration: none;
    font-family: 'ethnocentric', sans-serif;
    padding: 15px 40px;
    border-radius: 8px 8px 20px 8px; 
    border: 1px solid #444;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.configure-btn:hover {
    border-color: #ff6b35; 
    color: #ff6b35;
}

/* Info Grid Footer */
.separator-line {
    width: 100%;
    height: 1px;
    background-color: #222;
    margin: 4rem 0 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.info-item p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.6;
}

.copyright-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .car-display {
        height: 150px;
    }
}






/* --- Section Styles --- */
/* =========================
   SIXTH SECTION STYLES
   ========================= */

   .six-section {
    background-color: #000;
    width: 100%;
    padding: 0; 
    overflow: hidden; 
}

.six-section-content {
    display: flex;
    align-items: flex-end; 
    width: 100%;
    min-height: 600px;
}

/* --- Left Side (Image) --- */
.six-section-image {
    width: 50%;
    height: 100%;
    
    align-self: stretch; 
    position: relative;
}

.six-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* --- Right Side (Text) --- */
.six-section-text {
    width: 50%;
    padding: 6rem 5% 6rem 4rem; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Typography (Reused from previous sections) */
.section-heading {
    font-family: 'ethnocentric', sans-serif; 
    font-size: clamp(2rem, 4vw, 3.5rem); 
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff;
}

.section-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #888; 
    margin-bottom: 3rem;
    max-width: 550px; 
}

/* --- The Specs Grid --- */
.six-section-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.5rem;
    width: 100%;
    max-width: 600px; /* Limits width so it doesn't stretch too far on big screens */
}

.six-section-grid-item {
    background-color: #050505; 
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    border: none;

    /* YOUR CUSTOM GRADIENT BORDERS */
    background-image: 
        linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 100%);
    background-size: 
        100% 1px,  
        100% 1px,  
        1px 100%,  
        1px 100%;  
    background-position: 
        top left,
        bottom left,
        top left,
        top right;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.six-section-grid-item:hover {
    transform: translateY(-5px); /* Optional: Hover effect */
}

.spec-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #555; 
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.spec-value {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 400; 
    color: #fff;
    letter-spacing: 0.5px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .six-section-content {
        flex-direction: column; 
    }

    .six-section-image {
        width: 100%; 
        height: 400px; 
    }

    .six-section-text {
        width: 100%;
        padding: 4rem 2rem; 
    }
}

@media (max-width: 768px) {
    .six-section-grid {
        grid-template-columns: 1fr; 
    }
    
    .six-section-image {
        height: 300px;
    }
}





   .edition-section {
    background-color: #000;
    padding: 6rem 2rem;
    color: #fff;
    width: 100%;
}

.edition-container {
    max-width: 1200px;
    margin: 0 auto;
}


.edition-header {
    text-align: center;
    margin-bottom: 4rem;
}

.edition-title {
    font-family: 'ethnocentric', sans-serif; 
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.edition-subtitle {
    font-family: 'Inter', sans-serif;
    color: #888;
    font-size: 1rem;
}


.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch; 
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}


.pricing-card {
    background-color: #0b0b0b; 
    border: 1px solid #222;
    padding: 3rem 2rem;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 4px; 
}


.pricing-card.popular {
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.05) 0%, #0b0b0b 40%);
    border-color: #ff6b35; 
    transform: scale(1.02); 
    z-index: 2;
}


.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff6b35;
    color: #000;
    padding: 5px 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
}


.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 2rem;
    height: 40px; 
}

.card-price {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.msrp {
    font-size: 1rem;
    color: #666;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
    flex-grow: 1; 
}

.feature-list li {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1rem;
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.4;
}


.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid #ff6b35; 
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}



.reserve-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #333;
    transition: all 0.3s ease;
    background-color: transparent; 
} 

.reserve-btn:hover {
    border-color: #fff;
}

.reserve-btn.primary {
    background-color: #ff6b35;
    border-color: #ff6b35;
    color: #000;
    font-weight: 700;
}

.reserve-btn.primary:hover {
    background-color: #ff8555;
    border-color: #ff8555;
}


.pricing-footer {
    text-align: center;
    color: #444;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    line-height: 1.6;
}


@media (max-width: 1024px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 500px;
    }

    .pricing-card.popular {
        transform: scale(1); 
    }
    
    .card-desc {
        height: auto;
    }
}









