/* ============================================
   PREMIUM HEADER & NAVIGATION STYLES
   ============================================ */

/* Enhanced Header */
header.section {
    position: relative;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.98) 0%,
            rgba(0, 0, 0, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

header.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--premium-primary) 30%,
            var(--premium-primary-hover) 50%,
            var(--premium-primary) 70%,
            transparent 100%);
    opacity: 0.6;
    animation: shimmer 4s ease-in-out infinite;
}

/* Logo Enhancement */
.logo {
    transition: transform var(--transition-base);
    position: relative;
    z-index: 10;
}

.logo:hover {
    transform: scale(1.08);
}

.nav_logo-icon {
    transition: all var(--transition-base);
    filter: drop-shadow(0 0 8px rgba(255, 77, 0, 0.3));
}

.logo:hover .nav_logo-icon {
    transform: rotate(10deg) scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 77, 0, 0.6));
    animation: pulse 2s ease-in-out infinite;
}

.paragraph_xlarge[data-brand-name="true"] {
    background: linear-gradient(135deg,
            #fff 0%,
            var(--premium-primary-hover) 30%,
            var(--premium-primary) 50%,
            var(--premium-primary-hover) 70%,
            #fff 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 1.4rem !important;
    /* Increased size */
}

/* Navigation Container Enhancement */
.navbar-2 {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.75rem;
    margin-top: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.navbar-2:hover {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navigation Links Enhancement */
.w-nav-link {
    position: relative;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    transition: all var(--transition-base);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.w-nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg,
            var(--premium-primary) 0%,
            var(--premium-primary-hover) 100%);
    transform: translateX(-50%);
    transition: width var(--transition-base);
    border-radius: 2px;
}

.w-nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center,
            rgba(255, 77, 0, 0.15) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.w-nav-link:hover::before {
    width: 80%;
}

.w-nav-link:hover::after {
    opacity: 1;
}

.w-nav-link:hover {
    background: linear-gradient(135deg,
            rgba(255, 77, 0, 0.15) 0%,
            rgba(255, 77, 0, 0.1) 100%);
    color: var(--premium-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.2);
}

/* Active Link State */
.w-nav-link.w--current {
    background: linear-gradient(135deg,
            rgba(255, 77, 0, 0.2) 0%,
            rgba(255, 77, 0, 0.15) 100%);
    color: var(--premium-primary-hover);
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.25);
}

/* Dropdown Enhancement */
.w-dropdown {
    position: relative;
}

.dropdown-toggle {
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    transition: all var(--transition-base);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle:hover {
    background: linear-gradient(135deg,
            rgba(255, 77, 0, 0.15) 0%,
            rgba(255, 77, 0, 0.1) 100%);
    color: var(--premium-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.2);
}

.w-icon-dropdown-toggle {
    transition: transform var(--transition-base);
}

.dropdown-toggle:hover .w-icon-dropdown-toggle {
    transform: rotate(180deg);
}

.w-dropdown-list {
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    margin-top: 0.75rem;
    animation: fadeInUp 0.3s ease-out;
}

.w-dropdown-link {
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    transition: all var(--transition-fast);
    display: block;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.w-dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg,
            var(--premium-primary) 0%,
            var(--premium-primary-hover) 100%);
    transform: translateY(-50%);
    transition: height var(--transition-fast);
    border-radius: 0 2px 2px 0;
}

.w-dropdown-link:hover::before {
    height: 70%;
}

.w-dropdown-link:hover {
    background: linear-gradient(135deg,
            rgba(255, 77, 0, 0.15) 0%,
            rgba(255, 77, 0, 0.1) 100%);
    color: var(--premium-primary-hover);
    transform: translateX(6px);
    padding-left: 1.5rem;
}

/* Mobile Menu Enhancement */
.w-nav-button {
    background: linear-gradient(135deg,
            rgba(255, 77, 0, 0.15) 0%,
            rgba(255, 77, 0, 0.1) 100%);
    border: 1px solid rgba(255, 77, 0, 0.3);
    border-radius: 12px;
    padding: 0.85rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.w-nav-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.w-nav-button:hover::before {
    width: 100px;
    height: 100px;
}

.w-nav-button:hover {
    background: linear-gradient(135deg,
            rgba(255, 77, 0, 0.25) 0%,
            rgba(255, 77, 0, 0.2) 100%);
    border-color: rgba(255, 77, 0, 0.5);
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(255, 77, 0, 0.3);
}

.w-icon-nav-menu {
    filter: drop-shadow(0 0 6px rgba(255, 77, 0, 0.4));
    position: relative;
    z-index: 1;
}

/* Responsive Navigation */
@media (max-width: 991px) {
    .navbar-2 {
        border-radius: 14px;
        padding: 0.5rem;
    }

    .w-nav-menu {
        background: linear-gradient(135deg,
                rgba(0, 0, 0, 0.98) 0%,
                rgba(0, 0, 0, 0.95) 100%);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 16px;
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        padding: 1.25rem;
        margin-top: 1rem;
        animation: fadeInUp 0.4s ease-out;
    }

    .w-nav-link {
        margin-bottom: 0.5rem;
        border-radius: 10px;
    }

    .w-nav-link:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 479px) {
    .paragraph_xlarge[data-brand-name="true"] {
        font-size: 1.1rem !important;
        /* Larger on mobile too */
    }

    .navbar-2 {
        padding: 0.4rem;
    }
}