/* ==========================================================
   IDEYFINDHOUSE NAVBAR
========================================================== */

/* ---------- Header ---------- */

.site-header{

    position:sticky;

    top:0;

    left:0;

    width:100%;

    z-index:1050;

}

/* ---------- Navbar ---------- */

.site-navbar{

    background:#ffffff;

    min-height:76px;

    border-bottom:1px solid #edf0f2;

    transition:

        background .25s ease,

        box-shadow .25s ease,

        min-height .25s ease;

}

/* Added by navbar.js after scrolling */

.site-navbar.scrolled{

    min-height:68px;

    box-shadow:

        0 10px 28px rgba(0,0,0,.08);

}

/* ---------- Logo ---------- */

.site-logo{

    display:flex;

    align-items:center;

    gap:12px;

    text-decoration:none;

}

.logo-image{

    width:46px;

    height:46px;

    object-fit:contain;

}

.logo-text{

    font-size:24px;

    font-weight:700;

    color:#198754;

    line-height:1;

}

/* ---------- Navigation ---------- */

.navbar-nav{

    gap:8px;

}

.nav-link{

    color:#495057 !important;

    font-size:15px;

    font-weight:600;

    padding:10px 16px !important;

    border-radius:10px;

    transition:.25s;

}

.nav-link:hover{

    color:#198754 !important;

    background:#eef8f2;

}

.nav-link.active{

    color:#198754 !important;

    background:#eef8f2;

}

/* ---------- Right Side ---------- */

.navbar-actions{

    display:flex;

    align-items:center;

    gap:12px;

    margin-left:20px;

}

/* ---------- Icon Buttons ---------- */

.nav-icon-btn{

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    position:relative;

    border-radius:50%;

    background:#f8f9fa;

    color:#495057;

    text-decoration:none;

    transition:.25s;

    border:none;

}

.nav-icon-btn:hover{

    background:#198754;

    color:#ffffff;

}

/* ---------- Icons ---------- */

.nav-icon-btn i{

    font-size:18px;

}

/* ---------- Notification Badge ---------- */

.notification-badge{

    position:absolute;

    top:-3px;

    right:-3px;

    min-width:18px;

    height:18px;

    border-radius:50%;

    background:#dc3545;

    color:#ffffff;

    font-size:11px;

    font-weight:700;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:0 4px;

}

/* ---------- Upload Button ---------- */

.upload-btn{

    border-radius:12px;

    padding:11px 18px;

    font-weight:600;

    white-space:nowrap;

}

/* ---------- Login Button ---------- */

.navbar-actions .btn-outline-success{

    border-radius:12px;

    padding:11px 18px;

    font-weight:600;

}

/* ==========================================================
   SEARCH OVERLAY
========================================================== */

.navbar-search-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    display:none;

    align-items:flex-start;

    justify-content:center;

    padding-top:100px;

    z-index:1200;

}

.navbar-search-overlay.active{

    display:flex;

}

.navbar-search-box{

    width:90%;

    max-width:760px;

    background:#ffffff;

    border-radius:18px;

    padding:18px;

    box-shadow:

        0 20px 60px rgba(0,0,0,.18);

}

.navbar-search-box form{

    display:flex;

    gap:12px;

}

.navbar-search-box input{

    flex:1;

    height:56px;

    border:1px solid #d9dee5;

    border-radius:14px;

    padding:0 18px;

    outline:none;

    font-size:16px;

}

.navbar-search-box input:focus{

    border-color:#198754;

    box-shadow:

        0 0 0 4px rgba(25,135,84,.12);

}

.navbar-search-box button{

    width:58px;

    border:none;

    border-radius:14px;

    background:#198754;

    color:#ffffff;

    transition:.25s;

}

.navbar-search-box button:hover{

    background:#157347;

}

/* ==========================================================
   HAMBURGER
========================================================== */

.navbar-toggler{

    border:none;

    box-shadow:none !important;

}

/* ==========================================================
   @media query 
========================================================== */
@media (max-width:1199px){

    .desktop-navbar{

        display:none;

    }

}

@media (min-width:1200px){

    .navbar-toggler{

        display:none;

    }

}





/* ==========================================
   OFF CANVAS
========================================== */

.desktop-navbar{

    display:flex;

    flex:1;

    align-items:center;

}

.mobile-drawer{

    position:fixed;

    top:0;

    left:-320px;

    width:300px;

    max-width:90vw;

    height:100vh;

    background:#fff;

    z-index:1300;

    transition:left .3s ease;

    display:flex;

    flex-direction:column;

    box-shadow:0 0 40px rgba(0,0,0,.15);

}

.mobile-drawer.open{

    left:0;

}

.drawer-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:1290;

}

.drawer-overlay.show{

    opacity:1;

    visibility:visible;

}

.drawer-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px;

    border-bottom:1px solid #eee;

}

.drawer-logo{

    height:40px;

}

.drawer-close{

    border:none;

    background:none;

    font-size:34px;

    cursor:pointer;

    color:#555;

}

.drawer-search{

    padding:18px;

}

.drawer-search input{

    width:100%;

    height:46px;

    border:1px solid #ddd;

    border-radius:10px;

    padding:0 15px;

}

.drawer-nav{

    display:flex;

    flex-direction:column;

}

.drawer-nav a{

    padding:16px 22px;

    text-decoration:none;

    color:#333;

    font-weight:600;

    border-bottom:1px solid #f1f1f1;

    transition:.2s;

}

.drawer-nav a:hover{

    background:#eef8f2;

    color:#198754;

}

.drawer-footer{

    margin-top:auto;

    padding:20px;

}

/* ==========================================
   BODY LOCK
========================================== */

body.drawer-open{

    overflow:hidden;

}

/* ==========================================
   HAMBURGER
========================================== */

.navbar-toggler{

    width:48px;

    height:48px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:5px;

    padding:0;

    background:none;

    border:none;

    cursor:pointer;

}

.navbar-toggler span{

    width:24px;

    height:2px;

    background:#222;

    transition:.3s;

    border-radius:2px;

}

.navbar-toggler.active span:nth-child(1){

    transform:translateY(7px) rotate(45deg);

}

.navbar-toggler.active span:nth-child(2){

    opacity:0;

}

.navbar-toggler.active span:nth-child(3){

    transform:translateY(-7px) rotate(-45deg);

}
