/* Container principal */
.tunisiabeds-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Filtre par ville */
.city-filter {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.city-filter label {
    display: inline-block;
    margin-right: 10px;
    font-weight: bold;
    font-size: 16px;
}

.city-filter select {
    padding: 10px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    min-width: 250px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-filter select:hover {
    border-color: #007bff;
}

.city-filter select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Grille d'hôtels */
.tunisiabeds-hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Carte d'hôtel */
.hotel-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Image de l'hôtel */
.hotel-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hotel-item:hover .hotel-image img {
    transform: scale(1.1);
}

/* Contenu de la carte */
.hotel-content {
    padding: 20px;
}

.hotel-content h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

/* Étoiles */
.hotel-stars {
    margin: 10px 0;
    font-size: 16px;
}

/* Ville */
.hotel-city {
    color: #666;
    font-size: 14px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Adresse */
.hotel-address {
    color: #888;
    font-size: 13px;
    margin: 5px 0 15px 0;
    line-height: 1.4;
}

/* Bouton */
.hotel-content .button {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-weight: 500;
}

.hotel-content .button:hover {
    background: #0056b3;
}

/* Messages de chargement et erreur */
.loading,
.error {
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
    color: #666;
}

.error {
    color: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    .tunisiabeds-hotels-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .city-filter {
        padding: 15px;
    }
    
    .city-filter label {
        display: block;
        margin-bottom: 10px;
    }
    
    .city-filter select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tunisiabeds-hotels-grid {
        grid-template-columns: 1fr;
    }
    
    .hotel-content h3 {
        font-size: 18px;
    }
}