/* =====================================================
   CAMPX HOMEPAGE REDESIGN
   HEADER v1
======================================================*/

/* ---------- Global Container ---------- */

.container{
    width:100%;
    max-width:1240px;
    margin:auto;
    padding:0 20px;
}

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

.header{

    background:#fff;
    box-shadow:0 4px 20px rgba(0,0,0,.05);
    position:sticky;
    top:0;
    z-index:999;
}

/* ---------- Top Area ---------- */

.header-top{

    padding:12px 0;
}

.header-top-flex{

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

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

.logo img{

    width:155px;
    height:auto;
    display:block;
}

/* ---------- Search ---------- */

.search{

    flex:1;
    max-width:560px;
    height:48px;
    border-radius:30px;
    overflow:hidden;
    border:1px solid #e5e5e5;
    background:#fff;
}

.search input{

    height:48px;
    border:none;
    font-size:14px;
    padding:0 18px;
}

.search button{

    width:55px;
    border:none;
    background:#ff6b00;
    color:#fff;
    transition:.3s;
}

.search button:hover{

    background:#222;
}

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

.header-right{

    display:flex;
    align-items:center;
    gap:18px;
}

.header-right a{

    font-size:15px;
    font-weight:600;
    color:#222;
    transition:.3s;
}

.header-right a:hover{

    color:#ff6b00;
}

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

.icon-circle{

    width:42px;
    height:42px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
}

.icon-circle:hover{

    background:#ff6b00;
    color:#fff;
}

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

.header-bottom{

    border-top:1px solid #f2f2f2;
    padding:10px 0;
}

.navbar{

    display:flex;
    justify-content:center;
    gap:28px;
}

.navbar a{

    font-size:15px;
    font-weight:500;
    color:#222;
    text-decoration:none;
    padding:10px 18px;
    border-radius:25px;
    transition:.3s;
}

.navbar a:hover,
.navbar a.active{

    background:#ff6b00;
    color:#fff;
}

/* ---------- Responsive ---------- */

@media(max-width:992px){

.header-top-flex{

flex-wrap:wrap;

}

.search{

order:3;

max-width:100%;

width:100%;

}

.navbar{

flex-wrap:wrap;

gap:12px;

}

}

@media(max-width:768px){

.logo img{

width:120px;

}

.navbar{

justify-content:flex-start;
overflow-x:auto;
padding-bottom:5px;

}

.navbar::-webkit-scrollbar{

display:none;

}

.header-right{

gap:10px;

}

}
