/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Poppins', sans-serif;

    background:
        linear-gradient(
            rgba(0,0,0,0.82),
            rgba(0,0,0,0.92)
        ),
        url('https://r2.fivemanage.com/GnY0skMgFle2bnAvoRwwL/LXBbackground.jpg');

    background-size:cover;

    background-position:center;

    background-attachment:fixed;

    color:white;

    min-height:100vh;
}


/* =========================
   NAVBAR
========================= */

.navbar{

    width:100%;

    padding:20px 45px;

    background:rgba(8,8,8,0.95);

    border-bottom:1px solid rgba(255,215,0,0.25);

    box-shadow:
        0 5px 25px rgba(0,0,0,0.5);

    position:sticky;

    top:0;

    z-index:1000;
}

.nav-content{

    max-width:1500px;

    margin:auto;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:30px;
}


/* =========================
   LOGO
========================= */

.logo{

    width:65px;

    height:65px;

    object-fit:cover;

    border-radius:50%;

    border:2px solid #d4af37;

    box-shadow:
        0 0 20px rgba(255,215,0,0.25);
}

.brand{

    display:flex;

    align-items:center;

    gap:15px;
}

.brand-name{

    font-size:1.7rem;

    font-weight:700;

    background:linear-gradient(
        90deg,
        #ffd700,
        #fff4b0,
        #d4af37
    );

    background-clip:text;

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;
}


/* =========================
   NAV LINKS
========================= */

.nav-links{

    display:flex;

    gap:30px;
}

.nav-links a{

    color:#ddd;

    font-weight:bold;

    text-decoration:none;

     background: linear-gradient(
        90deg,
        #ffd700,
        #fff4b0,
        #d4af37,
        #8b7500
    );
     background-clip: text;
    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
    animation:gradientMove 5s ease infinite;

    transition:0.3s;

}

.nav-links a:hover{

    color:#ffd700;
}


/* =========================
   SEARCH
========================= */

.search-bar{

    width:250px;

    padding:12px 20px;

    border-radius:50px;

    border:1px solid rgba(255,215,0,0.25);

    background:#151515;

    color:white;

    outline:none;

    font-family:'Poppins', sans-serif;

    transition:0.3s;
}

.search-bar:focus{

    border-color:#ffd700;

    box-shadow:
        0 0 15px rgba(255,215,0,0.25);
}

.search-bar::placeholder{

    color:#999;
}


/* =========================
   PAGE TITLE
========================= */

.page-header{

    text-align:center;

    padding:70px 20px 45px;
}

.page-header h1{

    font-size:4rem;

    font-weight:700;

    letter-spacing:3px;

    background:linear-gradient(
        90deg,
        #8b7500,
        #ffd700,
        #fff4b0,
        #d4af37,
        #8b7500
    );

    background-size:300%;

    background-clip:text;

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

    animation:goldMove 5s ease infinite;
}

.page-header p{

    margin-top:12px;

    color:#aaa;

    font-size:1.1rem;
}

@keyframes goldMove{

    0%{
        background-position:0% 50%;
    }

    50%{
        background-position:100% 50%;
    }

    100%{
        background-position:0% 50%;
    }
}


/* =========================
   GOLD DIVIDER
========================= */

.gold-line{

    width:180px;

    height:3px;

    margin:20px auto;

    border-radius:10px;

    background:linear-gradient(
        90deg,
        #8b7500,
        #ffd700,
        #8b7500
    );

    box-shadow:
        0 0 15px rgba(255,215,0,0.35);
}


/* =========================
   VEHICLE SECTION
========================= */

.vehicle-container{

    max-width:1450px;

    margin:auto;

    padding:20px 35px 80px;

    display:grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:30px;
}


/* =========================
   VEHICLE CARD
========================= */

.vehicle-card{

    background:
        linear-gradient(
            145deg,
            #181818,
            #0c0c0c
        );

    border-radius:18px;

    padding:15px;

    border:1px solid rgba(212,175,55,0.2);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.5);

    overflow:hidden;

    transition:0.35s ease;
}

.vehicle-card:hover{

    transform:translateY(-8px);

    border-color:#d4af37;

    box-shadow:
        0 15px 40px rgba(212,175,55,0.18);
}


/* =========================
   VEHICLE IMAGE
========================= */

.vehicle-card img{

    width:100%;

    height:220px;

    object-fit:cover;

    border-radius:12px;

    display:block;
}


/* =========================
   VEHICLE NAME
========================= */

.vehicle-card h2{

    margin-top:18px;

    text-align:center;

    font-size:1.4rem;

    color:#fff;
}


/* =========================
   PRICE
========================= */

.price{

    margin-top:8px;

    text-align:center;

    font-size:1.8rem;

    font-weight:600;

    color:#27ae60;
}


/* =========================
   STATS
========================= */

.vehicle-stats{

    margin-top:20px;

    padding:15px;

    background:#101010;

    border-radius:12px;

    border:1px solid rgba(212,175,55,0.15);
}

.stat{

    margin-bottom:13px;
}

.stat:last-child{

    margin-bottom:0;
}

.stat-top{

    display:flex;

    justify-content:space-between;

    margin-bottom:5px;

    font-size:0.8rem;

    color:#ccc;
}

.stat-top span:last-child{

    color:#d4af37;

    font-weight:600;
}

.stat-bar{

    width:100%;

    height:6px;

    background:#292929;

    border-radius:20px;

    overflow:hidden;
}

.stat-fill{

    height:100%;

    border-radius:20px;

    background:linear-gradient(
        90deg,
        #8b7500,
        #ffd700
    );
}


/* =========================
   BUTTON
========================= */

.view-button{

    display:block;

    width:100%;

    margin-top:18px;

    padding:12px;

    border:none;

    border-radius:10px;

    background:linear-gradient(
        90deg,
        #8b7500,
        #ffd700,
        #d4af37
    );

    color:#050505;

    font-family:'Poppins', sans-serif;

    font-weight:700;

    cursor:pointer;

    transition:0.3s;
}

.view-button:hover{

    transform:scale(1.02);

    box-shadow:
        0 0 20px rgba(255,215,0,0.3);
}


/* =========================
   FOOTER
========================= */

footer{

    text-align:center;

    padding:25px;

    border-top:1px solid rgba(255,215,0,0.15);

    color:#777;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:1100px){

    .vehicle-container{

        grid-template-columns:
            repeat(2, 1fr);
    }

    .nav-content{

        flex-direction:column;
    }

    .nav-links{

        flex-wrap:wrap;

        justify-content:center;
    }
}


@media(max-width:650px){

    .vehicle-container{

        grid-template-columns:1fr;

        padding:20px;
    }

    .page-header h1{

        font-size:2.5rem;
    }

    .search-bar{

        width:100%;
    }

    .nav-content{

        width:100%;
    }

}
