/* Room Card Widget Styles */
.room-card-widget {
    background-color: var(--card-bg, #f5f5f0);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
}

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

.room-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

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

.room-card-price {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: var(--price-bg, rgba(255, 255, 255, 0.9));
    color: var(--price-color, #333);
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.price-text {
    font-weight: 700;
}

.price-suffix {
    font-size: 14px;
    margin-left: 2px;
}

.room-card-content {
    padding: 20px;
}

.room-card-title {
    color: var(--title-color, #333);
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.room-card-description {
    color: var(--desc-color, #666);
    font-size: 16px;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.room-card-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.room-card-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 100px;
    cursor: pointer;
}

.room-card-btn-details {
    color: var(--details-btn-color, #333);
    background-color: var(--details-btn-bg, transparent);
    border: 2px solid var(--details-btn-border, #333);
}

.room-card-btn-details:hover {
    background-color: var(--details-btn-border, #333);
    color: #fff;
    transform: translateY(-2px);
}

.room-card-btn-booking {
    color: var(--booking-btn-color, #fff);
    background-color: var(--booking-btn-bg, #4a7c59);
    border: 2px solid var(--booking-btn-bg, #4a7c59);
}

.room-card-btn-booking:hover {
    background-color: transparent;
    color: var(--booking-btn-bg, #4a7c59);
    transform: translateY(-2px);
}

.room-card-footer {
    color: var(--desc-color, #666);
    font-size: 12px;
    margin: 0;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .room-card-widget {
        max-width: 100%;
    }
    
    .room-card-content {
        padding: 15px;
    }
    
    .room-card-title {
        font-size: 20px;
    }
    
    .room-card-description {
        font-size: 14px;
    }
    
    .room-card-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .room-card-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .room-card-image {
        height: 200px;
    }
    
    .room-card-price {
        bottom: 10px;
        left: 10px;
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .room-card-content {
        padding: 12px;
    }
    
    .room-card-title {
        font-size: 18px;
    }
}

/* Animation for loading */
.room-card-widget {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
