*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f7fa;
}
/* Header */
.site-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:25px;

    padding:12px 25px;

    background:#cdf9f6;

    border-bottom:1px solid #dcdcdc;

    box-shadow:0 2px 8px rgba(0,0,0,.08);
}
.brand{

    display:flex;

    align-items:center;

    gap:18px;
}
.brand-link{
    display:flex;
    align-items:center;
    gap:18px;
    text-decoration:none;
}
.brand-logo img {
    height: 60px;
    display: block;

    border-radius: 10px;

    border: 1px solid #d9d9d9;

    padding: 1px;

    background: #fff;

    box-shadow: 0 2px 6px rgba(0,0,0,0.12);

    transition: all 0.3s ease;
}

.brand-logo img:hover {
    transform: scale(1.05);

    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.brand-name img{

    height:48px;

    display:block;
	border-radius: 10px;

    border: 1px solid #d9d9d9;

    padding: 1px;

    background: #fff;

    box-shadow: 0 2px 6px rgba(0,0,0,0.12);

    transition: all 0.3s ease;
}
.brand-name img:hover {
    transform: scale(1.05);

    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.site-search{

    flex:1;

    max-width:450px;
}
.site-search form{

    display:flex;

    gap:8px;
}
.search-input{

    flex:1;

    padding:10px 14px;

    border:1px solid #cccccc;

    border-radius:6px;

    font-size:14px;
}
.search-button{

    padding:10px 14px;

    border:none;

    background:#2c7be5;

    color:white;

    border-radius:6px;

    cursor:pointer;

    transition:.3s;
}

.search-button:hover{

    background:#1d5fbf;
}
.main-navigation{

    margin-left:auto;

    position:relative;
}
/* Desktop */
.menu{
    display:flex;
    gap:5px;
	margin-top:25px;
}

.menu-toggle{
    display:none;
	align-items:center;

    justify-content:center;

    width:44px;

    height:44px;

    font-size:32px;

    font-weight:bold;

    line-height:1;

    background:#cdf9f6;

    color:#99BAB8;

    border:none;

    border-radius:6px;

    cursor:pointer;
}

.menu-drawer{
    display:none;
}
.menu a{

    text-decoration:none;

    color:#333;

    font-weight:600;

    padding:8px 12px;

    border-radius:5px;

    transition:.3s;
}
.menu a:hover{

    background:#2c7be5;

    color:white;
}

.menu-toggle:hover{

    background:#444;
}
.user-menu{

    display:flex;

    align-items:center;

    gap:10px;
}
.login-btn{

    text-decoration:none;

    padding:8px 12px;

    background:#28a745;

    color:white;

    border-radius:6px;

    font-weight:bold;

    transition:.3s;
}

.login-btn:hover{

    background:#208637;
}
/* Drawer */

.menu-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:9998;
}

.menu-overlay.active{

    opacity:1;

    visibility:visible;
}

.menu-drawer{
	display:none;
    position:fixed;

    top:0;

    right:-280px;

    width:260px;

    height:100vh;

    background:#ffffff;

    box-shadow:-4px 0 18px rgba(0,0,0,.25);

    transition:right .35s ease;

    z-index:9999;

    padding:20px;
}

.menu-drawer.active{

    right:0;
}

.close-menu{

    width:40px;

    height:40px;

    margin-bottom:20px;

    border:none;

    background:#222;

    color:#fff;

    border-radius:6px;

    font-size:22px;

    cursor:pointer;
}

.drawer-menu{

    list-style:none;

    padding:0;

    margin:0;
}

.drawer-menu li{

    border-bottom:1px solid #eee;
}

.drawer-menu a{

    display:block;

    padding:16px 6px;

    color:#333;

    font-size:17px;

    font-weight:600;

    text-decoration:none;
}

.drawer-menu a:hover{

    background:#f3f3f3;

    color:#2C7BE5;
}

.menu-drawer{

    display:none;
}

.menu{

    display:flex;
}
/* =====================================================
   TABLETS
===================================================== */

@media screen and (max-width:900px){

    .site-header{
        gap:18px;
        padding:10px 18px;
    }

    .brand{
        gap:12px;
    }

    .brand-logo img{
        height:52px;
    }

    .brand-name img{
        height:42px;
    }

    .site-search{
        max-width:320px;
    }

    .search-input{
        padding:8px 10px;
        font-size:13px;
    }

    .search-button{
        padding:8px 12px;
        font-size:13px;
    }

    .menu a{
        padding:6px 8px;
        font-size:13px;
    }

    .login-btn{
        padding:6px 10px;
        font-size:13px;
    }

}

/* =====================================================
   SMALL TABLETS
===================================================== */

@media screen and (max-width:768px){

    .site-header{

        display:flex;
		    justify-content:flex-start;

    align-items:center;
        flex-wrap:wrap;

    }

    /* Logo + Name */

    .brand{

        flex:1 1 auto;
    }

    /* Hamburger always at the right */

    .main-navigation{

        margin-left:auto;
		position:relative;
    }

    .menu{
        display:none;
    }

    .menu-toggle{
        display:flex;
    }

    .menu-drawer{
        display:block;
    }

    /* Search moves to second row */

    .site-search{

    order:3;

    width:100%;

    max-width:100%;

    display:flex;

    justify-content:center;

    margin-top:8px;
		
    }
	.site-search form{

    width:100%;

    max-width:420px;

    display:flex;

    gap:8px;
}

    /* Hide menu initially */

	.menu-drawer{

    display:block;
}


    .user-menu{

        display:none;
    }

}
/* =====================================================
   MOBILE
===================================================== */

@media screen and (max-width:480px){

    .site-header{
        gap:8px;
        padding:6px 8px;
    }

    .brand{
        gap:6px;
    }

    .brand-logo img{
        height:36px;
    }

    .brand-name img{
        height:28px;
    }

    .site-search{
        max-width:170px;
    }

    .search-input{
        padding:5px 6px;
        font-size:11px;
    }

    .search-button{
        padding:5px 8px;
        font-size:11px;
    }

    .menu a{
        padding:4px;
        font-size:11px;
    }

    .login-btn{
        padding:5px 8px;
        font-size:11px;
    }

}