/* Estilos para las tarjetas de habitaciones */
.animate-rooms {
    animation: fadeInUp 0.8s ease-in-out;
}

.room-card-animate {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.room-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.room-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.room-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-card-image img {
    transform: scale(1.1);
}

.room-card-price {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 10px 15px;
    border-top-left-radius: 10px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.price-amount {
    font-size: 1.5rem;
    margin-right: 5px;
}

.price-period {
    font-size: 0.85rem;
    opacity: 0.8;
}

.room-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.room-card-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #333;
    font-weight: 700;
}

.room-card-info {
    margin-bottom: 20px;
    flex-grow: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.info-item i {
    margin-right: 10px;
    margin-top: 4px;
    font-size: 14px;
}

.info-item span {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

.btn-book {
    display: inline-block;
    width: 100%;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-book:hover {
    background: linear-gradient(135deg, #5a75d8, #9161c8);
}

.btn-book.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Mensaje cuando no hay habitaciones */
.no-rooms-message {
    text-align: center;
    padding: 50px 0;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin: 30px 0;
}

.no-rooms-icon {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 15px;
}

.no-rooms-message p {
    color: #888;
    font-size: 1.2rem;
}

/* Estilos para el filtro */
.filter {
    border-radius: 30px;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    cursor: pointer;
    background-color: white;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.filter:focus {
    box-shadow: 0 5px 15px rgba(110, 142, 251, 0.2);
    border-color: #6e8efb;
    outline: none;
}

/* Animaciones para las habitaciones al cargar */
@media (min-width: 768px) {
    .room-card-animate:nth-child(1) {
        --animation-order: 1;
    }
    .room-card-animate:nth-child(2) {
        --animation-order: 2;
    }
    .room-card-animate:nth-child(3) {
        --animation-order: 3;
    }
    .room-card-animate:nth-child(4) {
        --animation-order: 4;
    }
    .room-card-animate:nth-child(5) {
        --animation-order: 5;
    }
    .room-card-animate:nth-child(6) {
        --animation-order: 6;
    }
}

/* Título de sección */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
}

/* Estilos responsivos para dispositivos móviles */
@media (max-width: 768px) {
    .room-card-image {
        height: 180px;
    }
    
    .room-card-price {
        padding: 8px 12px;
    }
    
    .price-amount {
        font-size: 1.2rem;
    }
    
    .room-card-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .room-card-content {
        padding: 15px;
    }
    
    .info-item {
        margin-bottom: 8px;
    }
    
    .info-item span {
        font-size: 0.9rem;
    }
    
    .btn-book {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title h2::after {
        width: 60px;
    }
} 