/* ===== 레이아웃 ===== */
body,
html {
  /* cursor: none; */
}

body {
  height: auto;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
}

.main-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* mouse effect */
/* .cursor {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3px);
  background: rgba(255, 255, 255, 0.05);
  position: fixed;
  border-radius: 50%;
  aspect-ratio: 1;
  z-index: 9;
  width: 60px;
  cursor: none;
} */

@keyframes pulseWiggle {
  0% {
    transform: translate(-50%, -50%) scale(2) rotate(0deg);
  }

  25% {
    transform: translate(-50%, -50%) scale(1.2) rotate(0deg);
  }

  50% {
    transform: translate(-50%, -50%) scale(2) rotate(0deg);
  }

  75% {
    transform: translate(-50%, -50%) scale(1.2) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) scale(2) rotate(0deg);
  }
}




/* .blob {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 50px;
  background: #ffffff;
  border-radius: 50%;
  filter: url(#goo);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease-out;
} */



/* ===== 인트로 화면 ===== */
#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.8), rgba(51, 51, 51, 0.9));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  animation: introFadeOut 1s ease-in-out 1.2s forwards;
}

#intro-logo {
  width: 300px;
  max-width: 200px;
  min-width: 100px;
  opacity: 0;
  animation: rotate-in-2-cw 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  transform: scale(0.95);
}

@keyframes introFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes logoFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotate-in-2-cw {
  0% {
    transform: rotate(-45deg);
    opacity: 0;
  }

  100% {
    transform: rotate(0);
    opacity: 1;
  }
}

/* ===== 메인 타이틀 ===== */
.title-text {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 0 auto;
  padding: 20px 0 10px 0;
  margin-top: 10px;
  flex-direction: row;
}

.titleW {
  width: 82%;
  gap: 48px;
  display: flex;
  align-items: flex-start;
}

.left-title {
  flex: 1;
  font-size: 50px;
  font-weight: 100;
  color: #aaa;
}

.right-title {
  flex: 1;
  font-size: 50px;
  font-weight: 100;
  color: #aaa;
}

.left-title.active {
  display: flex;
  flex: 3;
  font-size: 50px;
  font-weight: 300;
  color: #fff;
  transition: 1.5s ease;
  justify-content: flex-end;
}

.right-title.active {
  display: flex;
  flex: 3;
  font-size: 50px;
  font-weight: 300;
  color: #fff;
  transition: 1.5s ease;
  justify-content: flex-start;
}

.title-name-left {
  display: flex;
}

.title-name-right {
  display: flex;
  justify-content: flex-end;
}

.title-line {
  /* padding-bottom: 40px; */
  width: 100%;
  margin: 0 auto;
  display: flex;
}

.title-line> :nth-child(2) {
  margin-right: 48px;
}



@media screen and (max-width: 768px) {
  .title-line> :nth-child(2) {
    margin-right: 10px;
  }
}

.spacer,
.left-title-section,
.right-title-section {
  height: 3px;
  background-color: #fff;
  visibility: hidden;

}

.spacer.active {
  visibility: visible;
}

.left-title-section {
  flex: 1;
  height: 3px;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: transform 1s ease-in-out, opacity 0.3s ease;
}

.right-title-section {
  flex: 1;
  height: 3px;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: right;
  opacity: 0;
  transition: transform 1s ease-in-out, opacity 0.3s ease;
}

.left-title-section.active,
.right-title-section.active {
  flex: 3;
  transform: scaleX(1);
  background-color: #fff;
  opacity: 1;
  visibility: visible;
}

/* iframe {
  display: block;
  margin: auto;
  width: 1068px;
  height: 800px;
} */

/* ===== 메인 콘텐츠 ===== */
.main-content {
  display: flex;
  flex-direction: row;
  gap: 48px;
  width: 82%;
  height: auto;
  margin: 0 auto;
  padding: 0 0 32px 0;
  align-items: flex-start;
}

.bi-bx-col,
.ui-ux-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 1500px;
  overflow-y: auto;
  transition: all 0.8s ease;
  transform: translateX(0);
  opacity: 0.3;
}

/* 스크롤바 커스텀 */

.bi-bx-col,
.ui-ux-col {
  width: 250px;
}

.bi-bx-col::-webkit-scrollbar,
.ui-ux-col::-webkit-scrollbar {
  width: 10px;
}

.bi-bx-col::-webkit-scrollbar-thumb,
.ui-ux-col::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
}

.bi-bx-col::-webkit-scrollbar-track,
.ui-ux-col::-webkit-scrollbar-track {
  background-color: rgb(255, 255, 255, 0.1);
}



/* 컨텐츠 애니메이션 */
/* .bi-bx-col:not(.active) {
  transform: translateX(-30px);
  opacity: 0.2;
}

.ui-ux-col:not(.active) {
  transform: translateX(30px);
  opacity: 0.2;
} */

.bi-bx-col.active,
.ui-ux-col.active {
  flex: 3;
  overflow-y: auto;
  height: 1500px;
  opacity: 100%;
  transition: 1s ease-out;
}

.bi-bx-list,
.ui-ux-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.img-card {
  background: #232323;
  /* border-radius: 5px; */
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.img-card img {
  width: 100%;
  display: block;
}

.img-card.show {
  opacity: 1;
  transform: translateY(0);
}

.img-caption {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 16px;
  color: #ffffff;
  padding: 30px 0 50px 0;
}

/* ===== 문의 폼 & QR ===== */
.contact-section {
  width: 1400px;
  margin: 80px auto 100px auto;
  display: flex;
  /* gap: 5px; */
  justify-content: space-between;
}

.qr-call {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  gap: 16px;
  /* min-width: 180px; */
  flex: 1;
  align-items: flex-start;
}

.qr-img {
  width: 300px;
  height: 190px;
  /* border-radius: 5px; */
  background: #fff;
  object-fit: cover;
}

/* .call {
  width: 120px;
  height: 48px;
  border-radius: 5px;
  background: #fff;
  color: #232323;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  transition: background 0.2s, color 0.2s;
} */

.contact-form {
  width: 500px;
  border-width: 0;
  /* flex: 1; */
  display: flex;
  gap: 12px;
  background: transparent;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-form.right {
  width: 450px;
  flex-direction: row;
  /* flex: 1; */
}

.contact-form-title {
  width: 480px;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 400;
}

.contact-form-row {
  width: 480px;
  display: flex;
  border-width: 0 0 1px;
  flex-direction: column;
  gap: 4px;
}

#name,
#email {
  width: 500px;
  border: none;
  border-bottom: 3px solid white;
}

#message {
  border: 3px solid white;
}

.contact-form-massage {
  width: 370px;
  height: 178px;
}

.contact-form label {
  font-size: 0.98rem;
  color: #fff;
  margin-bottom: 2px;
}

.contact-form input {
  color: #fff;
  /* padding: 10px 0px; */
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  padding: 10px 14px;
}

.contact-form textarea {
  min-height: 190px;
}

.send-btn {
  width: 90px;
  height: 190px;
  border-radius: 0;
  background: #fff;
  color: #232323;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.send-btn:hover {
  background: #e0e0e0;
}





/* ===== 반응형 (옵션) ===== */
@media screen and (max-width: 768px) {
  .main-wrapper {
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  #intro-logo {
    width: 160px;
    margin-bottom: 50px;
  }

  /* ===== 메인 타이틀 ===== */
  .title-text {
    position: sticky;
    top: 45px;
    gap: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    background-size: 400% 400%;
    animation: colorChange 4s ease infinite;
    position: fixed;
    z-index: 999;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.07), 0 4px 8px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.07), 0 16px 32px rgba(0, 0, 0, 0.07), 0 32px 64px rgba(0, 0, 0, 0.07);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .titleW {
    width: 90%;
    gap: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .left-title,
  .right-title {
    position: sticky;
    flex: 1;
    font-size: 40px;
    font-weight: 100;
    color: #fff;
    transition: transform 0.5s ease-in-out;
  }

  .left-title.active,
  .right-title.active {
    position: sticky;
    flex: 1;
    font-size: 40px;
    font-weight: 330;
    color: #fff;
    transition: 0.3s ease;
  }

  .left-title,
  .left-title.active,
  .title-name-left {
    display: flex;
    justify-content: flex-start;
  }

  .right-title,
  .right-title.active,
  .title-name-right {
    display: flex;
    justify-content: flex-end;
  }

  .title-line {
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .spacer {
    display: block;
    width: 5%;
    visibility: hidden;
  }

  .left-title-section {
    height: 3px;
    background-color: #fff;
    transform-origin: left;
    opacity: 0;
    visibility: hidden;
    flex: 1;
    transform: scaleX(0);
    transition: transform 0.8s ease-in-out, opacity 0.3s ease, visibility 0.3s ease;
  }

  .right-title-section {
    height: 3px;
    background-color: #fff;
    transform-origin: right;
    opacity: 0;
    visibility: hidden;
    flex: 1;
    transform: scaleX(0);
    transition: transform 0.8s ease-in-out, opacity 0.3s ease, visibility 0.3s ease;
  }

  .left-title-section.active,
  .right-title-section.active {
    flex: 3;
    transform: scaleX(1);
    background-color: #fff;
    opacity: 1;
    visibility: visible;
  }


  /* contents */
  .main-content {
    width: 100%;
    margin-top: 5px;
    height: auto;

  }

  .bi-bx-col,
  .ui-ux-col {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 24px;
    opacity: 0.5;
    overflow-y: visible !important;
    height: auto !important;
  }

  .bi-bx-col.active {
    width: 100%;
    display: flex;
    height: auto;
    transition: 1s ease-out;
  }

  .ui-ux-col.active {
    width: 100%;
    display: flex;
    height: auto;
    transition: 1s ease-out;
  }

  .bi-bx-list,
  .ui-ux-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .img-card {
    width: 100%;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
  }

  .img-card img {
    width: 100%;
    display: block;
  }

  .img-card.show {
    opacity: 1;
    transform: translateY(0);
  }

  .img-caption {
    font-weight: 350;
    font-size: 16px;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    text-transform: uppercase;
  }

  .img-caption.show {
    opacity: 1;
    transform: translateY(0);
  }



  /* ===== 문의 폼 & QR ===== */
  /* .contact-section {
    width: 100%;
    margin: 80px auto 100px auto;
    display: flex;
    gap: 5px;
    justify-content: space-between;
    flex-direction: column;
    gap: 24px;
  } */


  /* .call {
  width: 120px;
  height: 48px;
  border-radius: 5px;
  background: #fff;
  color: #232323;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  transition: background 0.2s, color 0.2s;
} */



  .contact-form {
    width: 100%;
    border-width: 0;
    /* flex: 1; */
    display: flex;
    gap: 12px;
    background: transparent;
    flex-direction: column;
    justify-content: flex-start;
  }

  .contact-form.right {
    display: flex;
    width: 100%;
    flex-direction: column;
    /* flex: 1; */
  }

  .contact-form-title {
    width: 100%;
    font-size: 22px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 400;
  }

  .contact-form-row {
    width: 100%;
    display: flex;
    border-width: 0 0 1px;
    flex-direction: column;
    margin-top: 20px;
    /* gap: 4px; */
  }

  #name,
  #email {
    width: 100%;
    border: none;
    border-bottom: 3px solid white;
  }

  #message {
    border: 3px solid white;
  }

  .contact-form-massage {
    width: 100%;
    height: 178px;
  }

  .contact-form label {
    font-size: 0.98rem;
    color: #fff;
    margin-bottom: 2px;
  }

  .contact-form input {
    color: #fff;
    /* padding: 10px 0px; */
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-form textarea {
    padding: 10px 14px;
  }

  .contact-form textarea {
    min-height: 190px;
  }

  .send-btn {
    margin-top: 10px;
    width: 100%;
    height: 55px;
    /* border-radius: 5px; */
    background: #fff;
    color: #232323;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }

  .send-btn:hover {
    background: #e0e0e0;
  }


}