.rooms-list-section {
    padding-top: 120px; /* Adjust for fixed header */
    background-color: #FDFBF7;
    color: #4A3B2C;
}

.rooms-list-header {
    text-align: center;
    margin-bottom: 60px;
}

.rooms-list-title {
    font-size: 64px;
    color: #2C241B;
    margin-bottom: 15px;
    font-family: 'ModernSerif', serif;
}

.rooms-list-subtitle {
    font-size: 28px;
    color: #7D8450;
    font-family: 'Handwritten', cursive;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 80px;
}

.room-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    position: relative;
}

.room-img-wrapper {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.room-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-img-wrapper img {
    transform: scale(1.05);
}

.room-price {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    color: #C17C5C;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.room-details {
    padding: 35px;
}

.room-title {
    font-size: 28px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #7D8450;
    font-size: 15px;
    font-weight: 600;
}

.room-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.room-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-room {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4A3B2C;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-room:hover {
    background-color: #C17C5C;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 992px) {
    .rooms-list-title {
        font-size: 52px;
    }

    .rooms-list-subtitle {
        font-size: 24px;
    }

    .rooms-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px;
        margin-top: 60px;
    }

    .room-img-wrapper {
        height: 300px;
    }

    .room-price {
        font-size: 16px;
        padding: 8px 18px;
    }

    .room-details {
        padding: 30px;
    }

    .room-title {
        font-size: 24px;
    }

    .room-meta {
        font-size: 14px;
        gap: 15px;
    }

    .room-desc {
        font-size: 1rem;
    }

    .btn-room {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .rooms-list-title {
        font-size: 44px;
    }

    .rooms-list-subtitle {
        font-size: 20px;
    }

    .rooms-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .room-img-wrapper {
        height: 250px;
    }

    .room-price {
        font-size: 14px;
        padding: 6px 15px;
    }

    .room-details {
        padding: 25px;
    }

    .room-title {
        font-size: 20px;
    }

    .room-meta {
        font-size: 13px;
        gap: 10px;
    }

    .room-desc {
        font-size: 0.9rem;
    }

    .btn-room {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .rooms-list-title {
        font-size: 36px;
    }

    .rooms-list-subtitle {
        font-size: 18px;
    }

    .rooms-grid {
        grid-template-columns: 1fr; /* Stack items on very small screens */
        gap: 20px;
    }

    .room-img-wrapper {
        height: 200px;
    }

    .room-price {
        font-size: 13px;
        padding: 5px 12px;
    }

    .room-details {
        padding: 20px;
    }

    .room-title {
        font-size: 18px;
    }

    .room-meta {
        font-size: 12px;
        gap: 8px;
    }

    .room-desc {
        font-size: 0.85rem;
    }

    .btn-room {
        padding: 7px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 300px) {
    .rooms-list-title {
        font-size: 28px;
    }

    .rooms-list-subtitle {
        font-size: 15px;
    }

    .room-img-wrapper {
        height: 150px;
    }

    .room-price {
        font-size: 11px;
        padding: 4px 10px;
    }

    .room-details {
        padding: 15px;
    }

    .room-title {
        font-size: 16px;
    }

    .room-meta {
        font-size: 10px;
        gap: 5px;
    }

    .room-desc {
        font-size: 0.8rem;
    }

    .btn-room {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}
