.room-types {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.room-category {
    display: flex;
    margin-bottom: 3rem;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 92, 0.1);
    transition: all 0.3s ease;
}

.room-image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

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

.room-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.room-image-container:hover .room-overlay {
    opacity: 1;
}

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

.view-gallery-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 4px;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.view-gallery-btn:hover {
    background: #fff;
}

.room-info {
    flex: 1;
    padding: 2rem;
}

.room-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.room-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.room-price {
    font-size: 1.4rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.room-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.room-features li {
    margin-bottom: 0.5rem;
    color: #666;
    display: flex;
    align-items: center;
}

.room-features li:before {
    content: '\2713';
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.book-now {
    background: var(--secondary-color);
    color: var(--text-light);
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.book-now:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Gallery Modal Styles */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1100;
}

.gallery-modal.active {
    display: flex;
}

.modal-content {
    width: 90%;
    max-width: 1200px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    position: relative;
}

.modal-slider-container {
    flex: 2;
    position: relative;
}

.modal-slider {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.modal-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-slide.active {
    opacity: 1;
}

.modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    flex: 1;
    padding: 2rem;
    background: #f8f9fa;
    max-height: 600px;
    overflow-y: auto;
}

.modal-thumbnails {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow-x: auto;
}

.modal-thumbnail {
    width: 80px;
    height: 60px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
}

.modal-thumbnail.active {
    opacity: 1;
    border-color: var(--secondary-color);
}

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1200;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-prev {
    left: 1rem;
}

.modal-next {
    right: 1rem;
}

.amenities-list {
    margin-top: 2rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.amenity-icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

.gallery-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image-container {
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.5);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-dots {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.gallery-dot.active {
    background: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .room-category {
        flex-direction: column;
    }

    .room-image-container {
        height: 300px;
    }

    .room-info {
        padding: 1.5rem;
    }

    .room-title {
        font-size: 1.5rem;
    }

    .modal-content {
        flex-direction: column;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .modal-slider-container {
        height: 50vh;
    }

    .modal-slider {
        height: 100%;
    }

    .modal-slide img {
        object-fit: contain;
        max-height: 100%;
        width: auto;
    }

    .modal-info {
        max-height: 50vh;
        overflow-y: auto;
    }

    .modal-thumbnails {
        padding: 0.5rem;
    }

    .modal-thumbnail {
        width: 60px;
        height: 45px;
    }
}