/* Layout shell, navbar, language switcher, and mobile drawer */

.eventhall-page {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    display: flex;
    flex-direction: column;
}

.eventhall-shell {
    position: relative;
    flex: 1 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.eventhall-shell > main {
    flex: 1 0 auto;
}

.eventhall-shell > footer {
    flex-shrink: 0;
}

#google_translate_element {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.goog-te-gadget,
.goog-te-gadget *,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
.goog-te-menu-value,
.goog-te-menu-frame,
.goog-te-balloon-frame,
.goog-te-spinner-pos,
#goog-gt-tt,
#goog-gt-vt,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
iframe[id^=":1."],
iframe[id^=":2."],
iframe[class*="goog-te-banner-frame"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}

html,
body,
body.translated-ltr,
body.translated-rtl,
body.skiptranslate,
body.eventhall-page[style*="position: relative"] {
    margin-top: 0 !important;
    top: auto !important;
    position: static !important;
}

.theme-toggle-btn {
    border: 1px solid rgba(184, 155, 94, 0.24);
    border-radius: 999px;
    background: rgba(10, 22, 40, 0.9);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.theme-toggle-btn:hover,
.theme-toggle-btn:focus-visible {
    transform: translateY(-1px);
    background: rgba(10, 22, 40, 0.98);
}

.floating-theme-toggle {
    position: fixed;

    .icon-size-20 {
        width: 20px;
        height: 20px;
    }

    .icon-size-16 {
        width: 16px;
        height: 16px;
    }

    left: 24px;
    bottom: 24px;
    top: auto;
    right: auto;
    z-index: 1001;
    width: 48px;
    height: 48px;
    border-color: rgba(184, 155, 94, 0.34);
    background: rgba(10, 22, 40, 0.88);
    box-shadow: 0 18px 34px rgba(10, 22, 40, 0.24);
}

.floating-theme-toggle .toggle-icon {
    font-size: 1.05rem;
    line-height: 1;
}

.floating-theme-toggle.hidden-on-scroll {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
}

body.ai-chat-open .floating-theme-toggle,
body.mobile-drawer-open .floating-theme-toggle,
body.mobile-drawer-open .theme-alert-label {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.drawer-theme-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 0.9rem;
}

.drawer-theme-toggle__leading {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.drawer-theme-toggle__text,
.drawer-theme-toggle__state {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.back-to-top-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(10, 22, 40, 0.92);
    color: #fff;
    box-shadow: var(--shadow-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover,
.back-to-top-btn:focus-visible {
    transform: translateY(-2px);
}

.navbar-island {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 1200px);
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(10, 22, 40, 0.06);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-island.scrolled {
    background: rgba(10, 22, 40, 0.72);
    border-color: rgba(184, 155, 94, 0.26);
    box-shadow: 0 14px 36px rgba(10, 22, 40, 0.28);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-brand {
    text-decoration: none;
}

.brand-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.brand-the,
.brand-ballroom {
    color: #fff;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.brand-grand {
    color: var(--gold);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-links {
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--gold-soft);
    background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
    gap: 0.75rem;
}

.lang-switcher {
    position: relative;
    z-index: 1001;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lang-btn:hover,
.lang-btn:focus-visible {
    border-color: rgba(184, 155, 94, 0.5);
    background: rgba(184, 155, 94, 0.16);
}

.flag-icon {
    width: 18px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.lang-dropdown,
.mobile-lang-options {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 180px;
    padding: 0.4rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher:focus-within .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-item {
    display: flex; 
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.9rem;
    color: var(--text-primary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-item:hover {
    background: rgba(184, 155, 94, 0.08);
    color: var(--gold-dark);
}

.mobile-toggle {
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    border: none;
    border-radius: 12px;
    /* background: rgba(255, 255, 255, 0.08); */
    background: transparent;
    color: #fff;
    padding: 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-drawer {
    position: fixed;
    top: 0.75rem;
    right: 0.75rem;
    width: min(92vw, 420px);
    height: calc(100dvh - 1.5rem);
    /* Low opacity is key */
    background: radial-gradient(circle at top right, rgba(26, 39, 64, 0.92) 0%, rgba(10, 22, 40, 0.9) 100%);
    /* Saturation boost prevents "graying" */
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    color: #fff;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -15px 25px 50px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(184, 155, 94, 0.15);
    z-index: 2000;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transform: translate3d(105%, 0, 0);
    visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.45s;
}

.mobile-drawer.active {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0s;
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0s linear 0s;
}

body.mobile-drawer-open .ai-concierge,
body.mobile-drawer-open .back-to-top-btn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.drawer-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0.5rem;
}

.drawer-cta {
    padding-bottom: 2rem;
}

.drawer-theme-toggle {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
    width: 100%;
}

.close-drawer {
    border: 1px solid rgba(184, 155, 94, 0.3);
    background: rgba(184, 155, 94, 0.05);
    color: var(--gold);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-drawer:hover,
.close-drawer:focus-visible {
    background: rgba(184, 155, 94, 0.15);
    transform: rotate(90deg);
}

.close-drawer i {
    width: 22px;
    height: 22px;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem;
}

.drawer-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.25rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    color: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
    opacity: 0;
    transform: translateY(15px);
}

.mobile-drawer.active .drawer-link {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger transition delays for links */
.mobile-drawer.active .drawer-link:nth-child(1) {
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s;
}

.mobile-drawer.active .drawer-link:nth-child(2) {
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.18s;
}

.mobile-drawer.active .drawer-link:nth-child(3) {
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.26s;
}

.mobile-drawer.active .drawer-link:nth-child(4) {
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.34s;
}

.mobile-drawer.active .drawer-link:nth-child(5) {
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.42s;
}

.mobile-drawer.active .drawer-link:nth-child(6) {
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s;
}

.drawer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(184, 155, 94, 0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.drawer-link>* {
    position: relative;
    z-index: 1;
}

.drawer-link:hover,
.drawer-link:focus-visible {
    border-color: rgba(184, 155, 94, 0.25);
    color: var(--gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.drawer-link:hover::before,
.drawer-link:focus-visible::before {
    opacity: 1;
}

.drawer-link .link-arrow {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.drawer-link:hover .link-arrow,
.drawer-link:focus-visible .link-arrow {
    color: var(--gold);
    transform: translateX(4px);
}

.mobile-lang-options {
    margin-top: 0.6rem;
    display: grid;
    gap: 0.3rem;
    padding: 0.4rem;
}

.mobile-lang-options .lang-item {
    justify-content: center;
    border-radius: 10px;
}

@media (max-width: 991.98px) {
    .navbar-island {
        top: 8px;
        width: 95%;
        padding: 0.7rem 1rem;
    }

    .brand-grand {
        font-size: 1.2rem;
    }

    .hero-section>.container {
        padding-top: clamp(132px, 17vh, 176px);
        padding-bottom: clamp(44px, 8vh, 80px);
    }

    .hero-content-wrapper {
        max-width: 760px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.9rem !important;
        padding: 0 1rem;
    }

    .btn-gold-lg,
    .btn-outline-white-lg {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 575.98px) {
    .hero-section>.container {
        padding-top: 118px;
        padding-bottom: 34px;
    }

    .hero-content-wrapper {
        max-width: 100%;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1.03rem;
        line-height: 1.55;
        margin-bottom: 1.15rem;
    }

    .floating-theme-toggle {
        left: 16px;
        bottom: 18px;
        width: 42px;
        height: 42px;
    }

    .back-to-top-btn {
        right: 18px;
        bottom: 18px;
        width: 40px;
        height: 40px;
    }
}