/* Cartes de Chambres Modernes */
.modern-room-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.modern-room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Image de Chambre */
.room-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f5f5f5;
}

.room-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modern-room-card:hover .room-image-wrapper img {
    transform: scale(1.08);
}

/* Badges de Chambre */
.room-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
}

.room-badges .badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    backdrop-filter: blur(8px);
}

.badge-primary {
    background: rgba(52, 152, 219, 0.9);
    color: white;
}

.badge-success {
    background: rgba(46, 204, 113, 0.9);
    color: white;
}

.badge-info {
    background: rgba(26, 188, 156, 0.9);
    color: white;
}

.badge-warning {
    background: rgba(241, 196, 15, 0.9);
    color: white;
}

.badge-secondary {
    background: rgba(149, 165, 166, 0.9);
    color: white;
}

/* Contenu de Chambre */
.room-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.room-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.room-desc {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

/* Spécifications de Chambre */
.room-specs {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    margin-bottom: 16px;
    border-top: 1px solid #ecf0f1;
    border-bottom: 1px solid #ecf0f1;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #95a5a6;
    font-size: 14px;
}

.spec-item i {
    font-size: 16px;
    color: #3498db;
}

/* Section Bas de Chambre */
.room-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.room-price {
    display: flex;
    flex-direction: column;
}

.room-price strong {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.room-price span {
    font-size: 13px;
    color: #95a5a6;
}

/* Bouton Voir Chambre */
.btn-view-room {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.btn-view-room:hover {
    background: #2980b9;
    transform: translateX(4px);
    color: white;
}

/* Styles Chambre Vedette */
.hero-room {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.hero-room-image {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.hero-room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-room:hover .hero-room-image img {
    transform: scale(1.05);
}

.room-tags {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.room-tags .badge {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.hero-room-content {
    padding: 32px;
}

.hero-room-content h3 {
    margin-bottom: 16px;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
}

.hero-room-content > p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.7;
}

.room-features {
    display: flex;
    gap: 24px;
    margin: 24px 0;
    padding: 20px 0;
    border-top: 1px solid #ecf0f1;
    border-bottom: 1px solid #ecf0f1;
    flex-wrap: wrap;
}

.room-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7f8c8d;
    font-size: 15px;
}

.room-features i {
    color: #3498db;
    font-size: 18px;
}

.room-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0;
}

.room-price-section .price strong {
    font-size: 32px;
    color: #2c3e50;
    font-weight: 700;
}

.room-price-section .price span {
    font-size: 15px;
    color: #95a5a6;
    margin-left: 4px;
}

.room-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.room-actions .btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.room-actions .btn-primary {
    background: #3498db;
    color: white;
    border: 2px solid #3498db;
}

.room-actions .btn-primary:hover {
    background: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
}

.room-actions .btn-outline {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.room-actions .btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* Liste des Chambres */
.room-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.room-list-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #ecf0f1;
}

.room-list-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.room-list-img {
    width: 90px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.room-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-list-info {
    flex: 1;
    padding: 0 16px;
}

.room-list-info h5 {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}

.room-list-info p {
    color: #7f8c8d;
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.room-list-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-list-price span {
    font-weight: 700;
    color: #2c3e50;
    font-size: 17px;
}

.room-list-price a {
    color: #3498db;
    text-decoration: none;
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.room-list-price a:hover {
    background: #3498db;
    color: white;
    transform: translateX(4px);
}

/* États de Chargement */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

.text-primary {
    color: #3498db !important;
}

/* Design Responsive */
@media (max-width: 991px) {
    .hero-room-image {
        height: 300px;
    }
    
    .hero-room-content {
        padding: 24px;
    }
    
    .hero-room-content h3 {
        font-size: 24px;
    }
    
    .room-image-wrapper {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .hero-room-image {
        height: 250px;
    }
    
    .room-features {
        gap: 16px;
    }
    
    .room-actions {
        flex-direction: column;
    }
    
    .room-actions .btn {
        width: 100%;
    }
    
    .room-list-img {
        width: 70px;
        height: 60px;
    }
    
    .room-image-wrapper {
        height: 200px;
    }
    
    .room-specs {
        gap: 12px;
    }
}

@media (max-width: 575px) {
    .room-card-content {
        padding: 16px;
    }
    
    .room-title {
        font-size: 18px;
    }
    
    .room-price strong {
        font-size: 20px;
    }
    
    .btn-view-room {
        width: 40px;
        height: 40px;
    }
}