/* ========================================
   DARK GLASSMORPHISM NAVIGATION
   Premium dark glass with white text

   This file is the single source of truth
   for desktop header/navigation styles.
   Loads after porto-desktop.css so no
   !important needed.
   ======================================== */

/* ========================================
   FIX: Logo/Nav Overlap in Non-Scrolled State
   Constrains logo width and ensures nav has space

   CRITICAL: Must override porto-desktop.css which sets
   flex-shrink: 0 on .header-logo
   ======================================== */

/* Header row - ensure proper flex distribution */
.exodus-header .header-main-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: clamp(8px, 1vw, 16px) !important;
    flex-wrap: nowrap !important;
}

/* Logo - MUST be able to shrink, override flex-shrink: 0 from porto-desktop.css */
.exodus-header .header-logo {
    flex: 0 1 auto !important; /* Can shrink! */
    max-width: 220px !important;
    min-width: 48px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

.exodus-header .header-logo a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
}

.exodus-header .logo-text-block {
    min-width: 0 !important;
    overflow: hidden !important;
}

/* Nav - takes remaining space but won't push other elements */
.exodus-header .header-nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: visible !important;
    display: flex !important;
    justify-content: center !important;
}

.exodus-header .nav-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Nav links - compact for better fit */
.exodus-header .nav-link {
    padding: 6px 8px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
}

/* Contact button and actions - don't shrink */
.exodus-header .header-contact-btn {
    flex-shrink: 0 !important;
}

.exodus-header .header-actions {
    flex-shrink: 0 !important;
}

/* Hide logo text at 1600px to give nav more room */
@media (max-width: 1600px) {
    .exodus-header .logo-text-block {
        display: none !important;
    }

    .exodus-header .header-logo {
        max-width: 60px !important;
    }

    .exodus-header .header-logo img {
        height: 44px !important;
        width: auto !important;
    }
}

/* Tighter nav links at 1400px */
@media (max-width: 1400px) {
    .exodus-header .nav-link {
        padding: 5px 6px !important;
        font-size: 10px !important;
        letter-spacing: 0.2px !important;
    }

    .exodus-header .header-logo img {
        height: 40px !important;
    }
}

/* Even tighter at 1200px */
@media (max-width: 1200px) {
    .exodus-header .nav-link {
        padding: 4px 5px !important;
        font-size: 9.5px !important;
    }

    .exodus-header .header-contact-btn {
        padding: 4px 8px !important;
        font-size: 9px !important;
    }

    .exodus-header .header-logo img {
        height: 36px !important;
    }
}

/* Below 1100px - hide desktop header entirely (mobile should take over) */
@media (max-width: 1100px) {
    .exodus-header .header-logo img {
        height: 32px !important;
    }
}

/* ========================================
   FIX: Announcement Bar Text - Ensure White
   Top coral bar should have white text
   ======================================== */

.header-announcement,
.header-announcement .announcement-label,
.header-announcement .announcement-btn,
.header-announcement .announcement-cta {
    color: #ffffff !important;
}

.header-announcement .announcement-btn--whatsapp {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.6);
}

.header-announcement .announcement-btn--call {
    color: #FF1654 !important;
    background: #ffffff;
}

.header-announcement .announcement-cta i {
    color: #ffffff !important;
}

/* Dark glassmorphism - initial state */
.header-desktop.exodus-header {
    background: rgba(14, 43, 72, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Scrolled state - stronger dark glass */
.header-desktop.exodus-header.scrolled {
    background: rgba(14, 43, 72, 0.95);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.4);
}

/* Homepage-specific: Override porto-desktop.css transparent header
   with consistent dark glass look */
.homepage .header-desktop.exodus-header:not(.scrolled) {
    background: rgba(14, 43, 72, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.homepage .header-desktop.exodus-header:not(.scrolled) .logo-text,
.homepage .header-desktop.exodus-header:not(.scrolled) .logo-text span,
.homepage .header-desktop.exodus-header:not(.scrolled) .logo-suffix,
.homepage .header-desktop.exodus-header:not(.scrolled) .logo-domain {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.homepage .header-desktop.exodus-header:not(.scrolled) .logo-tagline {
    color: rgba(255, 255, 255, 0.85);
}

.homepage .header-desktop.exodus-header:not(.scrolled) .nav-link,
.homepage .header-desktop.exodus-header:not(.scrolled) .nav-link i {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.homepage .header-desktop.exodus-header:not(.scrolled) .header-contact-btn,
.homepage .header-desktop.exodus-header:not(.scrolled) .social-icons a {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.homepage .header-desktop.exodus-header:not(.scrolled) .menu-toggle-btn.mobile-only {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* White text on dark glass background */
.header-desktop.exodus-header .nav-link {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.header-desktop.exodus-header .logo-text,
.header-desktop.exodus-header .logo-text .logo-suffix {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.header-desktop.exodus-header .logo-domain {
    color: #ffffff;
}

.header-desktop.exodus-header .logo-tagline {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* Announcement bar text - already white on red, keep it */
.header-desktop.exodus-header .announcement-label {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Dropdown arrows - white */
.header-desktop.exodus-header .nav-link i {
    color: #ffffff;
}

/* Nav link hover - lighter white */
.header-desktop.exodus-header .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown menu - dark glass to match nav */
.dropdown-menu {
    background: rgba(14, 43, 72, 0.97);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    padding: var(--space-xs, 6px) var(--space-sm, 10px);
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: #ffffff;
    font-size: var(--fs-sm, 0.95rem);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateX(2px);
}

.dropdown-menu li a i {
    opacity: 0.7;
    font-size: 0.85em;
}

/* Scrolled state - same white text, just stronger background */
.header-desktop.exodus-header.scrolled .nav-link,
.header-desktop.exodus-header.scrolled .logo-text,
.header-desktop.exodus-header.scrolled .logo-tagline {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Smooth transitions */
.header-desktop.exodus-header,
.header-desktop.exodus-header .nav-link,
.header-desktop.exodus-header .logo-text,
.header-desktop.exodus-header .logo-tagline {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode support - manual toggle */
[data-theme="dark"] .header-desktop.exodus-header,
body.theme-dark .header-desktop.exodus-header {
    background: rgba(10, 10, 10, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .header-desktop.exodus-header.scrolled,
body.theme-dark .header-desktop.exodus-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .dropdown-menu,
body.theme-dark .dropdown-menu {
    background: rgba(5, 10, 24, 0.98);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .dropdown-menu li a,
body.theme-dark .dropdown-menu li a {
    color: var(--text-light, #ffffff);
}

/* System preference dark mode */
@media (prefers-color-scheme: dark) {
    .header-desktop.exodus-header {
        background: rgba(10, 10, 10, 0.88);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .header-desktop.exodus-header.scrolled {
        background: rgba(10, 10, 10, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .header-desktop.exodus-header {
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%);
    }
}
/* ========================================
   DROPDOWN HEADER FIX
   Addresses gray-on-navy visibility issue
   
   Add to: navigation-glassmorphism.css
   ======================================== */

/* --------------------------------------
   ISSUE: .dropdown-header has no explicit 
   styling, inheriting gray from elsewhere
   -------------------------------------- */

/* Dropdown Section Headers - Make them visible */
.dropdown-menu .dropdown-header {
    display: block;
    padding: 0.6rem 0.75rem 0.35rem;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);  /* Subtle white, not gray */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

/* First header doesn't need top margin */
.dropdown-menu .dropdown-header:first-child {
    margin-top: 0;
}

/* Dropdown Dividers - Subtle separation */
.dropdown-menu .dropdown-divider {
    height: 0;
    margin: 0.4rem 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Ensure all dropdown text is white, not gray */
.dropdown-menu,
.dropdown-menu li,
.dropdown-menu li a,
.dropdown-menu .dropdown-header {
    color: #ffffff;
}

/* Links get slightly dimmer, brighten on hover */
.dropdown-menu li a {
    color: rgba(255, 255, 255, 0.9);
}

.dropdown-menu li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

/* Dark mode adjustments */
[data-theme="dark"] .dropdown-menu .dropdown-header,
body.theme-dark .dropdown-menu .dropdown-header {
    color: rgba(255, 255, 255, 0.4);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .dropdown-menu .dropdown-divider,
body.theme-dark .dropdown-menu .dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.06);
}

/* --------------------------------------
   MEGA DROPDOWN WIDTH FIX
   Services dropdown needs more width
   -------------------------------------- */

.nav-item.mega-dropdown .dropdown-menu {
    min-width: 280px;
    max-width: 320px;
}

/* If you want 2-column layout for Services dropdown:
.nav-item.mega-dropdown .dropdown-menu {
    min-width: 480px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
}
*/
/* ========================================
   HEADER ICON VISIBILITY FIX
   
   PROBLEM: Social icons and theme toggle have 
   navy/gray colors on dark navy background,
   making them invisible in default state.
   
   SOLUTION: Set white colors for ALL header 
   action icons in the default state (not just
   scrolled/homepage).
   
   Add this to: navigation-glassmorphism.css
   (after the existing .exodus-header styles)
   ======================================== */

/* --------------------------------------
   FIX: Header Actions Default State
   Make icons white on dark glass background
   -------------------------------------- */

/* Theme Toggle - White on dark glass */
.header-desktop.exodus-header #themeToggle.header-icon {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
}

.header-desktop.exodus-header #themeToggle.header-icon:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

/* Social Icons - White on dark glass */
.header-desktop.exodus-header .social-icons a {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
}

.header-desktop.exodus-header .social-icons a:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

/* Hamburger Menu Toggle - White on dark glass */
.header-desktop.exodus-header .menu-toggle-btn.mobile-only {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
}

.header-desktop.exodus-header .menu-toggle-btn.mobile-only:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------
   SCROLLED STATE - Slightly brighter
   (These should already exist but ensuring
   proper specificity)
   -------------------------------------- */

.header-desktop.exodus-header.scrolled #themeToggle.header-icon {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.35);
}

.header-desktop.exodus-header.scrolled .social-icons a {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------
   DARK MODE - Ensure visibility maintained
   -------------------------------------- */

[data-theme="dark"] .header-desktop.exodus-header #themeToggle.header-icon,
body.theme-dark .header-desktop.exodus-header #themeToggle.header-icon {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .header-desktop.exodus-header .social-icons a,
body.theme-dark .header-desktop.exodus-header .social-icons a {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .header-desktop.exodus-header #themeToggle.header-icon:hover,
[data-theme="dark"] .header-desktop.exodus-header .social-icons a:hover,
body.theme-dark .header-desktop.exodus-header #themeToggle.header-icon:hover,
body.theme-dark .header-desktop.exodus-header .social-icons a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   EXODUS DROPDOWN REFINEMENTS
   Premium styling to match homepage aesthetic

   Uses actual brand tokens:
   - Coral: #FF1654 (accent)
   - Navy: #0E2B48 (primary)
   - Gold: #d4a54c (secondary accent)
   ======================================== */

/* --------------------------------------
   TOP CORAL ACCENT LINE
   Matches card gradient overlays
   -------------------------------------- */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #FF1654 50%,
        transparent 100%
    );
    border-radius: 2px;
    opacity: 0.8;
}

/* Ensure dropdown has relative positioning */
.dropdown-menu {
    position: absolute;
}

/* --------------------------------------
   CORAL LEFT ACCENT BAR ON HOVER
   Matches card hover accent effect
   -------------------------------------- */
.dropdown-menu li a {
    position: relative;
}

.dropdown-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: #FF1654;
    border-radius: 0 2px 2px 0;
    transition: transform 0.2s ease;
}

.dropdown-menu li a:hover::before {
    transform: translateY(-50%) scaleY(1);
}

/* Enhanced hover with subtle background shift */
.dropdown-menu li a:hover {
    background: rgba(255, 22, 84, 0.08);
    padding-left: 1rem;
}

/* --------------------------------------
   EXODUS-STYLE SECTION HEADERS
   Matches section-label.exodus-label
   -------------------------------------- */
.dropdown-menu .dropdown-header {
    color: #FF1654;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.75rem 0.75rem 0.4rem;
    margin-top: 0.6rem;
    border-bottom: 1px solid rgba(255, 22, 84, 0.15);
    text-shadow: none;
}

.dropdown-menu .dropdown-header:first-child {
    margin-top: 0.25rem;
    padding-top: 0.5rem;
}

/* --------------------------------------
   ICON STYLING - CORAL ACCENT
   Matches specialist-icon treatment
   -------------------------------------- */
.dropdown-menu li a i {
    color: #FF1654;
    opacity: 0.7;
    font-size: 0.9em;
    width: 18px;
    text-align: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-menu li a:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* --------------------------------------
   BADGE STYLING
   Matches card-badge treatment
   -------------------------------------- */
.dropdown-menu .badge,
.dropdown-menu .nav-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    text-shadow: none;
}

/* Popular/Hot - Coral (primary accent) */
.dropdown-menu .badge-popular,
.dropdown-menu .badge-hot {
    background: #FF1654;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 22, 84, 0.3);
}

/* New - Green */
.dropdown-menu .badge-new {
    background: #27ae60;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

/* Express - Gold (secondary accent) */
.dropdown-menu .badge-express {
    background: linear-gradient(135deg, #d4a54c 0%, #c49a3e 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(212, 165, 76, 0.3);
}

/* --------------------------------------
   VIEW ALL / FOOTER LINK
   Matches exodus CTA treatment
   -------------------------------------- */
.dropdown-menu .dropdown-footer,
.dropdown-menu .view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #FF1654;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: none;
    transition: all 0.2s ease;
}

.dropdown-menu .dropdown-footer:hover,
.dropdown-menu .view-all:hover {
    background: #FF1654;
    color: #ffffff;
}

.dropdown-menu .dropdown-footer i,
.dropdown-menu .view-all i {
    color: inherit;
    opacity: 1;
    transition: transform 0.2s ease;
}

.dropdown-menu .dropdown-footer:hover i,
.dropdown-menu .view-all:hover i {
    transform: translateX(4px);
}

/* --------------------------------------
   DIVIDER REFINEMENT
   Subtle coral tint
   -------------------------------------- */
.dropdown-menu .dropdown-divider {
    border-top-color: rgba(255, 22, 84, 0.1);
    margin: 0.5rem 0.75rem;
}

/* --------------------------------------
   SUBMENU ARROW - CORAL
   -------------------------------------- */
.dropdown-menu li.dropdown-submenu > a::after {
    border-left-color: rgba(255, 255, 255, 0.5);
}

.dropdown-menu li.dropdown-submenu:hover > a::after {
    border-left-color: #FF1654;
}

/* --------------------------------------
   DARK MODE ADJUSTMENTS
   Softer coral for dark mode
   -------------------------------------- */
[data-theme="dark"] .dropdown-menu::before,
body.theme-dark .dropdown-menu::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        #ff6b6b 50%,
        transparent 100%
    );
    opacity: 0.6;
}

[data-theme="dark"] .dropdown-menu .dropdown-header,
body.theme-dark .dropdown-menu .dropdown-header {
    color: #ff6b6b;
    border-bottom-color: rgba(255, 107, 107, 0.12);
}

[data-theme="dark"] .dropdown-menu li a i,
body.theme-dark .dropdown-menu li a i {
    color: #ff6b6b;
}

[data-theme="dark"] .dropdown-menu li a:hover,
body.theme-dark .dropdown-menu li a:hover {
    background: rgba(255, 107, 107, 0.08);
}

[data-theme="dark"] .dropdown-menu li a::before,
body.theme-dark .dropdown-menu li a::before {
    background: #ff6b6b;
}

[data-theme="dark"] .dropdown-menu .dropdown-footer,
[data-theme="dark"] .dropdown-menu .view-all,
body.theme-dark .dropdown-menu .dropdown-footer,
body.theme-dark .dropdown-menu .view-all {
    color: #ff6b6b;
}

[data-theme="dark"] .dropdown-menu .dropdown-footer:hover,
[data-theme="dark"] .dropdown-menu .view-all:hover,
body.theme-dark .dropdown-menu .dropdown-footer:hover,
body.theme-dark .dropdown-menu .view-all:hover {
    background: #ff6b6b;
    color: #ffffff;
}

/* --------------------------------------
   REDUCED MOTION
   Respect user preferences
   -------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .dropdown-menu li a::before,
    .dropdown-menu li a,
    .dropdown-menu li a i,
    .dropdown-menu .dropdown-footer i {
        transition: none;
    }
}

/* ============================================
   DROPDOWN - LUXURY DARK GLASSMORPHISM
   Added: 2025-12-13

   Inspired by: Stripe dropdown elegance + Glassmorphism
   Sources: codepen.io/aholachek, ui.glass/generator

   Brand Palette:
   - Navy: #0E2B48 (base)
   - Coral: #FF1654 (primary accent)
   - Teal: #1a5f7a (secondary)
   - Gold: #d4a54c (premium accent)
   ============================================ */

/* Dropdown container - Dark glass with premium shadow */
.dropdown-menu,
.header-nav .dropdown-menu,
.nav-item .dropdown-menu,
.exodus-header .dropdown-menu,
.header-desktop .dropdown-menu {
    /* Dark glassmorphism base */
    background: linear-gradient(
        135deg,
        rgba(14, 43, 72, 0.95) 0%,
        rgba(10, 32, 53, 0.98) 100%
    ) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;

    /* Stripe-style luxury shadow */
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.15),
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;

    /* Border treatment */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 2px solid #FF1654 !important;
    border-radius: 12px !important;

    /* Spacing */
    padding: 8px 0 !important;
    min-width: 240px !important;
}

/* Subtle glow effect on dropdown */
.dropdown-menu::before {
    content: '' !important;
    position: absolute !important;
    top: -2px !important;
    left: 20% !important;
    right: 20% !important;
    height: 2px !important;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 22, 84, 0.8),
        transparent) !important;
    filter: blur(1px) !important;
}

/* Dropdown links - Elegant light text */
.dropdown-menu li a,
.header-nav .dropdown-menu li a,
.nav-item .dropdown-menu li a,
.nav-item.has-dropdown .dropdown-menu li a,
.exodus-header .dropdown-menu li a,
.header-desktop .dropdown-menu li a {
    font-family: var(--font-primary, 'Montserrat', sans-serif) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.01em !important;
    text-shadow: none !important;
    background: rgba(14, 43, 72, 0.3) !important;
    padding: 10px 20px !important;
    margin: 2px 8px !important;
    border-radius: 8px !important;
    position: relative !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Ensure all dropdown list items have solid background */
.dropdown-menu li,
.header-nav .dropdown-menu li,
.nav-item .dropdown-menu li,
.exodus-header .dropdown-menu li,
.header-desktop .dropdown-menu li {
    background: transparent !important;
}

/* Hover state - Coral glow */
.dropdown-menu li a:hover,
.header-nav .dropdown-menu li a:hover,
.nav-item .dropdown-menu li a:hover,
.exodus-header .dropdown-menu li a:hover,
.header-desktop .dropdown-menu li a:hover {
    color: #ffffff !important;
    background: linear-gradient(
        135deg,
        rgba(255, 22, 84, 0.15) 0%,
        rgba(255, 22, 84, 0.08) 100%
    ) !important;
    box-shadow:
        0 0 20px rgba(255, 22, 84, 0.1),
        inset 0 0 0 1px rgba(255, 22, 84, 0.2) !important;
    transform: translateX(4px) !important;
}

/* Left accent bar - Gold on hover */
.dropdown-menu li a::before,
.header-nav .dropdown-menu li a::before,
.nav-item .dropdown-menu li a::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) scaleY(0) !important;
    width: 3px !important;
    height: 50% !important;
    background: linear-gradient(180deg, #d4a54c, #FF1654) !important;
    border-radius: 0 3px 3px 0 !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dropdown-menu li a:hover::before,
.header-nav .dropdown-menu li a:hover::before,
.nav-item .dropdown-menu li a:hover::before {
    transform: translateY(-50%) scaleY(1) !important;
}

/* Section headers - Teal with gold accent */
.dropdown-menu .dropdown-header,
.header-nav .dropdown-menu .dropdown-header,
.nav-item .dropdown-menu .dropdown-header,
.exodus-header .dropdown-menu .dropdown-header,
.header-desktop .dropdown-menu .dropdown-header {
    color: #d4a54c !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    padding: 12px 20px 8px !important;
    margin-top: 4px !important;
    border-bottom: 1px solid rgba(212, 165, 76, 0.15) !important;
    background: linear-gradient(
        90deg,
        rgba(212, 165, 76, 0.05) 0%,
        transparent 100%
    ) !important;
    text-shadow: 0 0 20px rgba(212, 165, 76, 0.3) !important;
}

/* First header */
.dropdown-menu .dropdown-header:first-child,
.header-nav .dropdown-menu .dropdown-header:first-child,
.nav-item .dropdown-menu .dropdown-header:first-child {
    margin-top: 0 !important;
    padding-top: 8px !important;
    border-radius: 10px 10px 0 0 !important;
}

/* Dividers - Subtle glass edge */
.dropdown-menu .dropdown-divider {
    border: none !important;
    height: 1px !important;
    margin: 8px 16px !important;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    ) !important;
}

/* Icons - Teal with hover transition */
.dropdown-menu li a i,
.header-nav .dropdown-menu li a i,
.nav-item .dropdown-menu li a i {
    color: #1a5f7a !important;
    opacity: 0.8 !important;
    font-size: 0.9em !important;
    width: 20px !important;
    transition: all 0.25s ease !important;
}

.dropdown-menu li a:hover i {
    color: #FF1654 !important;
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

/* Focus state - Coral ring */
.dropdown-menu li a:focus,
.header-nav .dropdown-menu li a:focus,
.nav-item .dropdown-menu li a:focus {
    outline: none !important;
    box-shadow:
        0 0 0 2px rgba(255, 22, 84, 0.4),
        0 0 20px rgba(255, 22, 84, 0.15) !important;
    color: #ffffff !important;
}

/* Active/Current page */
.dropdown-menu li a.active,
.dropdown-menu li.active > a {
    color: #ffffff !important;
    background: rgba(255, 22, 84, 0.12) !important;
}

.dropdown-menu li a.active::before,
.dropdown-menu li.active > a::before {
    transform: translateY(-50%) scaleY(1) !important;
    background: #FF1654 !important;
}

/* Dark mode - Deeper darkness */
[data-theme="dark"] .dropdown-menu,
body.theme-dark .dropdown-menu {
    background: linear-gradient(
        135deg,
        rgba(5, 15, 30, 0.98) 0%,
        rgba(10, 20, 35, 0.99) 100%
    ) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.4),
        0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

[data-theme="dark"] .dropdown-menu li a,
body.theme-dark .dropdown-menu li a {
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-theme="dark"] .dropdown-menu li a:hover,
body.theme-dark .dropdown-menu li a:hover {
    color: #ffffff !important;
    background: rgba(255, 107, 107, 0.12) !important;
}

[data-theme="dark"] .dropdown-menu .dropdown-header,
body.theme-dark .dropdown-menu .dropdown-header {
    color: #ffe178 !important;
    border-bottom-color: rgba(255, 225, 120, 0.1) !important;
}

/* Mobile - Larger touch targets */
@media (max-width: 1024px) {
    .dropdown-menu li a,
    .header-nav .dropdown-menu li a,
    .nav-item .dropdown-menu li a {
        padding: 14px 20px !important;
        min-height: 48px !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .dropdown-menu li a,
    .dropdown-menu li a::before,
    .dropdown-menu li a i {
        transition: none !important;
    }
}

/* ============================================
   NESTED SUBMENU POSITIONING FIX
   Ensures submenus open to the right properly
   ============================================ */

/* Nested submenu container */
.dropdown-menu li.dropdown-submenu,
.nav-item .dropdown-menu li.dropdown-submenu,
.header-desktop .dropdown-menu li.dropdown-submenu {
    position: relative !important;
}

/* Nested submenu - open to the RIGHT */
.dropdown-menu li.dropdown-submenu > .dropdown-menu,
.dropdown-menu .dropdown-submenu > .dropdown-menu,
.nav-item .dropdown-menu li.dropdown-submenu > .dropdown-menu,
.header-desktop .dropdown-menu li.dropdown-submenu > .dropdown-menu {
    position: absolute !important;
    left: 100% !important;
    top: 0 !important;
    margin-left: 2px !important;
    margin-top: 0 !important;
    min-width: 220px !important;

    /* Same glassmorphism styling */
    background: linear-gradient(
        135deg,
        rgba(14, 43, 72, 0.95) 0%,
        rgba(10, 32, 53, 0.98) 100%
    ) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.15),
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 2px solid #FF1654 !important;
    border-radius: 12px !important;

    /* Hidden by default */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-10px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
}

/* Show nested submenu on hover */
.dropdown-menu li.dropdown-submenu:hover > .dropdown-menu,
.dropdown-menu .dropdown-submenu:hover > .dropdown-menu,
.nav-item .dropdown-menu li.dropdown-submenu:hover > .dropdown-menu,
.header-desktop .dropdown-menu li.dropdown-submenu:hover > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

/* Submenu arrow indicator */
.dropdown-menu li.dropdown-submenu > a::after,
.dropdown-menu .dropdown-submenu > a::after {
    content: '' !important;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    width: 6px !important;
    height: 6px !important;
    border-right: 2px solid rgba(255, 255, 255, 0.5) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-50%) rotate(-45deg) !important;
    transition: border-color 0.2s ease, right 0.2s ease !important;
}

.dropdown-menu li.dropdown-submenu:hover > a::after,
.dropdown-menu .dropdown-submenu:hover > a::after {
    border-color: #FF1654 !important;
    right: 10px !important;
}

/* Hover bridge to prevent gap issues */
.dropdown-menu li.dropdown-submenu::before,
.dropdown-menu .dropdown-submenu::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: -10px !important;
    width: 15px !important;
    height: 100% !important;
    background: transparent !important;
}

/* Reverse submenu - opens to the LEFT when near screen edge */
.dropdown-menu li.dropdown-submenu.dropdown-reverse > .dropdown-menu,
.dropdown-menu .dropdown-submenu.dropdown-reverse > .dropdown-menu {
    left: auto !important;
    right: 100% !important;
    margin-left: 0 !important;
    margin-right: 2px !important;
    transform: translateX(10px) !important;
}

.dropdown-menu li.dropdown-submenu.dropdown-reverse:hover > .dropdown-menu,
.dropdown-menu .dropdown-submenu.dropdown-reverse:hover > .dropdown-menu {
    transform: translateX(0) !important;
}

.dropdown-menu li.dropdown-submenu.dropdown-reverse > a::after,
.dropdown-menu .dropdown-submenu.dropdown-reverse > a::after {
    right: auto !important;
    left: 12px !important;
    transform: translateY(-50%) rotate(135deg) !important;
}

.dropdown-menu li.dropdown-submenu.dropdown-reverse:hover > a::after,
.dropdown-menu .dropdown-submenu.dropdown-reverse:hover > a::after {
    left: 14px !important;
}