/* =========================================
   SHARED NAVBAR STYLES
   ========================================= */

.nav-shell {
    width: 100%;
}

.nav-glass {
    background: linear-gradient(180deg, rgba(18, 18, 22, 0.9) 0%, rgba(18, 18, 22, 0.78) 100%);
    backdrop-filter: blur(22px) saturate(1.35);
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

#main-navbar {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#main-navbar.nav-scrolled {
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
    transform: translateY(0) scale(0.995);
}

#navbar-card {
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mega-menu-wrapper {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    width: 100%;
    top: 100%;
    padding-top: 12px;
    display: flex;
    justify-content: center;
    transform: translateY(10px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    pointer-events: none;
}

.nav-item:hover .mega-menu-wrapper,
.nav-item:focus-within .mega-menu-wrapper {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.menu-content {
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.78);
    min-width: max-content;
    max-width: 100%;
    color: #e2e8f0;
}

.menu-content a {
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.menu-content a:hover {
    transform: translateY(-1px);
}

#mobile-overlay {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

#mobile-overlay.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.mobile-overlay-backdrop {
    opacity: 0;
    transition: opacity 0.28s ease;
}

#mobile-overlay.active .mobile-overlay-backdrop {
    opacity: 1;
}

.mobile-drawer {
    transform: translateX(110%);
    transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-overlay.active .mobile-drawer {
    transform: translateX(0);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 1500px;
}

.accordion-item.active .chevron-icon {
    transform: rotate(180deg);
}

@media (max-width: 1279px) {
    .mega-menu-wrapper {
        display: none !important;
    }
}

@media (min-width: 640px) {
    .mobile-drawer {
        width: min(440px, 100vw);
    }
}

/* =========================================
   SHARED FOOTER STYLES
   ========================================= */

.econ-footer-glass {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.econ-footer-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.18;
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.econ-footer-font {
    font-family: 'Prompt', 'Anuphan', sans-serif;
}

.text-staff-pink {
    color: #bc1b5c;
}

.text-staff-pink-80 {
    color: rgba(188, 27, 92, 0.8);
}

