#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #222;
    display: flex;
    align-items: center;
}
#header-placeholder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #222;
}
.hero-header{
    width: 100%;
    min-height: 100vh;
    background: #222;
}
.wrapper{
    width: 1280px;
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center; 
    background-color: #222;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 80px;
    padding: 0;
    z-index: 10;
    background-color: #222 !important; 
    position: relative;
}

.logo .logo-text{
    font-size: 24px;   
    font-weight: 500;
    color: #fff;
    transition: 0.5s; 
    padding-left: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;    
  transition: 0.5s;
}

/* text hover glow */
.logo-link:hover .logo-text {
    color: #fff; /* text glow */
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px #89F336; /* green glow */
}

nav .togglebtn{
   width: 35px;
   height: 35px;
   z-index: 5;
   cursor: pointer;
   display: none;
   position: relative;
}
nav .togglebtn span{
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 3px;
    background-color: #89F336;
    transition: 0.5s;
    transform-origin: center;
    transform: translateX(-50%);
}
/* hover glow effect */
nav .togglebtn:hover span {
    box-shadow:
        0 0 5px #fff,
        0 0 10px #89F336,
        0 0 20px #89F336,
        0 0 40px #89F336;
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
nav .navlinks{
    list-style-type: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
}
nav .navlinks li{
    display: flex;
}
nav .navlinks li a{
    padding-left: 20px;
    color: #e5e5e5;
    margin: 0;
    position: relative;
    text-decoration: none;
    transition: 0.5s; 
}
/* hover text glow effect */
nav .navlinks li a:hover {
    color: #fff;  
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px #89F336;
}
/* 햄버거 3줄 배치 */
nav .togglebtn span:nth-child(1) { transform: translate(-50%, -8px); }
nav .togglebtn span:nth-child(2) { transform: translate(-50%, 0); }
nav .togglebtn span:nth-child(3) { transform: translate(-50%, 8px); }

/* 클릭 시 X 모양으로 변형 */
.togglebtn.click span:nth-child(1) {
    transform: translate(-50%, 0) rotate(45deg);
}
.togglebtn.click span:nth-child(2) {
    opacity: 0;
}
.togglebtn.click span:nth-child(3) {
    transform: translate(-50%, 0) rotate(-45deg);
}

/* small screen - toggle, menu slid */
@media (max-width: 930px) {

    nav .togglebtn {
        display: block; /* show in the small screen */
    }
    nav .navlinks {
        position: fixed;
        top: 68px; /* down as much header height */
        right: -100%;
        width: 50%;
        height: calc(100vh - 68px);
        background-color: #222;
        flex-direction: column;

        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: right 0.5s ease;
        text-align: center;
    }
    nav .navlinks.open {
        right: 0;
    }
    nav .navlinks li {
        display: block;
        margin-bottom: 15px;
        width: 100%;
    }
    nav .navlinks li a {
        margin-right: 0;
        font-size: 18px;
        padding-left: 20px;
        display: block;
        width: 100%;
        text-align: center;
    }
}
