* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #080808;
    color: white;
}


/* HEADER */

header {
    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 8%;

    background: #090909;

    border-bottom: 1px solid #222;

    position: sticky;
    top: 0;
    z-index: 1000;
}


.logo {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo span {
    color: #e50909;
}


nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

nav a:hover {
    color: #e50909;
}



/* HERO */

.hero {
    min-height: 600px;

    display: flex;
    align-items: center;

    padding: 80px 10%;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.95),
            rgba(0,0,0,0.55),
            rgba(0,0,0,0.2)
        ),
        url("peugeot208.jpg");

    background-size: cover;
    background-position: center;
}


.hero-content {
    max-width: 600px;
}


.small-title {
    color: #e50909;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 20px;
}


.hero h1 {
    font-size: 60px;
    line-height: 1.05;
    margin-bottom: 25px;
}


.hero h1 span {
    color: #e50909;
}


.hero p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 35px;
    line-height: 1.6;
}


.btn {
    display: inline-block;

    padding: 15px 28px;

    background: #e50909;

    color: white;

    text-decoration: none;

    border-radius: 5px;

    font-weight: bold;
}


.btn:hover {
    background: #b90707;
}



/* SECTION */

.cars-section {
    padding: 100px 8%;
}


.section-title {
    text-align: center;
    margin-bottom: 50px;
}


.section-title p {
    color: #e50909;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 10px;
}


.section-title h2 {
    font-size: 40px;
}


.section-title span {
    display: block;
    color: #aaa;
    margin-top: 15px;
}



/* CARS */

.cars-container {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 30px;
}


.car-card {
    background: #111;

    border: 1px solid #292929;

    border-radius: 12px;

    overflow: hidden;

    transition: 0.3s;
}


.car-card:hover {
    transform: translateY(-8px);

    border-color: #e50909;
}


.car-image {
    width: 100%;
    height: 300px;

    background: white;
}


.car-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.car-info {
    padding: 25px;
}


.available {
    color: #31c75a;
    font-size: 13px;
}


.car-info h3 {
    font-size: 28px;
    margin: 12px 0;
}


.car-info p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 20px;
}


.choose-btn {
    width: 100%;

    padding: 14px;

    background: #e50909;

    border: none;

    color: white;

    font-weight: bold;

    border-radius: 5px;

    cursor: pointer;
}


.choose-btn:hover {
    background: #b90707;
}



/* RESERVATION */

.reservation-section {
    padding: 100px 8%;

    background: #0d0d0d;
}


.reservation-box {
    max-width: 700px;

    margin: auto;

    background: #151515;

    padding: 45px;

    border-radius: 12px;

    border: 1px solid #292929;
}


form {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


label {
    margin-top: 12px;

    font-weight: bold;
}


input,
select {
    width: 100%;

    padding: 15px;

    background: #080808;

    border: 1px solid #333;

    color: white;

    border-radius: 5px;

    font-size: 15px;
}


input:focus,
select:focus {
    outline: none;

    border-color: #e50909;
}


.reservation-btn {
    margin-top: 25px;

    padding: 16px;

    border: none;

    border-radius: 5px;

    background: #25D366;

    color: white;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;
}


.reservation-btn:hover {
    background: #1da851;
}



/* CONTACT */

.contact-section {
    padding: 80px 8%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    border-top: 1px solid #222;
}


.contact-section h2 {
    margin: 15px 0;
}


.contact-section p {
    color: #aaa;

    margin: 8px 0;
}


.whatsapp-btn {
    padding: 16px 25px;

    background: #25D366;

    color: white;

    text-decoration: none;

    border-radius: 5px;

    font-weight: bold;
}



/* FOOTER */

footer {
    padding: 25px;

    text-align: center;

    background: #050505;

    color: #777;
}



/* MOBILE */

@media (max-width: 800px) {

    header {
        padding: 0 5%;
    }

    nav {
        display: none;
    }

    .hero {
        min-height: 500px;

        padding: 60px 7%;
    }

    .hero h1 {
        font-size: 42px;
    }

    .cars-container {
        grid-template-columns: 1fr;
    }

    .contact-section {
        flex-direction: column;

        align-items: flex-start;
    }

    .reservation-box {
        padding: 25px;
    }

}