/* =========== MODERN ROOM DETAIL PAGE =========== */

.room-detail-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.hero-content-wrapper {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 10;
}

.hero-breadcrumb {
    color: white;
    font-size: 0.9rem;
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.hero-breadcrumb a:hover {
    color: var(--primary);
}

.room-detail-content {
    padding: 4rem 0;
    background: var(--bg-color);
}

.room-detail-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.room-main-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.room-name {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.room-quick-info {
    display: flex;
    gap: 2.5rem;
    padding: 1.5rem 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.room-quick-info .info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-color);
}

.room-quick-info .info-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.room-description h2,
.room-amenities h2,
.room-gallery h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.room-description p {
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.room-description,
.room-amenities {
    margin-bottom: 3rem;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.amenity-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--light-surface);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.amenity-badge:hover {
    border-color: var(--primary);
    background: rgba(197, 160, 89, 0.05);
}

.amenity-badge i {
    color: var(--primary);
    font-size: 1.1rem;
}

.room-gallery {
    margin-top: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

.room-booking-card {
    position: sticky;
    top: 100px;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    height: fit-content;
}

.booking-price {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.price-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.booking-form {
    margin-bottom: 2rem;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-field label i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.form-field input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.btn-block {
    width: 100%;
}

.btn-booking {
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.booking-features {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.booking-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.booking-features .feature-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 992px) {
    .room-detail-grid {
        grid-template-columns: 1fr;
    }

    .room-booking-card {
        position: static;
        margin-top: 2rem;
    }

    .room-main-content {
        padding: 2rem;
    }

    .room-name {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .room-detail-hero {
        height: 50vh;
        min-height: 300px;
    }

    .room-name {
        font-size: 1.75rem;
    }

    .room-description h2,
    .room-amenities h2,
    .room-gallery h2 {
        font-size: 1.5rem;
    }

    .amenities-list {
        grid-template-columns: 1fr;
    }

    .price-amount {
        font-size: 2rem;
    }
}