/* ======================================== DARK GLASSMORPHISM NAVIGATION Premium dark glass with white text This file is the single source of truth for desktop header/navigation styles. Wrapped in @layer overrides - highest priority in the cascade layer system. This allows removal of !important once porto-desktop.css is also wrapped in a lower-priority layer. ======================================== */ @layer overrides { /* ======================================== 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 */ /* Logo - MUST be able to shrink, override flex-shrink: 0 from porto-desktop.css */ /* Nav - takes remaining space but won't push other elements */ /* Nav links - compact for better fit */ /* Contact button and actions - don't shrink */ /* Hide logo text at 1600px to give nav more room */ /* Tighter nav links at 1400px */ /* Even tighter at 1200px */ /* Below 1100px - hide desktop header entirely (mobile should take over) */ /* ======================================== FIX: Announcement Bar Text - Ensure White Top coral bar should have white text ======================================== */ /* Dark glassmorphism - initial state */ /* Scrolled state - stronger dark glass */ /* Homepage-specific: Override porto-desktop.css transparent header with consistent dark glass look */ /* White text on dark glass background */ /* Announcement bar text - already white on red, keep it */ /* Dropdown arrows - white */ /* Nav link hover - lighter white */ /* 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 */ /* Smooth transitions */ /* Dark mode support - manual toggle */ [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 */ /* Mobile responsiveness */ /* ======================================== 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 */ /* 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); } /* -------------------------------------- MEGA DROPDOWN WIDTH FIX Services dropdown needs more width -------------------------------------- */ /* 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 */ /* Social Icons - White on dark glass */ /* Hamburger Menu Toggle - White on dark glass */ /* -------------------------------------- SCROLLED STATE - Slightly brighter (These should already exist but ensuring proper specificity) -------------------------------------- */ /* -------------------------------------- DARK MODE - Ensure visibility maintained -------------------------------------- */ /* ======================================== PORTO HEADER ACTION BUTTONS FIX PROBLEM: Header-porto.astro uses different class names than exodus-header (.header-action-btn instead of .header-icon). Icons appear gray/invisible because no CSS targets these selectors. SOLUTION: Add explicit icon color rules for Porto header buttons. ======================================== */ /* Porto Header Action Buttons - Search & Theme Toggle */ .site-header .header-action-btn, .header-column-actions .header-action-btn { color: #ffffff; } .site-header .header-action-btn i, .header-column-actions .header-action-btn i, #portoThemeToggle i, #desktopSearchToggle i { color: #ffffff; font-size: 1rem; } /* Ensure icons are visible on hover too */ .site-header .header-action-btn:hover, .header-column-actions .header-action-btn:hover { color: #ffffff; } .site-header .header-action-btn:hover i, .header-column-actions .header-action-btn:hover i { color: #ffffff; } /* Desktop sidebar toggle button */ .site-header .desktop-sidebar-toggle, #desktopSidebarToggle { color: #ffffff; } .site-header .desktop-sidebar-toggle i, #desktopSidebarToggle i { color: #ffffff; } /* ======================================== 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 { 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 { 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 { background: #FF1654; color: #ffffff; } .dropdown-menu .dropdown-footer i { color: inherit; opacity: 1; transition: transform 0.2s ease; } .dropdown-menu .dropdown-footer:hover i { transform: translateX(4px); } /* -------------------------------------- DIVIDER REFINEMENT Subtle coral tint -------------------------------------- */ /* -------------------------------------- "+N MORE" TRUNCATION LINK Shows when dropdown items exceed limit -------------------------------------- */ .dropdown-menu .dropdown-more-item { border-top: 1px dashed rgba(255, 255, 255, 0.15) !important; margin-top: 4px !important; } .dropdown-menu .dropdown-more-link { display: flex !important; align-items: center !important; gap: 8px !important; padding: 0.65rem 1rem !important; font-size: 0.8rem !important; font-weight: 500 !important; color: var(--ot-teal, #7fd1ff) !important; background: transparent !important; transition: all 0.2s ease !important; } .dropdown-menu .dropdown-more-link:hover { background: rgba(255, 22, 84, 0.15) !important; color: #FF1654 !important; } .dropdown-menu .dropdown-more-link i:first-child { font-size: 12px !important; color: var(--ot-teal, #7fd1ff) !important; opacity: 0.8 !important; } .dropdown-menu .dropdown-more-link:hover i { color: #FF1654 !important; opacity: 1 !important; } /* RTL support for +more link */ /* -------------------------------------- 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; opacity: 0.9; } [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, body.theme-dark .dropdown-menu .dropdown-footer { color: #ff6b6b; } [data-theme="dark"] .dropdown-menu .dropdown-footer:hover, body.theme-dark .dropdown-menu .dropdown-footer: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 { /* 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: ''; position: absolute; top: -2px; left: 20%; right: 20%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 22, 84, 0.8), transparent); filter: blur(1px); } /* Dropdown links - Elegant light text */ .dropdown-menu li a, .header-nav .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 { background: transparent !important; } /* Hover state - Coral glow */ .dropdown-menu li a:hover, .header-nav .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 { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%) scaleY(0); width: 3px; height: 50%; background: linear-gradient(180deg, #d4a54c, #FF1654); border-radius: 0 3px 3px 0; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .dropdown-menu li a:hover::before, .header-nav .dropdown-menu li a:hover::before { transform: translateY(-50%) scaleY(1); } /* Section headers - Teal with gold accent */ .dropdown-menu .dropdown-header, .header-nav .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 { margin-top: 0; padding-top: 8px; border-radius: 10px 10px 0 0; } /* Dividers - Subtle glass edge */ /* Icons - Coral for visibility on dark navy background */ .dropdown-menu li a i, .header-nav .dropdown-menu li a i { color: #FF1654 !important; opacity: 0.85 !important; font-size: 0.9em !important; width: 20px !important; flex-shrink: 0 !important; transition: all 0.25s ease !important; } .dropdown-menu li a:hover i { color: #ffffff !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 { outline: none; box-shadow: 0 0 0 2px rgba(255, 22, 84, 0.4), 0 0 20px rgba(255, 22, 84, 0.15); color: #ffffff; } /* Active/Current page */ .dropdown-menu li a.active, .dropdown-menu li.active > a { color: #ffffff; background: rgba(255, 22, 84, 0.12); } .dropdown-menu li a.active::before, .dropdown-menu li.active > a::before { transform: translateY(-50%) scaleY(1); background: #FF1654; } /* 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% ); border-color: rgba(255, 255, 255, 0.05); 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); } [data-theme="dark"] .dropdown-menu li a, body.theme-dark .dropdown-menu li a { color: rgba(255, 255, 255, 0.8); } [data-theme="dark"] .dropdown-menu li a:hover, body.theme-dark .dropdown-menu li a:hover { color: #ffffff; background: rgba(255, 107, 107, 0.12); } [data-theme="dark"] .dropdown-menu .dropdown-header, body.theme-dark .dropdown-menu .dropdown-header { color: #ffe178; border-bottom-color: rgba(255, 225, 120, 0.1); } /* Mobile - Larger touch targets */ @media (max-width: 1024px) { .dropdown-menu li a, .header-nav .dropdown-menu li a { padding: 14px 20px; min-height: 48px; } } /* Reduced motion */ @media (prefers-reduced-motion: reduce) { .dropdown-menu li a, .dropdown-menu li a::before, .dropdown-menu li a i { transition: none; } } /* ============================================ NESTED SUBMENU POSITIONING FIX Ensures submenus open to the right properly ============================================ */ /* Nested submenu container */ .dropdown-menu li.dropdown-submenu { position: relative; } /* Nested submenu - open to the RIGHT */ .dropdown-menu li.dropdown-submenu > .dropdown-menu, .dropdown-menu .dropdown-submenu > .dropdown-menu { position: absolute; left: 100%; top: 0; margin-left: 2px; margin-top: 0; min-width: 220px; /* Same glassmorphism styling */ background: linear-gradient( 135deg, rgba(14, 43, 72, 0.95) 0%, rgba(10, 32, 53, 0.98) 100% ); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); 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); border: 1px solid rgba(255, 255, 255, 0.08); border-top: 2px solid #FF1654; border-radius: 12px; /* Hidden by default - use display:none to remove from layout */ display: none; opacity: 0; visibility: hidden; transform: translateX(-10px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; } /* Show nested submenu on hover */ .dropdown-menu li.dropdown-submenu:hover > .dropdown-menu, .dropdown-menu .dropdown-submenu:hover > .dropdown-menu { display: block; opacity: 1; visibility: visible; transform: translateX(0); } /* Submenu arrow indicator */ .dropdown-menu li.dropdown-submenu > a::after, .dropdown-menu .dropdown-submenu > a::after { content: ''; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-right: 2px solid rgba(255, 255, 255, 0.5); border-bottom: 2px solid rgba(255, 255, 255, 0.5); transform: translateY(-50%) rotate(-45deg); transition: border-color 0.2s ease, right 0.2s ease; } .dropdown-menu li.dropdown-submenu:hover > a::after, .dropdown-menu .dropdown-submenu:hover > a::after { border-color: #FF1654; right: 10px; } /* Hover bridge to prevent gap issues */ .dropdown-menu li.dropdown-submenu::before, .dropdown-menu .dropdown-submenu::before { content: ''; position: absolute; top: 0; right: -10px; width: 15px; height: 100%; background: transparent; } /* Reverse submenu - opens to the LEFT when near screen edge */ } /* End @layer overrides */