@charset "UTF-8";
:root {
  /* 헤더 */
  --header-color: #333;
  --header-color-active: #000;
  --header-line-color: 1px solid #dbdbdb;
  --header-bg-color: #fff;
  --header-height: 65px;
  --border-color: #dee2e6;
  /* 섹션 패딩 */
  --section-padding: 160px 0;
  /* 색상 */
  --primary: rgb(138, 0, 252);
  --primary-dark: rgb(77, 15, 128);
  --primary-light: rgba(138, 0, 252, 0.1);
  --danger: #dc3545;
  --danger-dark: #c82333;
  --text-primary: #212529;
  --text-secondary: #868e96;
  --border-color: #dee2e6;
  --border-color-dark: #c8cfd5;
  --bg-light: #f5f7f8;
  --white: #ffffff;
}

/* ==============================
   Layout (레이아웃)
   ============================== */
#header {
  width: 100%;
  height: auto;
  left: 0;
  top: 0;
  right: 0;
  z-index: 100;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  transform: none;
  transition: transform 0.4s ease, background-color 0.4s ease;
}
#header.fixed {
  background-color: var(--header-bg-color);
  position: fixed;
  border-bottom: var(--header-line-color);
}
#header.fixed .logo.white {
  display: none !important;
}
#header.fixed .logo.dark {
  display: block !important;
}
#header.fixed .nav-menu li a,
#header.fixed .nav-icon {
  color: var(--header-color) !important;
}
#header.desktop {
  display: none;
}
#header.transparent + #main {
  margin-top: 0;
}
#header.transparent.transparent--stop {
  background-color: #fff;
}
#header.transparent.transparent--stop .nav-menu,
#header.transparent.transparent--stop .nav-icon {
  color: #000;
}
#header.transparent.transparent--stop .logo.white {
  display: none;
}
#header.transparent.transparent--stop .logo.dark {
  display: block;
}
#header.transparent {
  position: fixed;
}
#header.transparent .nav-menu,
#header.transparent .nav-icon {
  color: #fff;
}
#header.transparent .logo.white {
  display: block;
}
#header.transparent .logo.dark {
  display: none;
}

.nav {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
}
.nav-menu {
  position: relative;
  top: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.nav-menu li {
  min-width: 130px;
  text-align: center;
  position: relative;
  min-width: 120px;
}
@media (max-width: 920px) {
  .nav-menu li {
    min-width: 90px;
  }
}
.nav-menu li a {
  text-decoration: none;
  display: block;
  font-weight: 500;
  font-size: 18px;
  line-height: var(--header-height);
}
.nav-menu li > a.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 2px;
}
.nav-menu li:hover > a {
  opacity: 1;
  font-size: 20px;
  font-family: 600;
}
.nav-menu li:hover > a::after {
  width: 100%;
}

.nav-menu-sub {
  position: absolute;
  left: 0;
  height: auto;
  top: var(--header-height);
  color: #000;
  display: none;
}
.nav-menu-sub li {
  margin-top: 20px;
}
.nav-menu-sub li a {
  font-size: 17px;
  font-weight: 400;
  line-height: 25px;
}
.nav-menu-sub.show {
  display: block;
}

.nav-icon {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.nav-icon li {
  width: 50px;
}
.nav-icon li a {
  font-size: 20px;
}

.logo {
  height: var(--header-height);
  width: 130px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
}
.logo.white {
  display: none;
}
.logo.dark {
  display: block;
}

.nav-bg {
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: 0px;
  background: #fff;
  height: 250px;
  opacity: 0;
  pointer-events: none;
  color: var(--header-color);
  border-top: 1px solid #dbdbdb;
  z-index: -1;
}
.nav-bg.show {
  opacity: 1;
  pointer-events: auto;
}

#main {
  margin-top: 65px; /* 헤더의 실제 높이에 맞게 조정하세요. */
}

/* 데스크톱 모드에서 모바일 관련 처리 */
.nav-mobile {
  display: none;
}

/**
 * 모바일 미디어 쿼리
 */
@media (max-width: 768px) {
  #header {
    /* 제외 처리 */
  }
  #header .nav-icon {
    display: none;
  }
  #header {
    width: 100%;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    height: var(--header-height);
    background-color: transparent;
  }
  #header.transparent--stop .line-1,
  #header.transparent--stop .line-2 {
    background-color: #000 !important;
    background-color: transparent;
  }
  #header.transparent .line-1,
  #header.transparent .line-2 {
    background-color: #fff;
  }
  #header.transparent.fixed .line-1,
  #header.transparent.fixed .line-2 {
    background-color: #000;
  }
  #header .nav {
    display: flex;
    justify-content: space-between; /* 좌우 끝 정렬 */
  }
  #header .nav-menu {
    display: flex;
    position: fixed;
    left: 0;
    width: 100%;
    height: 0vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    overflow: hidden;
    padding-top: 100px;
    opacity: 0;
    padding: 30px;
    background-color: #f6f6f6;
    transition: height 0.6s ease-in-out, opacity 0.6s ease-in-out;
  }
  #header .nav-menu li a {
    font-size: 32px;
  }
  #header .nav-menu-sub {
    position: static;
    width: 100%;
    padding: 0;
  }
  #header .nav-menu-sub li {
    display: flex;
    flex-direction: column;
  }
  #header .nav-menu-sub li:first-child {
    padding-top: 20px;
  }
  #header .nav-menu-sub li:last-child {
    padding-bottom: 30px;
  }
  #header .nav-menu-sub li a {
    color: red !important;
    font-size: 24px !important;
    text-align: right;
  }
  #header.active .nav-menu {
    padding-top: 90px;
    opacity: 1;
    height: 100vh;
    z-index: 2;
  }
  #header.active .nav-menu li a {
    color: #27272c;
  }
  #header.active .nav-mobile-toggle-icon .line-1 {
    top: 0;
    transform: rotateZ(45deg);
    transition-property: top, transform;
    transition-delay: 0ms, 160ms;
    transition-duration: 200ms;
    background-color: #000;
  }
  #header.active .nav-mobile-toggle-icon .line-2 {
    top: 0;
    transform: rotateZ(-45deg);
    transition-property: top, transform;
    transition-delay: 0ms, 160ms;
    transition-duration: 200ms;
    background-color: #000;
  }
  .nav-mobile {
    display: flex;
    height: var(--header-height);
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
  }
  .nav-mobile-toggle {
    width: 50px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
  }
  .nav-mobile-toggle-icon {
    width: 30px;
    position: relative;
    cursor: pointer;
  }
  .nav-mobile-toggle-icon .line-1,
  .nav-mobile-toggle-icon .line-2 {
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: var(--header-color);
    transition-property: transform, top;
    transition-delay: 0ms, 160ms;
    transition-duration: 200ms;
    display: block;
  }
  .nav-mobile-toggle-icon .line-1 {
    top: -4px;
  }
  .nav-mobile-toggle-icon .line-2 {
    top: 4px;
  }
}
/* ==============================
    푸터 스타일
    ============================== */
.site-footer {
  padding: 60px 0;
  font-size: 1.4rem;
  background: linear-gradient(to top, #c1bebf, #ffffff);
  color: #777;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}

/* 메뉴 영역 */
.footer-menus {
  grid-column: span 8;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-column .col-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
  text-decoration: underline;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul a {
  text-decoration: none;
  color: #777;
  transition: color 0.3s;
}

.footer-column ul a:hover {
  color: #000;
}

/* 로고 영역 */
.footer-logo-area {
  grid-column: span 4;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-logo img {
  max-width: 250px;
  height: auto;
  opacity: 0.6;
}

/* 하단 정보 영역 */
.footer-bottom {
  grid-column: 1/-1;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #c0c0c0;
}

.footer-legal-links {
  margin-bottom: 40px;
}

.footer-legal-links a {
  text-decoration: none;
  color: #777;
  margin-right: 25px;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr); /* 12단 그리드로 변경 */
  gap: 30px;
}

.footer-cs-info {
  grid-column: 1/span 6; /* 왼쪽 영역 차지 */
}

.footer-company-info {
  grid-column: 7/span 6; /* 오른쪽 영역 차지 */
  text-align: right; /* 텍스트를 오른쪽으로 정렬 */
}

.footer-cs-info .col-title,
.footer-company-info .col-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  text-decoration: none;
}

.footer-cs-info p,
.footer-company-info p {
  line-height: 1.8;
}

/* 반응형 */
@media (max-width: 920px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-menus {
    grid-column: auto;
  }
  .footer-logo-area {
    grid-column: auto;
    justify-content: center;
    margin-top: 40px;
  }
}
@media (max-width: 768px) {
  .footer-menus,
  .footer-contact-grid {
    text-align: left;
  }
  .footer-contact-grid {
    grid-template-columns: 1fr 1fr; /* 모바일에서는 2단으로 */
  }
  .footer-cs-info,
  .footer-company-info {
    grid-column: auto; /* 그리드 설정 리셋 */
    text-align: left; /* 모바일에서는 좌측 정렬 */
  }
}
@media (max-width: 500px) {
  .footer-menus {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-contact-grid {
    grid-template-columns: 1fr; /* 아주 작은 화면에서는 1단으로 */
  }
}
/* ==============================================
*  히어로 블록
* ============================================== */
.hero-block {
  position: relative;
  width: 100%;
  height: 660px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media (max-width: 1420px) {
  .hero-block {
    height: 500px;
  }
}
@media (max-width: 768px) {
  .hero-block {
    height: 370px;
  }
}
/* ==============================================
*  이미지 박스
* ============================================== */
.image-box {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  overflow: hidden;
  background-color: #f6f6f6;
}

.image-box img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.image-box-inner {
  padding-top: 20px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.image-box-title,
.image-box-desc,
.image-box-price {
  padding: 0 16px;
}

.image-box--34 {
  aspect-ratio: 3/4;
}

/* ==============================================
*  타이틀 박스
* ============================================== */
.title-box {
  padding-top: 30px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.title-box-tit {
  font-size: 3.4rem; /* t-sm 데스크탑 기준 */
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.title-box-desc {
  font-size: 2.1rem; /* b-md 데스크탑 기준 */
  line-height: 1.6;
  letter-spacing: 0em;
}

/* ==============================================
*  커버 블록
* ============================================== */
.cover-block {
  width: 100%;
  height: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.cover-block-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.cover-block-image img {
  min-width: 100%;
  min-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  max-width: 100% !important;
}

.cover-block-center {
  z-index: 2;
  width: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 20px;
  font-size: 18px;
  line-height: 1.6;
}

.cover-block-bottom {
  width: 100%;
  z-index: 2;
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 0 16px;
}

.cover-block-left {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 2;
  text-align: left;
}

.cover-block-right {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 2;
  text-align: right;
}

.cover-block-txtbox {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==============================================
*  메인 그리드 1/2열
* ============================================== */
.grid-container {
  display: flex;
  width: 100%;
  height: auto;
  gap: 10px;
}

.left-column {
  flex: 1;
  height: 700px;
  background-color:#f9f9f9;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;  
}

.left-column img {
  max-width: 700px;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0 auto;
}

.right-column-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 700px;
}

.right-column-top,
.right-column-bottom {
  flex: 1;
  background-color: #f7f7f7;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  min-height: 350px;
}

.right-column-top img{
  max-width: 500px;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0 auto;
  padding: 50px	
}

.right-column-bottom img{
	max-width: 700px;
	height: auto;
  -o-object-fit: cover;
     object-fit: cover;
	margin: 0 auto;
}

.text-box {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  width: calc(100% - 40px);
  padding: 20px;
  text-align: center;
}
.text-box P {
  font-size: 18px;
  padding-top: 8px;
  font-weight: 400;
}

/* 모바일 최적화 (화면 너비 1100px 이하) */
@media (max-width: 1024px) {
  .grid-container {
    flex-direction: column;
    height: auto;
  }
  .left-column,
  .right-column-wrapper {
    flex: none;
    width: 100%;
    height: auto;
  }
  .left-column {
    height: 500px;
  }
  .left-column img {
    height: 400px;
  }
  .right-column-top,
  .right-column-bottom {
    height: 300px;
  }
  .text-box {
    padding: 2px;
  }
  .right-column-top img{
    width: 500px;
  }
    .right-column-bottom img{
	width: 350px;
}
/* ==============================================
*  버튼 컴포넌트
* ============================================== */
.btn {
  /* 기본 디자인 */
  display: inline-block;
  padding: 10px 20px;
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.btn:active {
  transform: scale(0.98);
}

/* Primary 버튼 */
.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

/* Secondary 버튼 */
.btn-secondary {
  background-color: var(--border-color);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  background-color: var(--border-color-dark);
}

/* Outline 버튼 */
.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
}

/* Danger 버튼 */
.btn-danger {
  background-color: var(--danger);
  color: var(--white);
}

.btn-danger:hover {
  background-color: var(--danger-dark);
}

/* ==============================
  기본 에니메이션
  ============================== */
.ani-on {
  opacity: 0;
}

.ani-on-active {
  animation: aniontxt 0.8s cubic-bezier(0.33, 0.45, 0.78, 0.85) forwards;
}

@keyframes aniontxt {
  0% {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.letter {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  filter: blur(15px);
}

.ani-on[data-type=blur].ani-on-active .letter {
  animation: blurLetter 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes blurLetter {
  0% {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    filter: blur(15px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}
/* ==============================
  이미지 웨이브
  ============================== */
.img-wave {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.img-wave .slice {
  flex: none;
  width: 12.5%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 800% 100%;
  background-position: center top;
  transform: translateY(100%);
  animation: waveUp 1s forwards;
  margin-left: -0.8px;
}
.img-wave .slice:first-child {
  margin-left: 0;
}

@keyframes waveUp {
  to {
    transform: translateY(0);
  }
}
/* ==============================
  이미지 호버
  ============================== */
.img-hover img {
  transform: scale(1); /* 기본 크기를 명시해야 트랜지션이 부드럽게 작동합니다 */
  transition: transform 1s ease-in-out;
}

.img-hover:hover img,
.img-hover.hover-on img {
  transform: scale(1.2);
}

.img-hover {
  overflow: hidden;
}

/* ==============================
  카드 순차 리스트
  ============================== */
.card-ani {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.ani-on-active .card-ani {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
  이미지 줌인
  ============================== */
@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.2) translate(-20px, -10px);
  }
}
.img-zoom img {
  animation: kenburns 12s ease-in-out infinite alternate;
}
