/* Rooms specific styling - High End Elegant Feel */

.page-header {
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.slide-hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.15);
    transition: transform 10s ease-out;
    /* Effetto zoom antigravity lunghissimo */
}

.swiper-slide-active .slide-hero-bg {
    transform: scale(1);
}

/* Vignettatura sull'hero per dare un senso elegante e drammatico */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(10, 10, 10, 0.9) 100%);
    z-index: 1;
    pointer-events: none;
}

.page-title-container {
    z-index: 10;
    padding-top: 5rem;
}

.room-detail-section {
    padding: 8rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    background-color: var(--bg-dark);
}

.room-detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
}

.room-detail-grid.reverse {
    grid-template-columns: 1fr 1.3fr;
}

/* Swiper Gallery Container */
.room-gallery {
    width: 100%;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.room-gallery::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 10;
    pointer-events: none;
    border-radius: 4px;
}

.swiper.room-swiper {
    width: 100%;
    height: 600px;
    /* Altezza maestosa per mostrare il lusso */
}

.swiper-slide {
    overflow: hidden;
}

/* Ken Burns effect style for the images within the slide */
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    /* Start slightly zoomed */
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Very slow zoom out */
}

.swiper-slide-active img {
    transform: scale(1);
    /* End zoom at normal */
}

/* Vignette overlay for each swiper to keep it dark */
.gallery-overlay-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    /* In front of image, behind arrows */
    pointer-events: none;
}

/* Swiper Controls Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--gold) !important;
    background: rgba(20, 20, 20, 0.5);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 10;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--gold);
    color: var(--bg-dark) !important;
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem !important;
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.3 !important;
    width: 10px !important;
    height: 10px !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: var(--gold) !important;
    opacity: 1 !important;
    width: 30px !important;
    border-radius: 5px !important;
    /* Make it a line instead of a dot */
}

/* Info Text */
.text-gold {
    color: var(--gold);
}

.room-count-badge {
    color: var(--gold-light);
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-family: var(--font-body);
}

.room-info-content {
    padding-right: 2rem;
}

.room-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.amenities-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    padding: 0;
}

.amenities-list li {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.amenities-list li i {
    color: var(--gold);
    width: 30px;
    /* Fixed width per allineamento */
    font-size: 1.1rem;
}

.glass-btn {
    background: rgba(212, 175, 55, 0.05);
    backdrop-filter: blur(5px);
}

/* Category Navigation */
.category-nav {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.category-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.category-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-link i {
    font-size: 0.9rem;
    color: var(--gold);
    opacity: 0.5;
    transition: var(--transition);
}

.category-link:hover,
.category-link.active {
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.05);
}

.category-link:hover i,
.category-link.active i {
    opacity: 1;
}

/* Category Header */
.category-header {
    padding: 6rem 0 3rem;
    background: linear-gradient(180deg, rgba(5, 5, 5, 1) 0%, rgba(10, 10, 10, 1) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.category-header-content {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    letter-spacing: 6px;
    margin-bottom: 1.5rem;
}

.category-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 2rem;
}

.category-desc {
    font-family: var(--font-subheading);
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.category-amenities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.category-amenities span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--text-light);
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-family: var(--font-body);
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.category-amenities span i {
    color: var(--gold);
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {

    .room-detail-grid,
    .room-detail-grid.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .room-detail-grid.reverse .room-info-content {
        order: 2;
    }

    .room-detail-grid.reverse .room-gallery {
        order: 1;
    }

    .room-info-content {
        padding-right: 0;
    }

    .swiper.room-swiper {
        height: 400px;
        /* Reduced specific height for mobile */
    }

    .category-links {
        gap: 1rem;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .category-link {
        font-size: 0.75rem;
        padding: 0.6rem 1rem;
        white-space: nowrap;
        letter-spacing: 1px;
    }

    .category-header {
        padding: 4rem 0 2rem;
    }

    .category-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .category-desc {
        font-size: 0.95rem;
    }

    .category-amenities {
        gap: 0.5rem;
    }

    .category-amenities span {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}