/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1b1b1b; /* Cor de fundo escura */
    color: #f1f1f1; /* Texto claro para contraste */
    line-height: 1.6;
}

/* Container padrão */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/image/hero_banner.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero h2 {
    font-size: 3rem;
    color: #f1f1f1;
}

.hero p {
    margin: 20px 0;
    font-size: 1.2rem;
}

.cta-button {
    padding: 15px 30px;
    background-color: #e74c3c;
    color: #f1f1f1;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #c0392b;
    transform: scale(1.05);
}

/* Seção de carros em destaque */
.swiper-button-next, .swiper-button-prev {
    color: white;
}

.featured-cars {
    padding: 40px 0;
    background-color: #222;
    text-align: center;
}

    .featured-cars h2 {
        font-size: 1.6rem;
        text-transform: uppercase;
        margin-bottom: 20px;
        color: #f1f1f1;
    }

    .car-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px;
        place-items: center;
    }

    .car-card {
        background-color: #333;
        max-width: 360px;
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .car-card p{
        font-size: 1.2rem;
        color: #f1f1f1;
    }

    .car-card h3, .car-card p, .details-button, .car-card .card-image {
        position: relative;
        margin-bottom: 5px;
    }

    .car-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }

    .car-card img {
        aspect-ratio: 16/9;
        width: 100%;
        border-radius: 10px;
        object-fit: cover;
    }

    .details-button {
        display: inline-block;
        margin-top: 15px;
        padding: 10px 20px;
        background-color: #e74c3c;
        color: #f1f1f1;
        border-radius: 20px;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .details-button:hover {
        background-color: #c0392b;
    }

    @media (max-width: 640px) {
        .hero h2 {
            font-size: 2.4rem;
        }

        .hero p {
            font-size: 1rem;
        }

        .cta-button {
            display: block;
            margin-top: 40px;
            padding: 10px 20px;
            font-size: 0.9rem;
        }

        .featured-cars{
            padding: 20px 0;
        }

        .featured-cars h2 {
            font-size: 1.2rem;
        }

    }