@charset "UTF-8";

/*******************************************************************************************************************************
 *** 헤더
*******************************************************************************************************************************/

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 0;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  letter-spacing: 4px;
  font-weight: 500;
  width: 270px;
}

.gnb ul {
  display: flex;
  gap: 40px;
}

.gnb a {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gnb a:hover {
  color: var(--color-accent);
}



.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000;
  position: absolute;
  left: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn span:nth-child(1) {
  top: 0;
}
.mobile-menu-btn span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.mobile-menu-btn span:nth-child(3) {
  bottom: 0;
}

.mobile-menu-btn.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* 모바일 오버레이 메뉴 */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-gnb ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.mobile-gnb a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-text-main);
  text-transform: uppercase;
  letter-spacing: 4px;
  transform: translateY(20px);
  opacity: 0;
  display: block;
  transition: all 0.4s ease;
}

.mobile-menu.active .mobile-gnb a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu.active .mobile-gnb li:nth-child(1) a {
  transition-delay: 0.1s;
}
.mobile-menu.active .mobile-gnb li:nth-child(2) a {
  transition-delay: 0.2s;
}
.mobile-menu.active .mobile-gnb li:nth-child(3) a {
  transition-delay: 0.3s;
}
.mobile-menu.active .mobile-gnb li:nth-child(4) a {
  transition-delay: 0.4s;
}


@media (max-width: 768px) {

  .gnb {
    display: none;
  }
  /* 768px 이하에서 햄버거 버튼 보이기 */
  .mobile-menu-btn {
    display: block;
  }

  .logo {

  width: 220px;
}
 

}

/* 모바일 끝 */

/**PC 모바일 이미지 사이즈 조정 시작**/
.d-block {
  display: block;
}

.m-block {
  display: none;
}

/**PC 모바일 이미지 사이즈 조정 끝**/

/*quick 시작*/
.quick {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  grid-gap: 6px;
}

.quick a.call {
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  display: block;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.quick a.call i {
  font-size: 24px;
  line-height: 50px;
}

.quick button {
  display: block;
  text-align: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #333;
  margin-top: 6px;
  color: #fff;
}

/*quick 끝//*/


/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/

/*******************************************************************************************************************************
 *** 푸터
*******************************************************************************************************************************/

/* Footer */
footer {
  background: #2b2b2b;
  background-repeat: repeat-x;
  color: #cccccc;
  padding: 80px 0 30px;
  text-align: center;
}

footer .content {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-gap: 113px;
}

footer .content p {
  font-size: 15px;
  margin-bottom: 8px;
}

footer .content b {
  display: inline-block;
  font-size: 1.55em;
  color: #fafafa;
  padding-bottom: 11px;
}
/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/
@media (max-width: 768px) {

  footer {
    background-size: 60%;
    padding: 60px 10px 40px;
  }
  footer .content {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }
  .footer-content {
    padding: 0 20px;
  }
  footer .content p {
    font-size: 14.5px;
  }
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    border-right: none;
    padding: 5px 0;
  }

  /* 모바일에서 일부 정보 숨김 */
  .footer-section:nth-child(2),
  .footer-section:nth-child(3) p:not(:first-child):not(:last-child) {
    display: none;
  }

  .footer-section:nth-child(3) {
    text-align: center;
  }

  /**PC 모바일 이미지 사이즈 조정 시작**/
  .d-block {
    display: none;
  }

  .m-block {
    display: block;
  }

  /**PC 모바일 이미지 사이즈 조정 끝**/
}
