/* ====================================================================
   BNM INTERIORS — ARCHITECTURAL LUXURY TURNKEY HERO SECTION
   Cormorant Garamond Serif Typography & 3D Staggered Character Fly-Up 
   Reveal Animations Matching Reference Video IMG_4352.MOV
   ==================================================================== */

/* Home Page Only — Initial Hide & Scroll Reveal Header */
.main-header.header-style-two.bnm-home-header .header-lower {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-100%);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.main-header.header-style-two.bnm-home-header.fixed-header .header-lower {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    background-color: rgba(11, 11, 11, 0.94) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7) !important;
}

/* All Inner Pages — Header Always Sticky & Visible at Top */
.main-header.header-style-two.bnm-inner-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    width: 100% !important;
}

.main-header.header-style-two.bnm-inner-header .header-lower {
    position: relative !important;
    background-color: rgba(11, 11, 11, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

/* Hero Section Container */
.bnm-luxury-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #090909;
    padding: 100px 0 60px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(184, 138, 68, 0.35);
    box-sizing: border-box;
}

/* Background Image Layer with Slow Ken Burns Zoom Effect */
.bnm-hero-bg-layer {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: 
        linear-gradient(180deg, rgba(9, 9, 9, 0.82) 0%, rgba(13, 11, 9, 0.64) 45%, rgba(9, 9, 9, 0.90) 100%), 
        var(--hero-bg-img, url('../images/regents-park-lobby/1.1.webp'));
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    animation: bnmKenBurnsZoom 22s ease-in-out infinite alternate;
    z-index: 1;
    pointer-events: none;
}

@keyframes bnmKenBurnsZoom {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.08) translate(-1%, -1%);
    }
    100% {
        transform: scale(1.15) translate(1%, 0.5%);
    }
}

.bnm-luxury-hero .auto-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.bnm-hero-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1050px;
    margin: 0 auto;
    text-align: center;
}

/* Cormorant Garamond Serif 2-Line Heading Typography */
.bnm-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    margin: 0 0 35px 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
    perspective: 1000px;
    word-wrap: normal;
    overflow-wrap: normal;
}

.bnm-title-line {
    display: block;
    overflow: hidden;
    padding-bottom: 8px;
    white-space: nowrap !important;
}

.bnm-title-white {
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.15;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* 3D Staggered Character Fly-Up Animation */
.bnm-c {
    display: inline-block;
    color: #FFFFFF;
    opacity: 0;
    transform: translateY(115%) rotateX(-45deg) scale(1.1);
    filter: blur(6px);
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    animation: bnmVideoCharReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.2s + var(--i) * 0.055s);
}

@keyframes bnmVideoCharReveal {
    0% {
        opacity: 0;
        transform: translateY(115%) rotateX(-45deg) scale(1.1);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
        filter: blur(0);
    }
}

/* Line 2: Gold Serif Characters - Responsive Font Sizing & Pure Radiant Gold */
.bnm-title-gold .gold-text {
    display: inline-block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(24px, 3.8vw, 50px);
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #D4AF37;
    white-space: nowrap !important;
}

.bnm-c-gold {
    color: #D4AF37 !important;
    -webkit-text-fill-color: #D4AF37 !important;
    text-shadow: 0 2px 15px rgba(212, 175, 55, 0.4);
    animation-delay: calc(0.65s + var(--i) * 0.05s);
}

/* CTA Action Buttons Entrance & Compact Refined Styling */
@keyframes bnmActionsReveal {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.bnm-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    opacity: 0;
    animation: bnmActionsReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.85s forwards;
}

.bnm-btn-primary-gold {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0B0B0B !important;
    background: linear-gradient(135deg, #D4AF37 0%, #B88A44 100%);
    padding: 13px 28px;
    border: 1px solid #D4AF37;
    border-radius: 2px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(184, 138, 68, 0.4);
}

.bnm-btn-primary-gold:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #0B0B0B !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.bnm-btn-secondary-dark {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.08);
    padding: 13px 28px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.bnm-btn-secondary-dark:hover {
    border-color: #D4AF37;
    color: #D4AF37 !important;
    background: rgba(184, 138, 68, 0.15);
    transform: translateY(-2px);
}

/* Scroll Down Prompt Indicator */
@keyframes bnmScrollReveal {
    0% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.bnm-hero-scroll-down {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: bnmScrollReveal 0.9s ease 2.1s forwards;
}

.bnm-scroll-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(212, 175, 55, 0.85);
    text-transform: uppercase;
}

.bnm-hero-scroll-down i {
    font-size: 18px;
    color: #B88A44;
    animation: bnmBounce 2s infinite;
}

@keyframes bnmBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

.bnm-hero-scroll-down:hover .bnm-scroll-text {
    color: #FFFFFF;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .bnm-luxury-hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 90px 0 60px 0 !important;
    }
    .bnm-title-white {
        font-size: clamp(28px, 5vw, 48px);
    }
    .bnm-title-gold .gold-text {
        font-size: clamp(19px, 3.4vw, 34px);
    }
}

@media (max-width: 767px) {
    .bnm-luxury-hero {
        padding: 85px 0 55px 0 !important;
    }
    .bnm-title-white {
        font-size: clamp(24px, 5.5vw, 38px);
        letter-spacing: 2px;
    }
    .bnm-title-gold .gold-text {
        font-size: clamp(16px, 3.8vw, 26px);
        letter-spacing: 1.8px;
    }
    .bnm-hero-scroll-down {
        bottom: 15px;
    }
}

@media (max-width: 576px) {
    .bnm-luxury-hero {
        padding: 80px 0 50px 0 !important;
    }
    .bnm-hero-title {
        margin-bottom: 22px;
    }
    .bnm-title-white {
        font-size: clamp(22px, 6vw, 32px);
        letter-spacing: 1.5px;
    }
    .bnm-title-gold .gold-text {
        font-size: clamp(13.5px, 3.7vw, 20px) !important;
        letter-spacing: 1.2px;
    }
    .bnm-hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px;
    }
    .bnm-btn-primary-gold, 
    .bnm-btn-secondary-dark {
        justify-content: center;
        text-align: center;
        padding: 12px 20px;
        font-size: 9.5px;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 375px) {
    .bnm-luxury-hero {
        padding: 75px 0 45px 0 !important;
    }
    .bnm-title-white {
        font-size: 20px;
    }
    .bnm-title-gold .gold-text {
        font-size: 12.5px !important;
        letter-spacing: 1px;
    }
}
