@charset "UTF-8";

.link-unstyled {
  color: inherit;
  text-decoration: none;
}

.link-unstyled:hover {
  color: inherit;
  text-decoration: none;
}

.fw-bold-extra {
  font-weight: 900 !important
}

/* ===== 메인 비주얼 ===== */
.main-visual {
  min-height: 100svh;
  /* 모바일 주소창 대응 */
  background-color: #5b56a3;
  position: relative;
}

/* 이미지가 있을 경우 중앙 정렬 */
/* .main-visual .row {
  min-height: 100svh;
} */

/* 필요 시 이미지 크기 조절 */
.visual-image {
  max-height: 80vh;
}

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

@media (max-width: 768px) {
  .visual-img {
    /*     height: 300px; */
  }
}

/* ===== 스크롤 인디케이터 ===== */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 110px;
  /* transform: translateX(-50%); */
  text-align: center;
  color: #fff;
  font-size: 2rem;
  letter-spacing: 0.08em;
  opacity: 0.9;
  animation: fadeIn 1.5s ease forwards;
  z-index: 10;
}

/* 텍스트 */
.scroll-text {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

/* 화살표 */
.scroll-arrow {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  animation: arrowMove 1.5s infinite;
}

/* ===== 비주얼 이미지 오버레이 ===== */
.visual-img {
  position: relative;
  overflow: hidden;
}

.visual-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

/* 이미지 자체는 아래로 */
.visual-img img {
  position: relative;
  z-index: 0;
}

/* 화살표 움직임 */
@keyframes arrowMove {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(45deg);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(12px) rotate(45deg);
  }
}

/* 등장 효과 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }

  to {
    opacity: 0.9;
    transform: translate(-50%, 0);
  }
}

/* 모바일 위치 보정 */
@media (max-width: 768px) {
  .scroll-indicator {
    bottom: -60px;
    font-size: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
  }
}

.control-divider {
  display: block;
  width: 1px;
  height: 30px;              /* 세로 라인 길이 */
  background: rgba(255, 255, 255, 0.6);

  /* 🔹 세로 가운데 정렬 핵심 */
  align-self: center;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .control-divider {
    display: none;
  }
}