@charset "UTF-8";

@import url(reset.css);
@import url(font.css);

.centerbox {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

body {
  font-family: "HeirofLightRegular" "HeirofLightBold";
  overflow-x: hidden;
}

html {
  font-size: 10px;
}

/* PC/모바일 네비게이션 */
.pc {display: block;}
.mo {display: none;}


header {
  background: white;
  padding: 20px 0 20px;
  text-align: center;
  position: relative;
}

header .centerbox {
  display: flex;
  justify-content: center;
  align-items: center;
}

header h1 {
  width: 50px;
  margin-right: 234px;
}

header .pc_nav .gnb {
  display: flex;
  justify-content: center;
  border-radius: 80px;
  padding: 8px 8px;
  background: #5D4459;
}

header .pc_nav .gnb li a {
  font-size: 2rem;
  padding: 0em 50px;
  display: block;
  color: #E7D899;
  font-family: "Pretendard-SemiBold";
}

.lang-switch{
  position: absolute;
  right: 24px;
  top: 18px;
  display: inline-flex;
  gap: 4px;
  background: #5D4459;
  padding: 4px;
  border-radius: 999px;
}

.lang-switch button{
  border: 0;
  background: transparent;
  color: #E7D899;
  font-family: "Pretendard-SemiBold";
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"]{
  background: #E7D899;
  color: #5D4459;
}

.hamburger {border: 1px solid #000;position: absolute;width: 40px;height: 40px;left: 20px;top: 10px;}
.hamburger span {position: absolute;width: 20px;height: 2px;background: #000;left: 50%;top: 50%;transform: translate(-50%, -50%); }
.hamburger span::before,
.hamburger span::after {content:"";position: absolute;height: 2px;background: #000;width: 100%;}

.hamburger span::before {width: 70%;top: -7px;}
.hamburger span::after {width: 40%;top: 7px;}

.mo_wrap {position: fixed;width: 100%;height: 100vh;left: 0;top: 0;background:rgba(0, 0, 0, 0.8);z-index: 10;display: none;}
.mo_navbox {width: 50%;height: 100%;background: #fff;}
.mo_navbox .mo_nav {width: 90%;margin: 0 auto;height: calc(100% - 80px);margin: 0 auto;display: flex;align-items: center;}
.mo_navbox .mo_nav .gnb {width: 100%;margin-bottom: 100px;}
.mo_navbox .mo_nav .gnb li {font-size: 18px;text-align: center;border-bottom: 1px solid #ddd;}
.mo_navbox .mo_nav .gnb li a{padding: 30px 0;display: block;}

/* Visual Swiper */
.visual {
  position: relative;
}

.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual .swiper-slide .textbox {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-15vw, -50%);
  color: white;
  font-family: "HeirofLightRegular";
  text-align: center;
  text-shadow: 2px 3px 2px rgba(0, 0, 0, 20);
}

.visual .swiper-slide .textbox strong {
  font-size: 4rem;
}

.visual .swiper-slide .textbox p {
  font-size: 3.5rem;
}

.swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  background: none;
  border: 1px solid #ffffff;
}

.swiper-pagination-bullet-active {
  background: #fff !important;
}

/* Footer */
footer {
  background: #5D4459;
  height: 100px;
  padding: 50px 16px;
  position: relative;
}

footer .centerbox {
  display: flex;
  justify-content: center;
  gap: 150px;
}

footer .centerbox .logo {
  font-size: 40px;
  font-family: "Pyeongchang-Peace";
  font-weight: 700;
}

footer .logo img { height: 48px; width: auto; display: block; }
footer .sns img { width: 28px; height: 28px; display: inline-block; }

footer .centerbox .content {
  font-size: 15px;
  font-family: "Pretendard-Regular";
  line-height: 1.6;
}

footer .centerbox .content p {
  margin: 0;
  color: #E8D7A4;
}

footer .centerbox .sns a {
  gap: 20px;
}

/* 타로상담 문의 섹션 */
.contact-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

.contact-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 6rem;
}

.contact-header span img {
  width: 64px;
  height: 64px;
}

.contact-header h2 {
  font-size: 5rem;
  font-family: "Pyeongchang-Peace";
  font-weight: 700;
  color: #313236;
  text-align: center;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background: #fff;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid #E7D899;
  position: relative;
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #cc79e6, #6a58ff);
  z-index: -1;
  transform: translate(8px, 8px);
  opacity: 0.1;
}

.info-card h3 {
  font-size: 2.4rem;
  font-family: "Pyeongchang-Peace";
  font-weight: 700;
  color: #5D4459;
  margin-bottom: 1.5rem;
}

.info-card p {
  font-size: 1.6rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.info-card ul {
  list-style: none;
  padding: 0;
}

.info-card ul li {
  font-size: 1.4rem;
  color: #5D4459;
  margin-bottom: 0.8rem;
  padding-left: 1rem;
}

.consultation-areas {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.area-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 15px;
  border: 2px solid #E7D899;
  min-width: 100px;
  transition: all 0.3s ease;
}

.area-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(93, 68, 89, 0.2);
}

.area-item img {
  width: 40px;
  height: 40px;
}

.area-item span {
  font-size: 1.3rem;
  font-weight: 600;
  color: #5D4459;
}

.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid #E7D899;
  position: relative;
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #cc79e6, #6a58ff);
  z-index: -1;
  transform: translate(8px, 8px);
  opacity: 0.1;
}

.contact-form h3 {
  font-size: 2.4rem;
  font-family: "Pyeongchang-Peace";
  font-weight: 700;
  color: #5D4459;
  margin-bottom: 2rem;
  text-align: center;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: #5D4459;
  margin-bottom: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 2px solid #E7D899;
  border-radius: 10px;
  font-size: 1.4rem;
  font-family: "Pretendard-Regular";
  background: #f8f9fa;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5D4459;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(93, 68, 89, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  background: #5D4459;
  color: #E7D899;
  padding: 1.5rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.6rem;
  font-family: "Pretendard-Bold";
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  background: #4a3647;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(93, 68, 89, 0.3);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.method-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid #E7D899;
  transition: all 0.3s ease;
  position: relative;
}

.method-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #cc79e6, #6a58ff);
  z-index: -1;
  transform: translate(8px, 8px);
  opacity: 0.1;
}

.method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.method-card h4 {
  font-size: 2rem;
  font-family: "Pyeongchang-Peace";
  font-weight: 700;
  color: #5D4459;
  margin-bottom: 1rem;
}

.method-card p {
  font-size: 1.4rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.method-btn {
  display: inline-block;
  background: #5D4459;
  color: #E7D899;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.4rem;
  font-family: "Pretendard-Bold";
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.method-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.method-btn:hover::before {
  left: 100%;
}

.method-btn:hover {
  background: #4a3647;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(93, 68, 89, 0.3);
}

/* 반응형 디자인 */
@media screen and (max-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-header h2 {
    font-size: 4rem;
  }
}

@media screen and (max-width: 768px) {
  .contact-section {
    padding: 4rem 0;
  }
  
  .contact-header {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 4rem;
  }
  
  .contact-header h2 {
    font-size: 3rem;
  }
  
  .contact-header span img {
    width: 48px;
    height: 48px;
  }
  
  .info-card,
  .contact-form {
    padding: 2rem;
  }
  
  .consultation-areas {
    justify-content: center;
  }
  
  .method-card {
    padding: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .centerbox {
    padding: 0 20px;
  }
  
  .contact-header h2 {
    font-size: 2.5rem;
  }
  
  .info-card h3,
  .contact-form h3 {
    font-size: 2rem;
  }
  
  .method-card h4 {
    font-size: 1.8rem;
  }
}

/* 모바일 네비게이션 */
@media screen and (max-width: 990px) {
  .pc {display: none;}
  .mo {display: block;}
  
  header {height: 60px;}
  header h1 {position: absolute;left: 50%;
  top: 18px; transform: translateX(-50%);}
  
  .mo_wrap {position: fixed;width: 100%;height: 100vh;left: 0;top: 0;background:rgba(0, 0, 0, 0.8);z-index: 10;display: none;}
  .mo_navbox {width: 50%;height: 100%;background: #fff;}
  .mo_navbox .mo_nav {width: 90%;margin: 0 auto;height: calc(100% - 80px);margin: 0 auto;display: flex;align-items: center;}
  .mo_navbox .mo_nav .gnb {width: 100%;margin-bottom: 100px;}
  .mo_navbox .mo_nav .gnb li {font-size: 18px;text-align: center;border-bottom: 1px solid #ddd;}
  .mo_navbox .mo_nav .gnb li a{padding: 30px 0;display: block;}

  .hamburger {border: 1px solid #000;position: absolute;width: 40px;height: 40px;left: 20px;top: 10px;}
  .hamburger span {position: absolute;width: 20px;height: 2px;background: #000;left: 50%;top: 50%;transform: translate(-50%, -50%); }
  .hamburger span::before,
  .hamburger span::after {content:"";position: absolute;height: 2px;background: #000;width: 100%;}

  .hamburger span::before {width: 70%;top: -7px;}
  .hamburger span::after {width: 40%;top: 7px;}

  .visual .swiper-slide .textbox strong {
    font-size: 2.5rem;
  }

  .visual .swiper-slide .textbox p {
    font-size: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-header h2 {
    font-size: 3rem;
  }
}