@charset "UTF-8";

.clearfix::after {
  content: "";
  clear: both;
  display: block;
}

:root {
  --primary-gold: #c9a876;
  --secondary-gold: #b8956a;
  --dark-brown: #2c1810;
  --medium-brown: #614829;
  --light-cream: #faf7f2;
  --warm-white: #fefcf8;
  --accent-bronze: #8b6914;
  --shadow-light: rgba(44, 24, 16, 0.1);
  --shadow-medium: rgba(44, 24, 16, 0.2);
  --shadow-heavy: rgba(44, 24, 16, 0.3);
}

/******************** 메인 슬라이드 시작 ********************/

.main {
  position: relative;
}

.slick-slider {
  position: relative;
}

.slick-prev {
  background: url(images/prev.png);
  left: 0;
  z-index: 2;
}

.slick-next {
  background: url(images/next.png);
  right: 0;
}

.slick-dots {
  width: 100%;
  position: absolute;
  bottom: 30px;
  left: 0;
  text-align: center;
}

.slick-dots li {
  display: inline-block;
  font-size: 0;
}

.slick-dots .slick-active button {
  background-color: #222;
}

.slick-dots li + li {
  margin-left: 10px;
}

.slick-dots li button {
  font-size: 0;
  border-radius: 50%;
  background-color: #666;
  opacity: 0.5;
  width: 16px;
  height: 16px;
}

.slide-box {
  position: relative;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  width: 100%;
  margin: auto;
  padding-top: 80px;
}

.slide-box-1 {
  background-size: cover;
  background: url(../img/main_bg.jpg) top center;
  position: relative;
  width: 100%;
  height: 920px;
  animation: main 7s;
  animation-fill-mode: forwards;
}

.text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  width: 100%;
  max-width: 1250px;
  margin: auto;
  padding-bottom: 140px;
}

.slide-box h2 {
  font-size: 55px;
  font-weight: 600;
  line-height: 1.2;
  padding-bottom: 2rem;
}

.slide-box p {
  font-size: 20px;
  padding-bottom: 110px;
  max-width: 50ch;
  opacity: 1;
}

.button a:hover {
  opacity: 0.7;
}

.more {
  display: flex;
  background: #42479f;
  width: 300px;
  height: 75px;
  font-size: 18px;
  justify-content: center;
  align-items: center;
  font-family: "GmarketSansMedium";
  border-radius: 10px;
  color: #fff;
}

/* .slide.align-center .slide-box {
  display: flex;
  align-items: center;
  justify-content: center; 
} */
/******************** 메인 슬라이드 끝// ********************/

/* Luxury Loading Animation */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: all 0.5s ease;
}

.loading-text {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--primary-gold);
  animation: luxuryFloat 2s ease-in-out infinite;
}

/* SEC1 기존 CSS + Hover 효과 */

/* 기존 스타일 유지 */
.sec1 {
  padding: 100px 0;
}

.sec1 ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 40px;
}

.sec1 ul li {
  transition: all 0.5s ease;
  border: 1px solid rgba(201, 168, 118, 0.1);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 10px 40px var(--shadow-light);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.sec1 .img img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: all 0.6s ease;
}

.sec1 .text {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.sec1 .t30 {
  font-family: "MaruBuri-Regular";
  color: var(--medium-brown);
  font-weight: normal;
  letter-spacing: -2px;
  padding-top: 10px;
  transition: all 0.3s ease;
  position: relative;
}

.sec1 .t17 {
  opacity: 0.7;
  padding: 2rem 1rem;
  transition: all 0.3s ease;
}

.sec1 a {
  display: block;
  text-align: center;
  padding: 9px;
  color: var(--accent-bronze);
  background: var(--light-cream);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* === HOVER 효과 추가 === */

/* 카드 전체 호버 */
.sec1 ul li:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-color: rgba(201, 168, 118, 0.3);
}

/* 이미지 오버레이 효과 */
.sec1 .img {
  position: relative;
}

.sec1 .img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(201, 168, 118, 0.2);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 2;
}

.sec1 ul li:hover .img::before {
  opacity: 1;
}

/* 이미지 확대 */
.sec1 ul li:hover .img img {
  transform: scale(1.08);
}

.sec1 ul li:hover .text::before {
  left: 100%;
}

.sec1 ul li:hover .t30::after {
  width: 80%;
}

/* 제목 컬러 변화 */
.sec1 ul li:hover .t30 {
  color: var(--accent-bronze);
}

/* 설명텍스트 투명도 변화 */
.sec1 ul li:hover .t17 {
  opacity: 1;
  transform: translateY(-3px);
}

/* 버튼 호버 효과 */
.sec1 a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s ease;
}

.sec1 a:hover::before {
  left: 100%;
}

.sec1 a:hover {
  background: var(--accent-bronze);
  color: white;
  font-weight: 600;
}

/* 반응형 */
@media (max-width: 768px) {
  .sec1 ul {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }

  .sec1 ul li:hover {
    transform: translateY(-5px);
  }
}
/* Section 2 - Process */
.sec2 {
  padding: 100px 0;
  background: linear-gradient(135deg, #f9f6f2 0%, #f2ede6 100%);
}

.sec2 h2 {
  text-align: center;
  font-size: 2.8rem;
  color: #5a4d3a;
  margin-bottom: 1rem;
  font-weight: 300;
}

.sec2-subtitle {
  text-align: center;
  color: #8b7a65;
  font-size: 1.1rem;
  margin-bottom: 4rem;
}

.process-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.process-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #c4a574 0%, #d4c4b0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 25px rgba(196, 165, 116, 0.3);
}

.process-title {
  font-size: 1.2rem;
  color: #5a4d3a;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.process-desc {
  color: #8b7a65;
  text-align: center;
  max-width: 200px;
}

.process-arrow {
  font-size: 2rem;
  color: #c4a574;
  margin: 0 1rem;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .process-arrow {
    transform: rotate(90deg);
    margin: 1rem 0;
  }

  .process-arrow:nth-child(4) {
    display: none;
  }
}

/* sec3 */
.sec3 {
  padding: 80px 0;
}

.sec3 ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
}

.sec3 ul li {
}

.sec3 ul li h3 {
  font-size: 26px;
  padding: 10px 0;
}

.sec3 ul li p {
  font-size: 20px;
  opacity: 0.6;
}

.sec3 ul li img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.sec3 a {
  color: var(--accent-bronze);
  width: 200px;
  padding: 16px;
  display: block;
  font-size: 19px;
  text-align: center;
  font-family: "MaruBuri-Regular";
  margin: auto;
  box-shadow: 0 5px 20px var(--shadow-light);
  border-radius: 20px;
  margin-top: 3rem;

  /* hover를 위한 추가 속성 */
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  background: transparent;
  text-decoration: none;
  border: 2px solid transparent;
}

/* === HOVER 효과 === */

/* 메인 호버 효과 */
.sec3 a:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  background: var(--light-cream);
}

/* 빛 스캔 효과 */
.sec3 a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s ease;
}

.sec3 a:hover::before {
  left: 100%;
}

.sec3 a:hover::after {
  width: 300px;
  height: 300px;
}

/* 활성 상태 (클릭 시) */
.sec3 a:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* 포커스 상태 (접근성) */
.sec3 a:focus {
  outline: none;
  box-shadow: 0 5px 20px var(--shadow-light), 0 0 0 3px rgba(201, 168, 118, 0.3);
}

/* 반응형 */
@media (max-width: 768px) {
  .sec3 a {
    width: 180px;
    font-size: 17px;
    padding: 14px;
  }

  .sec3 a:hover {
    transform: translateY(-3px);
  }
}

/* sec4 */
.sec4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #ddd;
}
.sec4 .left {
  padding: 140px 160px;
}
.sec4 .right {
  background: url(../img/sec4_bg.jpg) center;
}
.sec4 .box_1 {
  display: flex;
  justify-content: space-around;
  padding: 40px;
  background: var(--light-cream);
}
.sec4 .box_2 {
  padding: 18px 46px;
  display: flex;
  justify-content: space-around;
  background: #696867;
  color: #fff;
}

.sec4 .box_1 a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  grid-gap: 10px;
  font-size: 18px;
}

.sec4 .t40 {
  font-family: "MaruBuri-Regular";
}
.sec4 .t19 {
  padding: 3rem 0;
}

/* 공통텍스트 */

.t50 {
  font-size: 50px;
  line-height: 1.2;
  font-weight: 700;
}
.t40 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 500;
}

.t35 {
  font-size: 35px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -2px;
}

.t30 {
  font-size: 30px;
  line-height: 1.23;
  font-weight: 500;
  letter-spacing: -1px;
}

.t25 {
  font-size: 25px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -1px;
}

.t b {
  color: #488a61;
}

.t19 {
  font-size: 18px;
  line-height: 1.6;
}

.t17 {
  font-size: 17px;
  line-height: 1.6;
}

.t15 {
  font-size: 15px;
  line-height: 1.65;
}

.t_b {
  display: inline-block;
  border: 1px solid;
  padding: 15px 45px;
  margin-top: 3rem;
}

.t_b:hover {
  color: #47adad;
}

/**m_tit 시작**/
.m_tit {
  text-align: center;
  margin-bottom: 5rem;
}

.m_tit p {
  font-size: 19px;
  line-height: 1.5;
  color: var(--dark-brown);
  padding-top: 1rem;
  font-weight: 300;
}

.m_tit h3 {
  font-size: 37px;
  line-height: 1.2;
  font-weight: normal;
  letter-spacing: -3px;
  font-family: "MaruBuri-Regular";
  color: var(--dark-brown);
}

.m_tit h2 b {
  font-weight: 900;
}

/**m_tit 끝//**/

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
@media (max-width: 1000px) {
  /* 공통 */

  .t50 {
    font-size: 38px;
  }
  .t40 {
    font-size: 32px;
  }

  .t35 {
    font-size: 27px;
  }

  .t30 {
    font-size: 25px;
  }

  .t25 {
    font-size: 22px;
  }

  .t b {
    color: #488a61;
  }

  .t19 {
    font-size: 16px;
    line-height: 1.6;
  }

  .t17 {
    font-size: 16px;
    line-height: 1.6;
  }

  .t15 {
    font-size: 14px;
    line-height: 1.65;
  }

  /**m_tit 시작**/
  .m_tit {
    text-align: center;
    margin-bottom: 3rem;
  }

  .m_tit p {
    font-size: 18px;
    line-height: 1.5;
    color: #4d4d4d;
    padding-bottom: 16px;
  }

  .m_tit h2 {
    font-size: 36px;
    line-height: 170%;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -2px;
    padding-bottom: 1rem;
    position: relative;
    z-index: 2;
  }

  .m_tit h3 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
  }

  /**m_tit 끝//**/

  /* 메인 */
  .slide-box-1 {
    height: 60vw;
    background-size: cover;
  }

  /* sec1 */
  .sec1 {
    padding: 70px 0;
  }

  .sec1 ul {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }

  /* sec3 */
  .sec3 ul li img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }
  /* sec4 */
  .sec4 {
    padding: 70px 0 40px;
  }

  .sec1 .box_1 {
    flex-direction: column;
    align-items: center;
    grid-gap: 11px;
  }

  .sec4 .ul_box {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sec4 ul {
    padding-top: 0px;
    margin-top: 10px;
  }

  .sec4 ul li .img {
    height: 55vw;
  }
}

/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/
@media (max-width: 480px) {
  /* 공통 */

  .t40 {
    font-size: 30px;
  }

  .t35 {
    font-size: 27px;
  }

  .t30 {
    font-size: 24px;
  }

  .t25 {
    font-size: 21px;
  }

  .t b {
    color: #488a61;
  }

  .t19 {
    font-size: 17px;
    line-height: 1.6;
  }

  .t17 {
    font-size: 15px;
    line-height: 1.6;
  }

  .t15 {
    font-size: 14px;
    line-height: 1.65;
  }

  /**m_tit 시작**/
  .m_tit {
    text-align: center;
  }

  .m_tit p {
    font-size: 16px;
    padding-bottom: 10px;
  }

  .m_tit h2 {
    font-size: 32px;
  }

  .m_tit h3 {
    font-size: 28px;
  }

  /**m_tit 끝//**/

  /* 메인 */
  .slide-box {
    height: 100vh;
  }
  .slide-box .text-group {
    padding: 3rem;
  }
  /* sec1 */
  .sec1 .m_tit p br {
    display: none;
  }

  .sec1 ul {
    display: grid;
    grid-template-columns: 1fr;
  }

  /* sec2 */
  .sec2 {
    padding: 70px 0px;
    background-size: cover;
    background-position: center;
  }

  .process-container {
    gap: 1rem;
  }

  /* sec3 */

  .sec3 ul {
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
  }

  /* sec4 */
  .sec4 {
    padding: 40px 0;
    grid-template-columns: 1fr;
  }
  .sec4 .left {
    padding: 2rem;
  }
  .sec4 .box_1 {
    flex-direction: column;
  }
  .sec4 .box_1 a {
    font-size: 16px;
  }
  .sec4 .right {
    background-size: cover;
    height: 400px;
  }

  .sec4 .textbox b {
    font-size: 1.15em;
  }

  .sec4 .textbox span {
    font-size: 1.15em;
  }

  .sec4 .textbox p {
    padding: 1.5rem 0;
  }
}
