/* common */
body {
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  color: #fff;
  background-color: #0d0d0d;
}

:root {
  --white-color: #f1f1f1;
  --black-color: #111;
  --black-color2: #333;
  --gray-color: #999;
  --grar-color2:#777;
}

.container {
  width:100%;
  max-width:1440px;
  margin:0 auto;
  padding:0 20px;
  box-sizing: border-box;
}

html,
body{
    overflow-x:hidden;
}


.technical-sec,
.function-sec,
.product-sec{
    overflow:hidden;
}

html {
  scroll-behavior: smooth;
}

#kvSec,
#optionSec,
#technical-sec,
#function-sec,
#interior-sec,
#commercial-sec,
#product-sec,
#form-sec,
#faq-sec,
#spec-sec {
  scroll-margin-top: 80px;
}






/* header */
.header{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:90px;
  background:#111;
  z-index:9999;
  font-size: 1.15rem;
}

.header-container{
  height:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.gnb{
  display:flex;
  align-items:center;
  gap:4rem;
}

.gnb ul{
  display:flex;
  gap:4rem;
}

.preorder-btn{
  width:100%;
  height:40px;
  padding: 20px;
  display:flex;
  justify-content:center;
  align-items:center;
  border:1px solid #fff;
}


/* ============== 반응형 ============= */

/* 태블릿 */
@media (max-width: 1024px) {
  .container {
    max-width: 984px;
  }

  .header{
    height: auto;
  }

  .header-container {
    height: 3.5rem;
    font-size: 1rem;
  }

  .logo img{
    width: 80%;
  }

  .gnb ul{
  display:flex;
  gap:2.5rem;
  font-size: 1rem;
 }

  .header-btn {
    width: 6.875rem;
    height: 2rem;
  }
}



/* 모바일 */
@media (max-width: 767px) {

.header {
  height: auto;
}

.logo img {
  width: 70%;
}

.menu-btn{
  width:40px;
  height:40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:6px;
  background:none;
  cursor:pointer;
  z-index:10001;
}

.menu-btn span{
  width:22px;
  height:2px;
  background:#fff;
  transition:.3s;
}

.gnb{
  position:fixed;
  top: 50px; 
  right:0;
  width: 50%;
  height: 100%;
  background:#111;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:flex-end;
  padding: 0 20px;
  padding-top:60px;
  transform:translateX(100%);
  transition:.4s;
}

.gnb ul{
  display:flex;
  flex-direction:column;
  gap: 20px;
  text-align:right;
}

.gnb.active{
  transform:translateX(0);
}

.gnb a{
  color:#fff;
  font-size:16px;
  font-weight:300;
}

.preorder-btn{
  width:100%;
  height:40px;
  display:flex;
  justify-content:center;
  align-items:center;
  border:1px solid #fff;
}
}




/* ==================================== */




/* footer */

.footer {
  width: 100%;
  padding: 1rem 0;
  background: #000;
  color: #fff;
}

.footer-container {
  width: 100%;
  height: 100%;
}

.footer-content {
  min-height: 100px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

/* 왼쪽 회사 정보 */
.footer-info {
  min-width: 0;
}

.footer-logo img{
  width: 100px;
  margin-bottom: 10px;
}

.footer-info address,
.footer-contact {
  margin: 0;
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.7;
  color: #666;
  word-break: keep-all;
}

/* 하단 메뉴 */
.footer-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-top: 1.25rem;
  padding: 0;
}

.footer-menu a {
  font-size: 0.95rem;
  color: #666;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #fff;
}

.footer-copy{
  margin-top:1rem;
  padding-top:1rem;
  border-top:1px solid rgba(255,255,255,.08);
  text-align:center;
  font-size:0.95rem;
  color:#666;
}

/* SNS */
.footer-sns {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0;
}

.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 1.25rem;
  height: 1.25rem;

  opacity: 0.75;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.footer-sns a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-sns img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* ============== 반응형 ============= */
/* 태블릿 */
@media (max-width: 1024px) {

.footer {
    padding: 1em 0;
  }

  .footer-content {
    min-height: 135px;
    gap: 1rem;
    font-size: 0.85rem;
  }

}


/* 모바일 */
@media (max-width: 767px) {

  .footer {
    padding: 1rem 0;
  }

  .footer-content {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100px;
    gap: 1rem;
    font-size: 0.75rem;
  }

  .footer-contact{
    margin-top: 1rem;
  }

  .footer-sns img{
    width: 15px;
  }
  
  .footer-menu {
    display: none;
  }

  .footer-info address{
    display: none;
  }

}
