/* ==========================================================
   TrueVitaHub Header
========================================================== */

.tvh-header{
    position:sticky;
    top:0;
    z-index:9999;
    background:#ffffff;
    border-bottom:1px solid #eef2f7;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
}

.tvh-navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
    height:84px;
}

/* ==========================================================
   Logo
========================================================== */

.tvh-logo{
    display:flex;
    align-items:center;
}

.tvh-logo a{
    display:flex;
    align-items:center;
    text-decoration:none;
    color:#0f172a;
}

.tvh-logo img{
    max-height:42px;
    width:auto;
}

.tvh-logo-text{
    font-size:28px;
    font-weight:800;
    color:#2563eb;
}

/* ==========================================================
   Navigation
========================================================== */

.tvh-navigation{
    flex:1;
    display:flex;
    justify-content:center;
}

.tvh-nav{
    display:flex;
    align-items:center;
    gap:34px;
    margin:0;
    padding:0;
    list-style:none;
}

.tvh-nav li{
    position:relative;
}

.tvh-nav a{
    text-decoration:none;
    color:#334155;
    font-size:15px;
    font-weight:600;
    transition:.25s ease;
}

.tvh-nav a:hover{
    color:#2563eb;
}

/* Active Item */

.tvh-nav .current-menu-item>a,
.tvh-nav .current_page_item>a{
    color:#2563eb;
}

/* Underline Animation */

.tvh-nav li::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-10px;
    width:0;
    height:2px;
    background:#2563eb;
    transition:.3s;
}

.tvh-nav li:hover::after{
    width:100%;
}

/* ==========================================================
   Right Actions
========================================================== */

.tvh-actions{
    display:flex;
    align-items:center;
    gap:18px;
}

.tvh-search-btn{
    width:44px;
    height:44px;
    border:none;
    cursor:pointer;
    border-radius:12px;
    background:#f8fafc;
    transition:.25s;
    font-size:18px;
}

.tvh-search-btn:hover{
    background:#eef4ff;
}

.tvh-login{
    color:#0f172a;
    text-decoration:none;
    font-weight:600;
}

.tvh-join{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:13px 24px;
    border-radius:12px;
    background:#2563eb;
    color:#ffffff;
    text-decoration:none;
    font-weight:700;
    transition:.25s;
}

.tvh-join:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
}

/* ==========================================================
   Mobile Toggle
========================================================== */

.tvh-mobile-toggle{
    display:none;
    width:44px;
    height:44px;
    border:none;
    background:#f8fafc;
    border-radius:12px;
    cursor:pointer;
    font-size:22px;
}

/* ==========================================================
   Responsive
========================================================== */

@media (max-width:1024px){

    .tvh-navigation{
        display:none;
    }

    .tvh-mobile-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
    }

}

@media (max-width:768px){

    .tvh-navbar{
        height:74px;
        gap:16px;
    }

    .tvh-logo-text{
        font-size:22px;
    }

    .tvh-login{
        display:none;
    }

    .tvh-search-btn{
        display:none;
    }

}

@media (max-width:480px){

    .tvh-join{
        padding:10px 18px;
        font-size:14px;
    }

}
/* ==========================================
   Sticky Shadow
========================================== */

.tvh-header-scrolled{

    box-shadow:0 10px 35px rgba(15,23,42,.08);

}

/* ==========================================
   Mobile Menu
========================================== */

@media(max-width:1024px){

    .tvh-navigation{

        position:fixed;

        top:84px;

        left:-100%;

        width:320px;

        height:calc(100vh - 84px);

        background:#ffffff;

        padding:30px;

        transition:.35s;

        box-shadow:15px 0 40px rgba(0,0,0,.08);

        display:block;

        overflow-y:auto;

    }

    .tvh-navigation.tvh-open{

        left:0;

    }

    .tvh-nav{

        flex-direction:column;

        align-items:flex-start;

        gap:22px;

    }

}

body.tvh-menu-open{

    overflow:hidden;

}