/* header */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(38, 38, 38, 0);
  transition: background 0.3s ease-in-out; 
  z-index: 1000;
    border-bottom: 1px solid #f2f2f2;

  transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.header-inner {
  max-width:1600px;
  margin:0 auto;        
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#fff;
}
.header .logo-color {
  display: none;
}

.header.hide {
  transform: translateY(-100%);
}





/* .header:hover {
  background: rgba(38, 38, 38, 1) !important;
} */
.header.scrolled .logo-white {display: none;}
.header.scrolled .logo-color {display: block;}
.header.scrolled { background: #fff; border: none; 
border-bottom: 1px solid #ccc;}
.header.scrolled .gnb a { color: #262626; }
.header.scrolled .dropdown { border: 1px solid #262626;}
.header.scrolled .dropbtn {color: #262626;}
.header.scrolled .hamburger { background: #262626; }
.header.scrolled .hamburger span { background: #fff; }

.header .gnb {transition: opacity 0.3s ease-in-out;}
.header .gnb ul {
  display:flex; 
  gap: 20px;
}
.header .gnb .menu { 
  position:relative; 
  height: 90px;
  margin-top: 10px;
    line-height: 100px;
        width: 160px;
    text-align: center;
}
.header .gnb a { 
  color:#fff; 

font-weight: 400;
font-size: 18px;
text-transform: uppercase;
}
.header .gnb .menu:hover .sub-menu {
    background: rgb(51 51 51 / 50%);;
}
.header .gnb .sub-menu {
 position: absolute;
    top: 80px;
    left: 0;
    width: 160px; 
    list-style: none;
    padding: 20px 0 0;
    margin: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    display: block !important; 
}
.header .gnb .menu:hover .sub-menu {
    opacity: 1;
    visibility: visible;
   
}
.header .gnb .sub-menu li {
    line-height: 20px;
    margin-bottom: 20px;
}

.header .gnb li:hover .sub-menu { display:block; }
.header .gnb .sub-menu a {
   color: rgb(255 255 255 / 70%);
   font-size: 14px;
   transition: linear .3s ease;
   font-weight: 300;
 }
.header .gnb .sub-menu a:hover {
  color: #fff;
}
.header .right {
display: none;
}

.header .dropdown-wrapper {
  width: 80px;
    height: 0;
    position: relative;
    transform: translateY(-25px);
}

.header .dropdown {
  position: absolute;
  top: 0;      
  left: 0;
  width: 100%;
  z-index: 100;
  border: 1px solid #fff; 
  border-radius: 30px; 
  transition: all 0.3s ease;
  overflow: hidden; 
}
.header .dropbtn {
  background-color: transparent;
  color: #fff;
  padding: 13px 20px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  font-style: italic;
  display: flex;
    justify-content: center;
    gap: 5px;
    align-items: center;
  width: 100%;
  text-align: center;
      font-family: var(--font-point2);
}

.header .dropdown-content {
  max-height: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.header .dropdown:hover {
  border-radius: 25px;
}

.header .dropdown:hover .dropdown-content {
  max-height: 120px;
  opacity: 1;
}

/* 내부 링크 */
.header .dropdown-content a {
  color: #ffffffb9;
  padding: 10px 0;
  text-decoration: none;
  font-size: 14px;
  display: block;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
      font-family: var(--font-point2);
transition: color 0.3s ease;
}
.header .dropdown-content a:hover {
  color: #fff;
}

.header .hamburger {
    
  width: 50px; height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  
  /* 오버레이(z-index: 2000)보다 위에 있어야 닫기 버튼으로 사용 가능 */
  position: relative;
  z-index: 2001; 
  border: none;
  cursor: pointer;
}


.header .hamburger span {
    background: #00A2FF;
    width: 13px;
    display: block;
    height: 3px;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.header .hamburger span.even {
    width: 20px;
}
.header .hamburger.active span {width: 18px;}
/* 첫 번째 스팬: 회전하며 아래로 이동 */
.header .hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: #00A2FF; /* 오버레이 배경이 어두우니 잘 보이게 조정 필요시 변경 */
}
/* 두 번째(중간) 스팬: 투명하게 숨김 */
.header .hamburger.active span.even {
  opacity: 0;
}
/* 세 번째 스팬: 회전하며 위로 이동 */
.header .hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: #00A2FF;
}
.close {
/*   background:none; 
  border:none; 
  color:#fff; 
  font-size:22px;
  padding-bottom: 3px; 
  cursor:pointer; */

  display: none;
}



.header.active-overlay {
    z-index: 2001 !important; /* 오버레이(2000)보다 높게 설정 */
    background: transparent !important; /* 오버레이 배경이 보이도록 헤더 배경 제거 */
    transform: translateY(0) !important; /* 스크롤로 숨겨진 상태라도 강제로 보이게 함 */
}
.header.active-overlay .header-inner {height: 100px;}
.header.active-overlay .gnb,
.header.active-overlay .dropdown-wrapper,

/* 메뉴가 열렸을 때 로고와 햄버거 버튼 색상 강제 지정 (오버레이가 어두우므로 흰색) */
.header.active-overlay .logo-white { display: block !important; }
.header.active-overlay .logo-color { display: none !important; }

.header.active-overlay .hamburger {
 background: #fff;
}
/* 메뉴가 열렸을 때 햄버거 스팬 색상 및 X자 유지 */
.header.active-overlay .hamburger span {
    background: #00A2FF; 
}


.overlay-menu {
  display: flex;  
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgb(0 0 0 / 80%);
  color: #fff;
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transform: translateY(-100%);
  opacity: 0;
  
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.overlay-menu.active {
  transform: translateY(0);
  opacity: 1;
  
}
.overlay-menu .close {
  position: absolute;
    top: 20px;
    right: 70px;
  background: none;
  border: none;
  color: #fff;
  font-size: 50px;
  cursor: pointer;
}
.overlay-menu > ul { 
  display: flex;
}
.overlay-menu > ul .menu {
  width: 300px;
    border-right: 1px solid rgb(255 255 255 / 50%);
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.overlay-menu > ul .menu:last-child {
    border: 0;
}
.overlay-menu > ul .menu > a {
  font-size: 30px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}
.overlay-menu .sub-menu {
  display: flex;
    flex-direction: column;
    gap: 20px;
}
.overlay-menu .sub-menu li a {
  font-size: 18px;
    color: rgb(255 255 255 / 60%);
    font-weight: 300;
    transition: linear .3s ease;
}
.overlay-menu .sub-menu li a:hover {
  color: #fff;
}
/* header */


/* footer */
.footer {   position: relative; background: #000;}
.footer .footer-inner {

}
.footer .top {
      display: flex;
    flex-direction: column;
    padding: 50px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.footer .top .img-box {
      max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}
.footer .top .img-box a {    display: -webkit-box;
}
.footer .top .img-box img {
    width: auto;
}
.footer .mid {
      color: #fff;
    max-width: 1600px;
    margin: 0 auto;
    padding: 50px 0;
}
.footer .mid ul {
      display: flex;

}
.footer .mid ul li {
      border-left: 2px solid #fff;
    padding-left: 20px;
margin-right: 40px;
}
.footer .mid ul li:last-child {margin-right: 0;}
.footer .mid ul li .info {
  display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 15px;
    letter-spacing: -0.5px;
    font-weight: 200;
    color: #f5f5f5;
}
.footer .mid ul li .info .info-ineer {
      display: flex;
    gap: 20px;
}
.footer .mid ul li .info .info-ineer h4 {
      min-width: 72px;
    text-transform: uppercase;
}
.footer .mid ul li .info .info-ineer p {
  text-transform: uppercase;
}
.footer .mid ul li .info .info-ineer div {
  display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer .bot {
  color: #f5f5f5;
    display: flex;
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
    justify-content: flex-end;
    padding-bottom: 30px;
    font-size: 14px;
}
.footer .bot a {color: #f5f5f5;}
.top-btn {
position: absolute;
    top: -50px;
    right: 5%;
    width: 80px;
    height: 80px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    z-index: 9;
    justify-content: center;
}

/* 화살표 머리만 */
.arrow {
width: 20px;
    height: 20px;
    border-top: 3px solid #333;
    border-left: 3px solid #333;
    transform: rotate(45deg) translateX(3px) translateY(3px);
}



















/* footer */