/* --- 슬라이더(메인 히어로) 100vh, 배경, object-fit, 내부정렬 등 --- */
.slider-vertical {
  height: 100vh !important;
  position: relative;
}
.slider-vertical .slide {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.slider-vertical .slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.slider-vertical .slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  object-fit: cover;
  transition: background-image 0.5s;
}
.slider-vertical .slider-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.slider-vertical .slide-content {
  color: #fff;
  text-align: left;
  max-width: 600px;
  margin-left: 5vw;
  padding: 40px 48px;
  border-radius: 24px;
}
@media (max-width: 900px) {
  .slider-vertical .slide-content {
    padding: 24px 12px;
    margin-left: 0;
  }
}
.slider-page-bar {
  width: 2px;
  height: 28px;
  background: #fff;
  opacity: 0.6;
  cursor: pointer;
  transition: background 0.3s, opacity 0.3s;
}
.slider-page-bar.active {
  background: #fff;
  opacity: 1;
}

.slider-page-number {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  opacity: 0.4;
  line-height: 1;
  transition: opacity 0.2s, color 0.2s;
}
.slider-page-number#slider-page-current {
  opacity: 1;
  color: #fff;
}
.slider-page-number.slider-page-max {
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
  opacity: 0.3;
}
/* Reset styles */
* {
  box-sizing: border-box;
}

.main-hero-section {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-subtitle {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.slide-title {
  font-size: 46px;
  margin-bottom: 20px;
}

.slide-desc {
  font-size: 16px;
  font-weight: 400 !important;
  margin-bottom: 40px;
  line-height: 1.5;
}

.slide-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 12px 24px;
  background: #fff;
  color: #222;
  border-radius: 200px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}

.slide-btn > img {
  margin-left: 12px;
}
.slide-btn:hover {
  background: #231f20;
  color: #fff;
}

/* Vertical slider nav (right side) */
.slider-scrollbar {
  position: absolute;
  right: calc(50vw - 620px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  justify-content: space-between;
}

@media screen and (max-width: 1400px) {
  .slider-scrollbar {
    right: 40px;
  }
}

.slider-nav.up,
.slider-nav.down {
  background: none;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 1.5rem;
  color: #222;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.slider-nav.up:hover,
.slider-nav.down:hover {
  background: #f5c6cb;
  color: #fff;
}

/* Custom vertical pagination with numbers and line */
.slider-pagination {
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  justify-content: space-between;
}
.slider-pagination .slider-page-number {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  opacity: 0.4;
  transition: opacity 0.2s, color 0.2s;
  line-height: 1;
}
.slider-pagination .slider-page-number.active {
  opacity: 1;
  color: #fff;
}
.slider-pagination .slider-page-line {
  width: 2px;
  height: 80px;
  background: #fff;
  margin: 10px 0;
  opacity: 0.7;
}
.slider-pagination .pagination-spacing {
  margin-bottom: 16px;
}

.container-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  color: #231f20;
  margin-bottom: 8px;
}

.container-sub {
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -5%;
}
