/* ==========================================
   STYLES SPÉCIFIQUES - PAGE LOGEMENTS
   ========================================== */

/* Styles personnalisés pour la page logements */

/* Container pour les images d'hôtels */
.hotel-image-container {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Images des hôtels */
.hotel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Effet de zoom au survol */
.hotel-image-container:hover .hotel-image {
    transform: scale(1.05);
}

/* Badge overlay pour les étoiles (optionnel) */
.hotel-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    pointer-events: none;
}

/* Alignement des boutons en bas des cartes */
.card {
    display: flex;
    flex-direction: column;
}

.card .btn {
    margin-top: 30px !important;
}

/* Style amélioré pour les boutons Réserver */
.card .btn-primary {
    background: linear-gradient(135deg, #ff87af 0%, #ffffff 100%);
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card .btn-primary:hover {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.6);
    cursor: pointer;
}

/* Modale pour le téléphone */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #636e72;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hotel-image-container {
        height: 200px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}
