.header {
padding: 20px 0;
}
.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
}
.header-logo img {
display: block;
max-width: 240px;
}
.header-nav {
display: flex;
align-items: center;
gap: 20px;
}
.header-nav a {
position: relative;
color: #000;
text-decoration: none;
font-size: 16px;
font-weight: 500;
transition: color 0.3s ease-in-out;
}
.header-nav a:hover {
color: #abb57e;
}
.header-nav a:hover::after {
content: '';
position: absolute;
right: 0;
bottom: -4px;
width: 100%;
height: 2px;
background-color: #abb57e;
transition: 0.3s ease-in-out;
}
.header-social-nav {
display: flex;
align-items: center;
gap: 10px;
}
.header-menu-btn {
display: none;
}
.offcanvas-menu {
position: fixed;
top: 0;
right: 0;
height: 100vh;
width: 100%;
max-width: 360px;
background: #fff;
box-shadow: -8px 0 24px rgba(0,0,0,0.15);
transform: translateX(100%);
transition: transform 0.35s ease;
z-index: 1000;
padding: 24px;
}
.offcanvas-menu.is-open {
transform: translateX(0);
}
.offcanvas-close {
position: absolute;
top: 8px;
left: 8px;
background: transparent;
border: 0;
font-size: 32px;
line-height: 1;
cursor: pointer;
}
.offcanvas-nav {
display: flex;
flex-direction: column;
gap: 16px;
margin-top: 40px;
}
.offcanvas-nav a {
color: #000;
text-decoration: none;
font-size: 18px;
}
.offcanvas-menu__social-block {
margin-top: 40px;
display: flex;
flex-direction: column;
}
.offcanvas-menu__social-block h3 {
font-size: 18px;
font-weight: bold;
color: #000;
margin-bottom: 16px;
}
.offcanvas-social-nav {
display: flex;
align-items: center;
gap: 16px;
}
@media screen and (max-width: 1200px) {
.header-social-nav {
display: none;
}
}
@media screen and (max-width: 992px) {
.header-nav {
display: none;
}
.header-menu-btn {
padding: 8px;
display: flex;
align-items: center;
justify-content: center;
background: #abb57e;
border: none;
border-radius: 5px;
cursor: pointer;
color: #fff;
font-size: 16px;
font-weight: 500;
}
}