Files
2026-06-11 18:47:38 +09:00

175 lines
3.2 KiB
CSS

/* Trend03 Header Style - Natural & Organic */
#site-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 80px;
background-color: rgba(255, 255, 255, 0.8); /* 반투명 배경 */
backdrop-filter: blur(10px); /* 블러 효과 */
-webkit-backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(0,0,0,0.05);
z-index: 1000;
}
.header-inner {
display: flex;
align-items: center;
justify-content: space-between;
height: 100%;
padding: 0 20px;
}
.header-logo img {
height: 35px;
width: auto;
}
.header-gnb ul {
display: flex;
gap: 40px;
margin: 0;
padding: 0;
list-style: none;
}
.header-gnb a {
text-decoration: none;
color: #5a5a5a;
font-weight: 600;
font-size: 1rem;
transition: color 0.3s;
}
.header-gnb a:hover {
color: #8d9c76; /* 강조 색상 */
}
.header-utils ul {
display: flex;
align-items: center;
gap: 25px;
margin: 0;
padding: 0;
list-style: none;
}
.header-utils a {
text-decoration: none;
color: #777;
font-size: 0.9rem;
}
.header-utils a.cart-icon {
padding: 8px 15px;
border: 1px solid #ddd;
border-radius: 20px;
transition: all 0.3s;
}
.header-utils a.cart-icon:hover {
background-color: #8d9c76;
color: #fff;
border-color: #8d9c76;
}
/* 모바일 메뉴 */
.mobile-menu-trigger,
.mobile-menu-panel {
display: none;
}
@media (max-width: 1024px) {
.header-gnb,
.header-utils {
display: none;
}
.mobile-menu-trigger {
display: flex;
flex-direction: column;
justify-content: space-around;
width: 30px;
height: 25px;
background: transparent;
border: none;
cursor: pointer;
padding: 0;
}
.mobile-menu-trigger span {
display: block;
width: 100%;
height: 2px;
background-color: #5a5a5a;
}
.mobile-menu-panel {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #fdfbf7;
transform: translateY(-100%);
transition: transform 0.4s ease;
padding: 40px;
z-index: 1100;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.mobile-menu-panel.active {
transform: translateY(0);
}
.mobile-menu-header {
position: absolute;
top: 20px;
right: 20px;
}
.mobile-menu-close {
font-size: 2.5rem;
color: #5a5a5a;
background: none;
border: none;
cursor: pointer;
}
.mobile-gnb ul {
flex-direction: column;
gap: 30px;
padding: 0;
list-style: none;
text-align: center;
}
.mobile-gnb a {
font-size: 1.8rem;
color: #5a5a5a;
text-decoration: none;
font-weight: 600;
}
.mobile-utils {
margin-top: 50px;
}
.mobile-utils ul {
display: flex;
gap: 20px;
list-style: none;
padding: 0;
}
.mobile-utils a {
color: #777;
text-decoration: none;
font-size: 1rem;
}
}