/*
 Theme Name: Banajoukounka Child
 Template:   astra
 Version:    1.0
 Description: Thème enfant pour site de location de voitures & appartements haut de gamme.
*/

/* ------------------------------
   GLOBAL
------------------------------ */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
    background: #fafafa;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-weight: 700;
    color: #222;
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;
    background: #c9a24f;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
}

.btn:hover {
    background: #b08c3f;
}

/* ------------------------------
   HERO
------------------------------ */

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 80px 5%;
    background: #f5f5f5;
}

.hero-content {
    flex: 1 1 300px;
}

.hero-content h1 {
    font-size: 38px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 16px;
    max-width: 480px;
}

.hero-image {
    flex: 1 1 300px;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ------------------------------
   SEARCH SECTION
------------------------------ */

.search-section {
    padding: 40px 5%;
    background: #fff;
}

.search-section h2 {
    margin-bottom: 15px;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-form select,
.search-form input {
    padding: 10px;
    min-width: 160px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.search-form button {
    padding: 10px 20px;
    background: #c9a24f;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 6px;
}

/* ------------------------------
   FEATURED CARS & DESTINATIONS
------------------------------ */

.featured-cars,
.destinations,
.services,
.cta-final,
.contacts {
    padding: 50px 5%;
    background: #fff;
    margin-top: 10px;
}

.featured-cars h2,
.destinations h2 {
    margin-bottom: 20px;
}

.cars-grid,
.dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.car-card,
.dest-card,
.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: left;
}

.car-card img,
.dest-card img,
.service-card img {
    border-radius: 10px;
    margin-bottom: 10px;
    width: 100%;
    height: auto;
}

/* ------------------------------
   SERVICES
------------------------------ */

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* ------------------------------
   CTA FINAL
------------------------------ */

.cta-final {
    text-align: center;
    background: #f5f5f5;
}

.cta-final h2 {
    margin-bottom: 20px;
}

.cta-final .btn {
    margin: 0 10px;
}

/* ------------------------------
   CONTACTS
------------------------------ */

.contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    font-weight: 500;
}

.contact-item {
    padding: 10px 0;
}

/* ------------------------------
   ARCHIVES
------------------------------ */

.archive-header {
    padding: 40px 5% 10px;
}

.archive-header h1 {
    margin-bottom: 10px;
}

/* ------------------------------
   RESPONSIVE
------------------------------ */

@media (max-width: 768px) {
    .hero {
        padding: 40px 5%;
    }
    .hero-image {
        text-align: center;
        margin-top: 20px;
    }
}
