/* ----------------- Rooms Section ----------------- */
.rooms-section {
    padding: 60px 0 120px;
    background-color: var(--bg-light);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.room-item {
    background-color: var(--bg-white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.room-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.room-img {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.room-price {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary);
    color: white;
    padding: 8px 15px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 2;
}

.room-text {
    padding: 40px 30px;
}

.room-text h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.available {
    font-size: 12px;
    color: #999;
    margin-bottom: 30px;
}

.room-specs {
    width: 100%;
    margin-bottom: 35px;
    border-collapse: collapse;
}

.room-specs td {
    padding: 12px 0;
    font-size: 11px;
    color: var(--text-dark);
}

.room-specs tr {
    border-bottom: 1px solid #EBEBEB;
}

.room-specs tr:last-child {
    border-bottom: none;
}

.room-specs td:first-child {
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #999;
    width: 40%;
}

.room-specs td:last-child {
    text-align: right;
    font-weight: 500;
}

.btn-room {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 15px 0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-room:hover {
    background-color: var(--primary);
    color: white;
}

/* Animations */
.room-item {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}
.room-item:nth-child(1) { animation-delay: 0.1s; }
.room-item:nth-child(2) { animation-delay: 0.2s; }
.room-item:nth-child(3) { animation-delay: 0.3s; }

/* Single Room Grid Adjustments */
.single-room-grid {
    display: flex;
    justify-content: center;
}

.single-room-item {
    max-width: 800px;
    width: 100%;
}

.single-room-item .room-img {
    height: 450px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    .single-room-item .room-img {
        height: 300px;
    }
}
