@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: #000000;
    color: #fff;
}

body::-webkit-scrollbar {
    display: none;
}

#main {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 10vh;
    padding: 0 10vw;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

nav .text-accent {
    color: #FFD700;
}

.cntr-nav {
    display: flex;
    gap: 3vw;
}

.cntr-nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.cntr-nav a:hover {
    color: #FFD700;
}

nav i {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- SECTION ONE: HERO --- */
.one {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-text {
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 80%;
}

.hero-text h1 {
    font-size: 9vw;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFD700;
    opacity: 0.35; /* Standardized decimal value */
}

.hero-text p {
    font-size: 1.2vw;
    margin: 0 auto 30px auto;
    width: 60%;
    color: #ccc;
}

.btn-primary {
    padding: 10px 30px;
    background-color: #FFD700;
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
    background-color: #e6c200;
}

/* Animated Objects */
#main-car {
    position: absolute;
    width: 40%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

#keys {
    position: absolute;
    width: 10%;
    top: 20%;
    left: 10%;
    z-index: 5;
    transform: rotate(-15deg);
}

#bag {
    position: absolute;
    width: 12%;
    bottom: 15%;
    right: 15%;
    z-index: 5;
    transform: rotate(10deg);
}

/* --- SECTION TWO: INTRO --- */
.two {
    display: flex;
    width: 100%;
    height: 100vh;
    background-color: #1a1a1a;
    position: relative;
}

.lft-two, .rght-two {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5vw;
}

.lft-two {
    align-items: center;
}

.lft-two svg {
    width: 80%;
}

.lft-two svg path {
    fill: #FFD700 !important;
    opacity: 0.2;
}

.rght-two h1 {
    font-size: 4vw;
    color: #FFD700;
    margin-bottom: 20px;
}

.rght-two p {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- SECTION THREE: CAR COLLECTION --- */
.three {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3vw;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    position: relative;
    text-align: center;
}

#main-title {
    width: 100%;
    font-size: 4vw;
    color: #FFD700;
    margin-top: 40px;
    padding-bottom: 0px;
}

.card {
    position: relative;
    width: 25vw;
    height: 60vh;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.card h1 {
    font-size: 2vw;
    color: #fff;
    margin-bottom: 10px;
    z-index: 2;
}

.card button {
    padding: 10px 25px;
    background: #FFD700;
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.3s;
}

.card button:hover {
    transform: scale(1.05);
}

/* Specific Car Animations */
#car-etios, #car-swift, #car-innova {
    position: absolute;
    width: 90%;
    top: 50%;
    transform: translateY(-50%);
    transition: none;
}

#car-etios, #car-swift {
    left: -150%;
}

#car-innova {
    left: 150%;
}

/* --- FOOTER --- */
.footer {
    padding: 20px;
    background: #111;
    color: #fff;
    text-align: center;
    border-top: 1px solid #333;
}

/* --- MOBILE RESPONSIVE (Consolidated) --- */
@media (max-width: 799px) {
    /* Nav Mobile */
    nav {
        padding: 0 5vw;
    }
    
    nav i {
        display: block;
        z-index: 1001;
    }

    .cntr-nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #000000;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transform: translateY(-100%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

    .cntr-nav.active {
        display: flex;
        transform: translateY(0);
    }
    
    .cntr-nav a {
        font-size: 1.5rem;
    }

    /* Hero Mobile */
    .one {
        flex-direction: column;
    }
    
    .hero-text h1 {
        font-size: 12vw;
    }
    
    .hero-text p {
        width: 90%;
        font-size: 4vw;
    }

    #main-car {
        width: 70%;
        top: 60%;
    }
    
    #keys {
        width: 20%;
        top: 15%;
        left: 5%;
    }
    
    #bag {
        width: 25%;
        bottom: 10%;
        right: 5%;
    }

    /* Intro Mobile */
    .two {
        flex-direction: column;
        height: auto;
        padding: 50px 0;
    }
    
    .lft-two, .rght-two {
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    .rght-two h1 {
        font-size: 8vw;
        color: #FFD700;
        margin-bottom: 15px;
        line-height: 1.1;
        text-transform: uppercase;
    }

    /* Fleet / Section Three Mobile */
    .three {
        flex-direction: column;
        height: auto;
        padding: 50px 0;
        gap: 50px;
    }

    #main-title {
        font-size: 10vw;
        margin-top: 20px;
        margin-bottom: 0px !important;
        line-height: 1;
    }
    
    .card {
        width: 80vw;
        height: 50vh;
    }

    .card h1 {
        font-size: 6vw;
    }
}