:root {
    --scope-navy: #15254c;
    --scope-orange: #d97706;
    --scope-sky-glow: rgba(56, 189, 248, 0.25);
}

/* Page Smooth Entrance Animation */
.rooms-animated-viewport {
    opacity: 0;
    transform: translateY(25px);
    animation: premiumViewportReveal 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes premiumViewportReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Bar Platform */
.premium-filter-deck {
    background: #fdfdfd;
    border: 1px solid #e2e8f0;
    border-radius: 2px;
}
.btn-scope-action {
    background-color: var(--scope-navy);
    color: #ffffff;
    transition: all 0.3s ease;
}
.btn-scope-action:hover {
    background-color: var(--scope-orange);
}

/* ==================== PREMIUM HEADLINE ANIMATIONS ==================== */
.premium-headline-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding-bottom: 8px;
}

.premium-headline-wrapper h1,
.premium-headline-wrapper h2 {
    opacity: 0;
    transform: translateY(15px);
    letter-spacing: 0.05em;
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 1s cubic-bezier(0.25, 1, 0.5, 1), 
                letter-spacing 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Luxury Animated Border Line */
.premium-headline-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--scope-navy), transparent);
    transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
                left 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Intersection Observer Active State Trigger */
.animate-on-scroll.active-reveal .premium-headline-wrapper h1,
.animate-on-scroll.active-reveal .premium-headline-wrapper h2 {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.12em;
}

.animate-on-scroll.active-reveal .premium-headline-wrapper::after {
    width: 100%;
    left: 0;
}

/* Light subtitle delay look */
.premium-subtitle {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.2s;
}
.animate-on-scroll.active-reveal .premium-subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== 4 ROOMS CARDS HOVER EFFECT (FIXED) ==================== */
.luxury-photo-cell {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
    display: block;
}
.luxury-photo-cell img {
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.luxury-photo-cell:hover img {
    transform: scale(1.06);
}

/* The Blue Tint + Glow overlay */
.interactive-cross-shield {
    position: absolute;
    inset: 0;
    background: rgba(21, 37, 76, 0.35); 
    box-shadow: inset 0 0 50px var(--scope-sky-glow); 
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.luxury-photo-cell:hover .interactive-cross-shield {
    opacity: 1;
}
.cross-hair-symbol {
    font-size: 3rem;
    color: #ffffff;
    font-weight: 200;
    line-height: 1;
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.luxury-photo-cell:hover .cross-hair-symbol {
    transform: scale(1);
}

/* Rooms Text Links Styling */
.display-title-anchor {
    color: var(--scope-navy);
    font-family: 'Playfair Display', serif;
    transition: color 0.3s;
}
.display-title-anchor:hover {
    color: var(--scope-orange);
}
.card-spec-column {
    border-right: 1px solid #f1f5f9;
}
.card-spec-column:last-child {
    border-right: none;
}
.action-tour-link {
    color: var(--scope-navy);
    border-bottom: 2px solid var(--scope-orange);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.action-tour-link:hover {
    color: var(--scope-orange);
    border-bottom-color: var(--scope-navy);
}

/* ==================== FACILITIES SLIDE-UP OVERLAYS ==================== */
.luxury-photo-cell-facility {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    display: block;
}
.luxury-photo-cell-facility img {
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.luxury-photo-cell-facility:hover img {
    transform: scale(1.08);
}

.facility-detailed-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(21, 37, 76, 0.95) 20%, rgba(21, 37, 76, 0.5) 100%);
    opacity: 0;
    transform: translateY(100%); 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    padding: 25px;
    box-sizing: border-box;
}
.luxury-photo-cell-facility:hover .facility-detailed-overlay {
    opacity: 1;
    transform: translateY(0); 
}
.facility-desc-content h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.facility-desc-content p {
    color: #f1f5f9;
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 300;
}

/* ==================== SCROLL REVEAL WAVE ANIMATION ==================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
}
.animate-on-scroll.active-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== CONTACT US INTEGRATION ==================== */
.theme-contact-wrapper {
    position: relative;
    padding-top: 100px;
    padding-bottom: 80px;
    border-top: 1px solid #f1f5f9;
    background-color: #ffffff;
}
.theme-contact-form-block {
    display: flex;
    flex-direction: column;
    gap: 35px;
}
.form-field-group-custom {
    position: relative;
    display: flex;
    flex-direction: column;
}
.form-field-group-custom label {
    font-size: 0.9rem;
    font-weight: 800; 
    color: #111111;
    margin-bottom: 10px;
}
.form-field-group-custom input,
.form-field-group-custom textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid #222222; 
    padding: 10px 0;
    font-size: 1rem;
    color: #111111;
    background: transparent;
    outline: none;
}
.form-field-group-custom textarea {
    resize: none;
}
.btn-submit-scope {
    background-color: var(--scope-navy);
    color: #ffffff;
    padding: 12px 40px;
    font-weight: 600;
    transition: background 0.3s;
}
.btn-submit-scope:hover {
    background-color: var(--scope-orange);
}
.contact-split-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-item-block {
    margin-bottom: 30px;
}
.contact-item-block:last-child {
    margin-bottom: 0;
}
.contact-item-block h4 {
    color: var(--scope-navy);
    font-family: serif;
    font-size: 1.4rem;
    margin-bottom: 6px;
}
.contact-item-block p {
    font-size: 1rem;
    font-weight: 300;
    color: #475569;
}