
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
}
button, a, img {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;  /* iOS에서 길게 눌러도 메뉴 안 뜨게 (선택 사항) */
  outline: none;
}
button:focus,
a:focus,
img:focus {
  outline: none;
  box-shadow: none;
}
body {
    background-color: #000;
    color: #fff;
    font-family: "Noto Sans KR", sans-serif;
    overflow-x: hidden;
}
a {
  color: inherit;       /* 부모 요소 색상 상속 */
  text-decoration: none; /* 밑줄 제거 */
}

/* 클릭/활성화/방문 링크 색상 유지 */
a:link,
a:visited,
a:hover,
a:active {
  color: inherit;       /* 텍스트 색상 변화 없음 */
  text-decoration: none;
}
section {
    background-color: #000;
}
/* ============================= */
/* 공통 기본 스타일 */
/* ============================= */
header {
 position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  box-sizing: border-box;
  white-space: nowrap; /* 줄바꿈 방지 */
}

header img {
  width: 40px;
  height: auto;
}

header nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 16px;
  transition: color 0.3s;
  font-size: 15px;
}

header nav a:hover {
  color: #ef3c1a;
}

.hamburger {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

/* ============================= */
/* HERO 영역 */
/* ============================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.center_logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center_logo img { 
    width: 80%;
}

.main_btn_wrap {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row; /* 항상 가로 */
    justify-content: center;
    align-items: center;
    gap: 15px;
    z-index: 10;
    white-space: nowrap; /* 줄바꿈 방지 */
}

.hotspot:hover {
  transform: scale(1.05);
}

.main_btn_wrap a img {
    width: 8vw;              
    max-width: 150px;         
    min-width: 90px;         
    height: auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================= */
/* 반응형 구간 */
/* ============================= */

/* 태블릿 이하 (768px) */
@media (max-width: 768px) {
  header {
    padding: 10px 20px;
  }

  header nav {
    display: none; /* 기본 숨김 */
    position: absolute;
    top: 60px;
    right: 20px;
    background: rgba(0,0,0,0.9);
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    border-radius: 8px;
  }

  header nav.active {
    display: flex; /* 클릭 시 표시 */
  }

  .hamburger {
    display: block;
  }
}

/* 아주 작은 모바일 (480px 이하) */
@media (max-width: 480px) {
  header {
    padding: 8px 12px;
  }

  header nav a {
    font-size: 12px;
    margin-left: 8px;
  }
}


/* slide-section (slide) */
.content-section {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 40px 0;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 90%;
  margin: 0 auto;
  overflow: visible;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 33.333%; /* 한 화면에 3개 */
  box-sizing: border-box;
  padding: 10px;
  cursor: pointer;
}

.slide img {
  width: 100%;
  border-radius: 12px;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  background-color: inherit;
  border: none;
}

.prev { left: -3%; }
.next { right: -3%; }


@media (max-width: 768px) {
  .slide {
    flex: 0 0 100%;
  }
}

/* slide-section (slide) */

/* staff-section  */
.staff-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* 각 직원 항목 */
.staff-item {
  width: 100%;
  max-width: 500px;
  border-top: 1px solid #666;
  padding-top: 15px;
  text-align: left;
}

.staff-item:last-child {
  border-bottom: 1px solid #666;
  padding-bottom: 15px;
}

/* 직급 및 이름 */
.staff-item .position {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
}

.staff-item .position .name {
  font-weight: 700;
  margin-left: 5px;
}

/* 연락처 */
.staff-item .contact p {
  font-size: 13px;
  color: #ccc;
  line-height: 1.5;
  margin: 0;
}

/* 반응형 */
@media (max-width: 768px) {
  .staff-item {
    max-width: 90%;
  }
}

#vvip {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;          
    gap: 30px;               
    padding: 40px 20px;      
    text-align: center;      
    box-sizing: border-box;
}

#vvip div {
    flex: 1 1 300px;          
    max-width: 450px;         
}

#vvip img {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 12px;
    display: block;
    margin: 0 auto;          
    cursor: pointer;
}

/* 반응형 - 태블릿 이하 */
@media (max-width: 768px) {
    #vvip {
        gap: 20px;
        padding: 30px 15px;
    }

    #vvip img {
        max-width: 350px;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 480px) {
    #vvip {
        flex-direction: column;   
        align-items: center;
    }

    #vvip div {
        max-width: 90%;
    }

    #vvip img {
        max-width: 100%;
    }
}

#contact {
    margin-bottom: 40px;
}

#contact .main_btn_wrap{
    position: relative;
    bottom: 0;
    left: 0;   
    transform: none;
    margin-top: 50px;
}


.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 900px;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

#modalImage {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 28px;
  cursor: pointer;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 34px;
  text-align: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  user-select: none;
  display: none;
}

.modal-prev { left: 10px; }
.modal-next { right: 10px; }

.modal-nav:hover { color: #ccc; }

.map-wrapper {
  padding: 0 30px;
  aspect-ratio: 16 / 9;   /* 비율 고정 */
  width: min(100%, 900px);
  min-width: 320px;
  min-height: 250px;
  max-height: 600px;
  margin: 0 auto;    
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}