﻿/* =========================================
   PREMIUM NAVBAR
   PROJECT INTELL
========================================= */


/* =========================================
   HEADER
========================================= */

.premium-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}


/* =========================================
   TOPBAR
========================================= */

.premium-topbar {
    background: #000000;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.topbar-inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 10px;
}

.topbar-left {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.topbar-right {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
}

    .topbar-right a {
        display: flex;
        align-items: center;
        padding: 0 14px;
        color: rgba(255,255,255,0.85);
        text-decoration: none;
        transition: 0.3s ease;
        font-size: 15px;
        font-weight: bold;
    }

        .topbar-right a:hover {
            color: #ffffff;
        }

    .topbar-right i {
        margin-right: 6px;
    }

/* =========================================
   TOPBAR SOCIAL
========================================= */

.topbar-social {
    display: flex;
    align-items: center;
    grid-gap: 12px;
}

    .topbar-social a {
        min-width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
        border-radius: 6px;
        color: rgba(255,255,255,0.82);
        transition: 0.3s ease;
        font-size: 13px;
        text-align: center
    }

        .topbar-social a:hover {
            background: #e31e24;
            color: #ffffff;
            transform: translateY(-1px);
        }

/* =========================================
   TOPBAR SEPARATOR
========================================= */

.topbar-separator {
    position: relative;
    width: 1px;
    align-self: stretch;
    /*background: linear-gradient( to bottom, transparent, rgba(255,255,255,0.22), transparent );*/
    background-color: rgba(255,255,255,0.4);
    opacity: 0.8;
    height: 42px;
    overflow: hidden;
}

/* =========================================
   NAVBAR
========================================= */

.premium-navbar {
    display: flex;
    align-items: stretch;
    min-height: 76px;
    background: #071a2c;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    position: relative;
}


/* =========================================
   LOGO ZONE
========================================= */

.logo-zone {
    width: 200px;
    min-width: 200px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-right: 1px solid rgba(0,0,0,0.06);
    position: relative;
    z-index: 2;
}

    .logo-zone .navbar-brand {
        margin: 0;
    }

    .logo-zone img {
        max-height: 38px;
        width: auto;
        display: block;
    }


/* =========================================
   NAV ZONE
========================================= */

.nav-zone {
    flex: 1;
    background: #071a2c;
    display: flex;
    align-items: center;
    position: relative;
}


/* =========================================
   NAVBAR INNER
========================================= */

.premium-navbar-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 30px;
    padding-left: 30px;
    text-transform: uppercase;
    margin: 0 auto !important
}


/* =========================================
   MENU
========================================= */

.premium-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

    .premium-menu li {
        position: relative;
    }

        .premium-menu li a {
            display: block;
            padding: 14px 16px;
            margin: 0 2px;
            color: rgba(255,255,255,0.88);
            font-size: 15px;
            font-weight: 500;
            text-decoration: none;
            border-radius: 10px;
            transition: all .25s ease;
        }


            .premium-menu li a:hover {
                color: #ffffff;
                background: rgba(255,255,255,0.05);
                border-radius: 10px;
                text-decoration: none;
            }


            /* =========================================
               MENU HOVER
            ========================================= */

            .premium-menu li a::after {
                content: '';
                position: absolute;
                left: 14px;
                bottom: 20px;
                width: 0;
                height: 2px;
                background: #e31e24;
                transition: 0.3s ease;
            }

            .premium-menu li a:hover::after {
                width: calc(100% - 28px);
            }
        /* =========================================
           ACTIVE MENU
        ========================================= */

        .premium-menu li.active a {
            background: rgba(227,30,36,0.9);
            /*background-color:red;*/
            color: #ffffff;
            border-radius: 10px;
        }

/* =========================================
   ACTION BUTTONS
========================================= */

.premium-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.demo-btn {
    background: #e31e24;
    color: #ffffff;
}

    .demo-btn:hover {
        background: #c41218;
        color: #ffffff;
    }

.login-btn {
    border: 1px solid rgba(255,255,255,0.18);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

    .login-btn:hover {
        background: rgba(255,255,255,0.08);
        color: #ffffff;
    }

    .login-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient( 120deg, transparent, rgba(255,255,255,.22), transparent );
        transform: translateX(-100%);
        transition: .6s;
    }

    .login-btn:hover::before {
        transform: translateX(100%);
    }


/* =========================================
   HAMBURGER
========================================= */

.premium-toggler {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

    .premium-toggler:focus {
        outline: none;
    }

    .premium-toggler span {
        width: 24px;
        height: 2px;
        background: #e31e24;
        transition: 0.3s ease;
    }


/* =========================================
   TABLET
========================================= */

@media (max-width: 1199px) {

    .premium-menu li a {
        padding: 30px 10px;
        font-size: 14px;
    }

    .premium-actions {
        gap: 8px;
    }

    .premium-btn {
        padding: 0 18px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 991px) {

    .premium-header {
        position: relative;
    }

    .premium-topbar {
        padding: 10px 0;
    }

    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 0 15px;
    }

    .topbar-left {
        width: 100%;
        font-size: 12px;
    }

    .topbar-right {
        width: 100%;
        gap: 14px;
        flex-wrap: wrap;
    }

    .premium-navbar {
        flex-direction: column;
        min-height: auto;
    }

    .logo-zone {
        width: 100%;
        min-width: 100%;
        min-height: 74px;
        padding: 0 16px;
        border-right: none;
    }

        .logo-zone img {
            max-height: 32px;
        }

    .premium-toggler {
        display: flex;
    }

    .nav-zone {
        width: 100%;
        display: block;
    }

    .premium-navbar-inner {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #071a2c;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        z-index: 999;
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

        .premium-navbar-inner.active {
            display: flex;
        }

    .premium-menu {
        width: 100%;
        flex-direction: column;
        gap: 0;
    }

        .premium-menu li {
            width: 100%;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }

            .premium-menu li a {
                width: 100%;
                padding: 16px 20px;
            }

                .premium-menu li a::after {
                    display: none;
                }

    .premium-actions {
        width: 100%;
        padding: 20px;
        flex-direction: column;
    }

    .premium-btn {
        width: 100%;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .topbar-right {
        gap: 10px;
    }

        .topbar-right a {
            font-size: 12px;
        }

    .logo-zone img {
        max-height: 28px;
    }

    .premium-menu li a {
        font-size: 14px;
    }
}

/* =========================================
   FORCE REMOVE OLD UNDERLINES
========================================= */

.premium-menu li a::before,
.premium-menu li a::after {
    display: none !important;
    content: none !important;
}

.premium-menu li a,
.premium-menu li a:hover,
.premium-menu li a:focus,
.premium-menu li a:active,
.premium-menu li.active a {
    text-decoration: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
    outline: none !important;
}
