﻿/* ================================================================
      DOSYA: MultiSiteManager.Web/wwwroot/js/Toku/corporate-navbar-neo-glassmorphism.css
   TOKU NEO-GLASSMORPHISM NAVBAR - ULTRA MODERN & FUTURISTIC
   Neon Colors + Glow Effects + 3D Transforms + True Glass Effect
   ================================================================ */

/* ================================================================
   CSS VARIABLES - NEON THEME
   ================================================================ */
:root {
    /* Neon Colors - Ultra Vibrant */
    --neon-blue: #0084ff; /* Bright Neon Blue */
    --neon-cyan: #00d9ff; /* Bright Cyan */
    --neon-purple: #9d4edd; /* Neon Purple */
    --neon-pink: #ff006e; /* Neon Pink */
    /* Base Colors */
    --dark-bg: #0a0e27; /* Deep Dark Blue-Black */
    --darker-bg: #050810; /* Ultra Dark */
    --light-text: #e0e0e0; /* Light Text */
    --bright-white: #ffffff; /* Pure White */
    /* Gradients - Neon */
    --gradient-neon: linear-gradient(135deg, #0084ff 0%, #00d9ff 50%, #9d4edd 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 132, 255, 0.3) 0%, rgba(0, 217, 255, 0.2) 100%);
    /* Glow Effects */
    --glow-blue: 0 0 20px rgba(0, 132, 255, 0.6);
    --glow-cyan: 0 0 20px rgba(0, 217, 255, 0.6);
    --glow-purple: 0 0 20px rgba(157, 78, 221, 0.6);
    --glow-pink: 0 0 20px rgba(255, 0, 110, 0.6);
    /* Shadows */
    --shadow-glow-strong: 0 0 40px rgba(0, 132, 255, 0.5), 0 0 80px rgba(0, 217, 255, 0.3);
    --shadow-drop: 0 10px 40px rgba(0, 0, 0, 0.4);
    /* Glass Effect */
    --glass-blur: 30px;
    --glass-bg: rgba(10, 14, 39, 0.7);
    --glass-border: rgba(0, 217, 255, 0.2);
    /* Transitions */
    --transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ================================================================
   GLOBAL STYLES
   ================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--light-text);
    /*background: linear-gradient(135deg, #0a0e27 0%, #1a0f3f 100%);*/
    background: transparent;
    /*padding-top: 75px;*/
}

html {
    scroll-behavior: smooth;
}

/* ================================================================
   NAVBAR BASE - TRUE GLASSMORPHISM
   ================================================================ */
.toku-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: 75px;
    display: flex;
    align-items: center;
    /* True Glassmorphism - Glass Effect */
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    /* Glow Border */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 132, 255, 0.1);
    transition: all var(--transition);
}

    /* Scroll effect - Enhanced glow */
    .toku-navbar.scrolled {
        background: rgba(5, 8, 16, 0.85);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 40px rgba(0, 132, 255, 0.3), 0 10px 40px rgba(0, 0, 0, 0.5);
    }

.navbar-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* ================================================================
   BRAND/LOGO - NEON STYLE
   ================================================================ */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    position: relative;
}

    .brand-link:hover {
        transform: translateY(-3px);
    }

.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(var(--glow-blue));
    transition: all var(--transition);
}

.brand-link:hover .brand-logo {
    filter: drop-shadow(var(--shadow-glow-strong));
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 132, 255, 0.3);
    animation: glowPulse 2s ease-in-out infinite;
}

.brand-tagline {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--neon-cyan);
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: var(--glow-cyan);
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 132, 255, 0.3);
    }

    50% {
        text-shadow: 0 0 40px rgba(0, 132, 255, 0.6);
    }
}

/* ================================================================
   NAVIGATION MENU
   ================================================================ */
.navbar-menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align menu to the left instead of center */
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Navigation Links - Neon Style */
.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    text-decoration: none;
    color: var(--light-text);
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

    /* Hover - Neon glow effect */
    .nav-link:hover {
        color: var(--neon-cyan);
        background: rgba(0, 217, 255, 0.1);
        border-color: var(--neon-cyan);
        box-shadow: 0 0 15px var(--glow-cyan), inset 0 0 15px rgba(0, 217, 255, 0.1);
        transform: translateY(-2px);
    }

    /* Active - Stronger glow */
    .nav-link.active {
        color: var(--bright-white);
        background: rgba(0, 132, 255, 0.2);
        border-color: var(--neon-blue);
        box-shadow: var(--shadow-glow-strong);
    }

    .nav-link i {
        font-size: 16px;
        opacity: 0.8;
        transition: all var(--transition);
    }

    .nav-link:hover i {
        opacity: 1;
        transform: scale(1.1);
    }

/* Dropdown indicator */
.nav-item.has-dropdown .nav-link::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 6px;
    font-size: 11px;
    transition: transform var(--transition);
}

.nav-item.has-dropdown:hover .nav-link::after,
.nav-item.has-dropdown.active .nav-link::after {
    transform: rotate(-180deg);
}

/* ================================================================
   DROPDOWN MENU - NEO-GLASSMORPHISM MEGA EFFECT
   ================================================================ */
.dropdown-menu {
    position: absolute;
    top: 100%; /* No gap - dropdown touches nav item for seamless hover */
    left: 0;
    min-width: 600px;
    max-width: 700px;
    /* Ultra Glassmorphism */
    /*background: rgba(5, 8, 16, 0.9);*/
    background: rgba(7, 13, 13, 0.9);
    backdrop-filter: blur(300px);
    -webkit-backdrop-filter: blur(300px);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 16px;
    /* MEGA Glow */
    box-shadow: 0 0 60px rgba(0, 132, 255, 0.4), 0 0 30px rgba(0, 217, 255, 0.2), 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    /* Animation states */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
    z-index: 1000;
    overflow: hidden;
    padding: 12px 0;
    pointer-events: none; /* Start with no pointer events */
}

/* Show dropdown - IMPORTANT: Show on hover! */
@media (min-width: 769px) {
    .nav-item.has-dropdown:hover .dropdown-menu,
    .nav-item.has-dropdown .dropdown-menu:hover {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scale(1) !important;
        display: block !important;
        pointer-events: auto !important;
    }
}

/* Force show for debugging */
.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown.active .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

/* Keep dropdown visible when hovering dropdown itself */
.dropdown-menu {
    pointer-events: none;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    pointer-events: auto;
}

/* Hover bridge - invisible area to prevent dropdown from closing when moving mouse down */
.nav-item.has-dropdown::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
    z-index: 999;
    pointer-events: auto;
}

/* Arrow pointer */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 16px;
    height: 16px;
    background: rgba(5, 8, 16, 0.9);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-bottom: none;
    border-right: none;
    border-radius: 2px;
    transform: rotate(45deg);
    backdrop-filter: blur(40px);
    z-index: -1;
}

/* Dropdown header - Neon style */
.dropdown-header {
    padding: 12px 24px 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(0, 132, 255, 0.1);
    border-bottom: 2px solid rgba(0, 217, 255, 0.3);
    margin-bottom: 4px;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

/* ================================================================
   DROPDOWN ITEMS - NEON HOVER EFFECTS
   ================================================================ */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: var(--light-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
    position: relative;
    overflow: hidden;
    background: transparent;
}

    .dropdown-item:last-child {
        border-bottom: none;
    }

    /* Hover effect - Neon glow and slide */
    .dropdown-item:hover {
        background: linear-gradient(90deg, rgba(0, 132, 255, 0.2) 0%, rgba(0, 217, 255, 0.1) 100%);
        color: var(--neon-cyan);
        transform: translateX(8px);
        padding-left: 32px;
        box-shadow: inset 5px 0 0 var(--neon-cyan);
    }

    /* Icon styling */
    .dropdown-item i {
        font-size: 16px;
        color: var(--neon-blue);
        opacity: 0.7;
        transition: all var(--transition);
    }

    .dropdown-item:hover i {
        color: var(--neon-cyan);
        opacity: 1;
        transform: scale(1.2) rotate(6deg);
    }

/* ================================================================
   NAVBAR ACTIONS - RIGHT SIDE
   ================================================================ */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto; /* Push to the far right */
}

/* ================================================================
   LANGUAGE DROPDOWN - NEON STYLE
   ================================================================ */
.language-dropdown {
    position: relative;
    z-index: calc(1030 + 10);
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    color: var(--neon-cyan);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--glow-cyan);
}

    .language-btn:hover {
        background: rgba(0, 217, 255, 0.2);
        border-color: var(--neon-cyan);
        transform: translateY(-2px);
        box-shadow: 0 0 30px var(--glow-cyan);
    }

    .language-btn i {
        font-size: 16px;
    }

.current-lang {
    font-weight: 900;
    letter-spacing: 1px;
}

/* Language menu */
.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(5, 8, 16, 0.95);
    backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow-glow-strong), var(--shadow-drop);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all var(--transition);
    z-index: 1000;
    padding: 8px 0;
    overflow: hidden;
}

/* Show on hover or active */
.language-dropdown:hover .language-menu,
.language-dropdown.active .language-menu,
.language-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

/* Enable pointer events when visible */
.language-menu {
    pointer-events: none;
}

.language-dropdown:hover .language-menu,
.language-menu:hover {
    pointer-events: auto;
}

/* Language options */
.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--light-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .language-option:last-child {
        border-bottom: none;
    }

    .language-option:hover {
        background: linear-gradient(90deg, rgba(0, 217, 255, 0.2) 0%, transparent 100%);
        color: var(--neon-cyan);
        padding-left: 24px;
        box-shadow: inset 4px 0 0 var(--neon-cyan);
    }

    .language-option.active {
        background: linear-gradient(90deg, rgba(0, 132, 255, 0.3) 0%, rgba(0, 217, 255, 0.1) 100%);
        color: var(--neon-cyan);
        border-left: 4px solid var(--neon-cyan);
        box-shadow: var(--glow-cyan);
    }

.language-flag {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

/* ================================================================
   CONTACT BUTTON - NEON CTA
   ================================================================ */
.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-neon);
    color: var(--bright-white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: all var(--transition);
    box-shadow: var(--shadow-glow-strong);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .contact-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: left 0.5s;
    }

    .contact-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 40px rgba(0, 132, 255, 0.6), 0 0 20px rgba(0, 217, 255, 0.4), 0 10px 30px rgba(0, 0, 0, 0.5);
    }

        .contact-btn:hover::before {
            left: 100%;
        }

    .contact-btn i {
        font-size: 16px;
    }

/* ================================================================
   MOBILE MENU - RESPONSIVE
   ================================================================ */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

    .mobile-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--neon-cyan);
        border-radius: 1px;
        transition: all var(--transition);
    }

    .mobile-toggle:hover {
        background: rgba(0, 217, 255, 0.2);
        box-shadow: var(--glow-cyan);
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

/* Mobile menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    z-index: 1025;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    padding: 12px 0;
}

.mobile-nav-item {
    position: relative;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}

    .mobile-nav-link:hover {
        background: rgba(0, 217, 255, 0.1);
        color: var(--neon-cyan);
        border-left-color: var(--neon-cyan);
        padding-left: 24px;
    }

/* Mobile dropdown */
.mobile-dropdown {
    display: none;
    background: rgba(0, 132, 255, 0.05);
    border-left: 2px solid var(--neon-cyan);
}

    .mobile-dropdown.active {
        display: block;
    }

.mobile-dropdown-item {
    padding: 12px 20px 12px 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-text);
    text-decoration: none;
    font-size: 14px;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

    .mobile-dropdown-item:hover {
        color: var(--neon-cyan);
        background: rgba(0, 217, 255, 0.1);
        padding-left: 56px;
    }

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */
@media (max-width: 968px) {
    .navbar-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .navbar-container {
        gap: 1rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 640px) {
    .navbar-container {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .brand-name {
        font-size: 22px;
    }

    .brand-tagline {
        font-size: 10px;
    }

    .contact-btn span {
        display: none;
    }

    .language-btn span {
        display: none;
    }
}

/* ================================================================
   ACCESSIBILITY
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.nav-link:focus,
.dropdown-item:focus,
.language-option:focus {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 2px;
}
