/* --- Rooms Hero --- */
.rooms-hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    transition: background 0.4s ease;
}
.hero-text-wrapper {
    max-width: 800px;
    z-index: 2;
}
.rooms-hero h1 {
    font-size: 5rem;
    color: var(--text-heading);
    margin-bottom: 20px;
}
.rooms-hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
}
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 2s infinite ease-in-out;
}
.scroll-indicator p {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--gold);
}

@keyframes scrollLine {
    0% { transform: translateY(-20px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* --- Rooms Collection Layout --- */
.room-showcase {
    padding: 100px 5% 150px;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: hidden;
}

.room-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 180px;
}
.room-row.reverse {
    flex-direction: row-reverse;
}

/* Image visuals */
.room-visual {
    flex: 1.3;
    position: relative;
}
.image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}
.image-wrapper img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
    transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.room-row:hover .image-wrapper img {
    transform: scale(1.05); /* Slow cinematic zoom on hover */
}

/* Large Cinematic Numbers */
.watermark-number {
    position: absolute;
    top: -60px;
    left: -40px;
    font-family: var(--font-heading);
    font-size: 14rem;
    line-height: 1;
    color: var(--border-color);
    z-index: -1;
    font-weight: 700;
    transition: color 0.4s ease;
}
.reverse .watermark-number {
    left: auto;
    right: -40px;
}

/* Text Details Overlapping */
.room-details {
    flex: 0.9;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    padding: 60px 50px;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    /* Negative margin pulls the text box over the image for that premium layout look */
    margin-left: -100px; 
    transition: background 0.4s ease, border-color 0.4s ease;
}
.reverse .room-details {
    margin-left: 0;
    margin-right: -100px;
}

.room-category {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
}
.room-details h2 {
    font-size: 3.5rem;
    color: var(--text-heading);
    line-height: 1.1;
    margin-bottom: 30px;
}
.room-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: border-color 0.4s ease;
}
.room-desc {
    color: var(--text-main);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Booking CTA specific style */
.booking-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background-color: var(--gold);
    color: #000;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid var(--gold);
}
.booking-btn:hover {
    background-color: transparent;
    color: var(--text-heading);
    border-color: var(--text-heading);
}

/* --- Scroll Animations --- */
.animate-up { opacity: 0; transform: translateY(40px); transition: all 1s ease; }
.animate-slide-right { opacity: 0; transform: translateX(-50px); transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.animate-slide-left { opacity: 0; transform: translateX(50px); transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.in-view { opacity: 1; transform: translate(0, 0); }


/* =========================================
   RESPONSIVE (ROOMS SPECIFIC)
   ========================================= */
@media screen and (max-width: 992px) {
    .room-row, .room-row.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 100px;
    }
    .room-details, .reverse .room-details {
        margin: -80px 5% 0; /* Pull up over the bottom of the image instead of the side */
        padding: 40px 30px;
    }
    .image-wrapper img {
        height: 400px;
    }
    .watermark-number {
        font-size: 8rem;
        top: -30px;
        left: -10px;
    }
    .reverse .watermark-number {
        right: -10px;
    }
    .rooms-hero h1 { font-size: 3.5rem; }
}

@media screen and (max-width: 768px) {
    .rooms-hero h1 { font-size: 2.5rem; }
    .image-wrapper img { height: 300px; }
    .room-details, .reverse .room-details {
        margin: -50px 5% 0;
        padding: 30px 20px;
    }
    .room-details h2 { font-size: 2.2rem; }
    .booking-btn { width: 100%; justify-content: center; }
}