/* Custom Global Styles for The New Brighton */

html {
    scroll-behavior: auto !important;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Button Outline Style */
.btn-outline {
    border: 1px solid #f0be72; /* primary gold */
    color: #f0be72;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    display: inline-block;
    background-color: transparent;
    font-family: 'Cinzel', serif;
}
.btn-outline:hover {
    background-color: #f0be72;
    color: #131313; /* background dark */
}

/* Card Gold Style */
.card-gold {
    background-color: #1c1b1b; /* surface-container-low */
    border: 1px solid rgba(181, 137, 66, 0.3); /* border-gold */
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    position: relative;
}
.card-gold:hover {
    transform: scale(1.02);
    border-color: rgba(240, 190, 114, 0.5); /* primary gold at 50% */
}

/* Text effects */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-glow {
    text-shadow: 0 0 10px rgba(240, 190, 114, 0.3);
}

/* Scrim Gradient */
.scrim {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Ken Burns effect */
.ken-burns-hover img {
    transition: transform 0.5s ease-in;
}
.ken-burns-hover:hover img {
    transform: scale(1.05);
    transition: transform 1.5s ease-out;
}

/* Mobile Menu responsive container */
#mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    background-color: rgba(19, 19, 19, 0.95);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}
#mobile-menu.open {
    transform: translateX(0);
}

/* Page Load Fade-In */
body {
    animation: fadeInPage 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInPage {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Section & Info Fade-In on scroll */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-in-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
