/* 🌐 GLOBAL STYLES */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f3f4f6;
}

/* 🔲 CONTENEURS */
.container,
.packs-container {
    max-width: 1000px;
    margin: auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* 🧱 GRILLE LISTING (carte style Airbnb) */
.listing-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    flex: 2;
}

/* 🏠 CARTE D'ANNONCE */
.listing-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.listing-card:hover {
    transform: scale(1.02);
}

.listing-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.listing-card:hover .listing-img {
    transform: scale(1.03);
}

/* 👇 INFOS DANS LA CARTE */
.listing-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.listing-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.listing-location,
.listing-description {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.listing-price {
    color: #111827;
    font-weight: bold;
    font-size: 1rem;
}

/* 🗺️ CARTE À DROITE (si utilisé) */
.map-container {
    flex: 1;
    height: 700px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 300px;
}

/* 🎖️ BADGE (ex: coup de cœur) */
.listing-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #2563eb;
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 🧭 LIENS et CARTES */
.card:hover {
    transform: scale(1.01);
    transition: transform 0.2s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.card a,
.card a *,
.listing-card a,
.listing-card a * {
    text-decoration: none !important;
    color: inherit !important;
}

/* 🔁 PAGES RESPONSIVES */
@media (max-width: 768px) {
    .container,
    .packs-container {
        padding: 1rem;
    }

    .packs-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .pack-card {
        flex: 1 1 100%;
    }

    .logo-fixe {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .logo-fixe {
        width: 80px;
    }
}

/* 💳 PACKS (si utilisé dans d'autres sections) */
.packs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.pack-card {
    flex: 1 1 280px;
    max-width: 100%;
    background-color: #f1f5f9;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.pack-card:hover {
    transform: scale(1.03);
}

/* 🖼️ LOGO FIXE */
.header-logo {
    width: 100%;
    padding: 1rem;
    background-color: white;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.header-logo img {
    max-width: 200px;
    height: auto;
}

.logo-fixe {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 150px;
    z-index: 1000;
}

.logo-fixe img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.6));
}

/* 🔙 BOUTON RETOUR */
.retour-accueil {
    display: inline-block;
    margin: 1rem;
    padding: 0.6rem 1rem;
    background-color: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.retour-accueil:hover {
    background-color: #1e40af;
}

/* 📢 OVERLAY */
.overlay {
    padding-bottom: 80px;
}

.navbar-left img.logo-navbar {
    height: 60px;
    width: auto;
    max-width: 250px;
}
