@charset "UTF-8";

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

header {
  color: #2c2c2c;
  padding: 10px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: fixed;
  z-index: 300;
  width: 100%;
}

header.fix {
  background: #fff;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  width: 260px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: #0066cc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c2c2c;
}

.logo p {
  font-size: 0.85rem;
  color: #666;
  margin-top: 2px;
}

nav {
  display: flex;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  display: block;
  color: #495057;
  text-decoration: none;
  padding: 18px 32px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #0066cc;
  background: #e7f1ff;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #0066cc;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 60%;
}

.auth-buttons {
  display: flex;
  align-items: center;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: #0066cc;
  color: white;
}

.btn-primary:hover {
  background: #0052a3;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #495057;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu ul li {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu ul li:last-child {
  border-bottom: none;
}

.mobile-menu ul a {
  display: block;
  padding: 16px 20px;
  color: #495057;
  text-decoration: none;
  font-weight: 500;
}

.mobile-menu ul a:hover,
.mobile-menu ul a.active {
  background: #e7f1ff;
  color: #0066cc;
}

.mobile-auth {
  padding: 20px;
  border-top: 1px solid #f0f0f0;
}

.mobile-auth .btn {
  width: 100%;
  text-align: center;
}
/*quick 시작*/
.quick {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
}

.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 {
  text-align: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #333;
  margin-top: 6px;
  color: #fff;
}

/*quick 끝//*/

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

.m-block {
  display: none;
}

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

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
@media (max-width: 1000px) {
  header.header {
    width: 100%;
  }

  label[for="hamburger"] div {
    display: block;
  }

  nav {
    position: absolute;
    left: -300px;
    top: 0;
    z-index: 999;
    width: 270px;
    height: 100vh;
    background: rgba(255, 255, 255);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 0 2rem;
    transition: 0.2s;
    box-shadow: 2px 0 20px 0 rgba(0, 0, 0, 0.15);
  }

  nav .logo {
    display: block;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding-top: 1rem;
  }

  nav .logo img {
  }

  nav ul {
    display: block;
    padding: 0px;
    padding-top: 60px;
  }

  nav ul li {
    border-bottom: 1px solid #ddd;
  }

  nav ul li.drop {
    background: url(../img/m_arrow.png) no-repeat;
    background-size: 16px;
    background-position-y: 18px;
    background-position-x: right;
    cursor: pointer;
  }

  .arrow_x {
    background-image: url(../img/m_arrow_X.png) !important;
  }

  nav ul li a {
    color: #333 !important;
  }

  nav ul li > a {
    display: block;
    font-size: 18px;
    padding: 14px 0px;
  }

  nav ul li.drop > a {
    pointer-events: none;
  }

  div.toggle {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  div.toggle_m {
    background: #eeeeee;
    display: none;
  }

  .hamburger {
    display: block;
  }

  input[id="hamburger"]:checked ~ nav {
    left: 0;
  }
}

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

/*******************************************************************************************************************************
 *** 푸터
*******************************************************************************************************************************/
/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer p {
  margin: 5px 0;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(141, 141, 141, 0.2);
}

.footer-section h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-section p,
.footer-section div {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.footer-section em {
  font-size: 20px;
  font-weight: 700;
}

.footer [data-lucide] {
  width: 15px !important;
  height: 15px !important;
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  padding: 0 10px;
  border-right: 1px solid rgba(66, 62, 62, 0.3);
}

.footer-links a:last-child {
  border-right: none;
}

.footer-links a:hover {
}

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/
@media (max-width: 768px) {
  header {
    padding: 10px;
  }

  header .logo {
    width: 220px;
  }
  .nav-container {
    padding: 0 15px;
  }

  nav {
    display: none;
  }

  .auth-buttons {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .logo p {
    font-size: 0.8rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-content {
    padding: 0 20px;
  }

  .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 모바일 이미지 사이즈 조정 끝**/
}
