@charset "UTF-8";

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

header {
  background: #ffffff;
  color: #2c2c2c;
  padding: 20px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
}

.nav-container {
  max-width: 1200px;
  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: 0.95rem;
  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;
  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 끝//*/

/**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: #ececec;
    padding: 0rem;
    transition: 0.2s;
    box-shadow: 2px 0 20px 0 rgba(0, 0, 0, 0.15);
  }

  header nav .logo {
    display: block;
    width: 100% !important;
    height: 78px;
    padding: 0 4rem;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    background: #d4d4d4;
  }

  nav .logo img {
  }

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

  nav ul li a {
    padding: 11px 0px;
    font-size: 18px;
    font-weight: normal;
    color: #000000;
  }

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

  div.toggle_m {
    display: block;
  }

  .hamburger {
    display: block;
  }

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

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

/*******************************************************************************************************************************
 *** 푸터
*******************************************************************************************************************************/
footer {
  width: 100%;
  padding: 60px 0;
  background-color: #f0f0f0;
  color: #333333;
}

footer i {
  display: inline-block;
  padding-bottom: 2rem;
}

footer .flex {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  border-bottom: 1px solid #999;
  padding-bottom: 2rem;
}

.foot_con {
  font-size: 15px;
  line-height: 38px;
  display: flex;
  grid-gap: 70px;
}

.foot_con .icon_text {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  grid-gap: 20px;
}

.foot_con .icon_text img {
  width: 18px;
}

footer .copy {
  padding: 3rem 0 0rem;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
}

footer .logo img {
  filter: grayscale(1) brightness(0.2);
  opacity: 0.33;
  max-width: 250px;
}

footer span {
  padding-right: 10px;
  margin-right: 5px;
  border-right: 1px solid #686868;
}

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/
@media (max-width: 768px) {
  header {
    padding: 10px;
  }
  .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 {
    padding: 30px 0;
  }

  .foot_con {
    font-size: 13px;
    line-height: 30px;
    flex-direction: column;
    grid-gap: 0px;
  }

  footer .copy {
    flex-direction: column;
    grid-gap: 10px;
    align-items: flex-start;
  }

  footer .flex {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 1px solid #999;
    padding-bottom: 2rem;
  }

  footer .logo {
    display: none;
  }

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

  .m-block {
    display: block;
  }

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