/* =========================================
   PREMIUM NAVBAR STYLES
   ========================================= */

:root {
    --navbar-height: 80px;
    /* Hero colors matched gradient */
    --navbar-bg: linear-gradient(to right, rgba(10, 15, 22, 0.95) 0%, rgba(58, 31, 58, 0.95) 50%, rgba(31, 8, 31, 0.95) 100%);
    --navbar-blur: 20px;
    --navbar-border: rgba(255, 255, 255, 0.1);
    --menu-item-color: #e2e8f0;
    --menu-item-hover: #ffffff;
    --menu-item-active-bg: rgba(99, 102, 241, 0.15);
}

.site-header-premium {
    position: relative;
    width: 100%;
    height: var(--navbar-height);
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--navbar-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
}

.header-backdrop-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(var(--navbar-blur));
    -webkit-backdrop-filter: blur(var(--navbar-blur));
    z-index: -1;
}

.header-content-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* --- Logo Styling --- */
.site-logo-premium {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.custom-logo-link-premium img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.custom-logo-link-premium:hover img {
    transform: scale(1.05);
}

.site-logo-text-premium {
    font-family: 'Outfit', 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 26px;
    text-decoration: none;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 10;
}

.text-gradient-premium {
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 5s ease infinite;
}

@keyframes gradientText {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- Navigation Styling --- */
.main-navigation-premium {
    margin-left: auto;
    margin-right: 30px;
}

.primary-menu-premium {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.primary-menu-premium li {
    position: relative;
}

.primary-menu-premium li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: var(--menu-item-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.primary-menu-premium li a i {
    font-size: 14px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.primary-menu-premium li a:hover {
    color: var(--menu-item-hover);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.primary-menu-premium li a:hover i {
    opacity: 1;
    transform: scale(1.2);
    color: var(--secondary-color);
}

.primary-menu-premium li.current-menu-item a {
    color: #ffffff;
    background: var(--menu-item-active-bg);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    font-weight: 600;
}

.primary-menu-premium li.current-menu-item a i {
    color: var(--primary-color);
    opacity: 1;
}

/* --- Header Actions --- */
.header-actions-premium {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-btn-premium {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

.header-btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    z-index: 1;
}

.header-btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
    filter: brightness(1.1);
}

.header-btn-premium .btn-icon {
    font-size: 16px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Default hidden on desktop */
.mobile-menu-container,
.mobile-menu-overlay {
    display: none;
    visibility: hidden;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .main-navigation-premium {
        display: none;
    }

    .header-btn-premium {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile Menu Container */
    .mobile-menu-container {
        display: flex;
        /* Show on mobile */
        visibility: visible;
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: linear-gradient(to bottom, #0a0f16 0%, #3a1f3a 100%);
        z-index: 2000;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 20px;
        flex-direction: column;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    .mobile-menu-container.active {
        right: 0;
    }

    .mobile-menu-overlay {
        display: block;
        /* Show on mobile */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-title {
        font-size: 20px;
        font-weight: 700;
        color: white;
        background: linear-gradient(to right, #6366f1, #ec4899);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .mobile-menu-close {
        background: none;
        border: none;
        color: #94a3b8;
        font-size: 30px;
        cursor: pointer;
        line-height: 1;
    }

    .mobile-menu-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu-content ul li a {
        display: flex;
        align-items: center;
        gap: 15px;
        color: #e2e8f0;
        text-decoration: none;
        font-size: 16px;
        padding: 12px 15px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.03);
        transition: all 0.3s ease;
    }

    .mobile-menu-content ul li.current-menu-item a,
    .mobile-menu-content ul li a:hover {
        background: rgba(99, 102, 241, 0.15);
        color: white;
        transform: translateX(5px);
    }

    .mobile-menu-content ul li a i {
        color: var(--primary-color);
        width: 20px;
        text-align: center;
    }
}