/**
 * 히어로 섹션 스타일
 * 독립 히어로 슬라이더 컴포넌트
 * @version 1.0.0
 */

/* ========================================
   히어로 Wrapper
   ======================================== */
.hero-isolated-wrapper {
  display: block; /* 항상 표시 */
  box-sizing: border-box;
  position: relative;
  width: 100%;
  /* 명함패널과 함께 slide-wrapper 안에 배치되어 함께 이동 */
  opacity: 1;
}

/* ========================================
   히어로 슬라이더
   ======================================== */
.hero-isolated-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: visible;
}

@media (max-width: 768px) {
  .hero-isolated-slider {
    height: 60vh;
  }
}

@media (max-width: 480px) {
  .hero-isolated-slider {
    height: 50vh;
  }
}

/* ========================================
   슬라이드 요소
   ======================================== */
.hero-isolated-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-isolated-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-isolated-slide.hero-isolated-active {
  opacity: 1;
}

/* ========================================
   슬라이드 인디케이터
   ======================================== */
.hero-isolated-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 10;
  width: 100%;
  max-width: calc(100% - 40px);
  justify-content: center;
}

.hero-isolated-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-isolated-dot.hero-isolated-dot-active {
  background: white;
  width: 30px;
  border-radius: 5px;
}

/* ========================================
   TY 소개서 버튼
   ======================================== */
.hero-flyer-button {
  position: absolute;
  bottom: 30px;
  right: 20px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  white-space: nowrap;
  z-index: 10;
}

.hero-flyer-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

.hero-flyer-button:active {
  transform: translateY(0);
}

/* ========================================
   히어로 오버레이 & 텍스트
   ======================================== */
.hero-isolated-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 5;
  padding-left: 1rem;
  padding-right: 1rem;
}

.hero-isolated-text-container {
  color: white;
  text-align: left !important;
  padding: 0;
  max-width: 100%;
  width: 100%;
}

#heroIsolatedTitle {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
  text-align: left !important;
}

#heroIsolatedDescription {
  font-size: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
  word-wrap: break-word;
  text-align: left !important;
}

/* ========================================
   반응형 디자인
   ======================================== */
@media (max-width: 768px) {
  .hero-flyer-button {
    padding: 6px 12px;
    font-size: 0.85rem;
    bottom: 20px;
    right: 15px;
  }

  .hero-isolated-indicator {
    bottom: 20px;
    gap: 8px;
  }

  #heroIsolatedTitle {
    font-size: 2rem;
  }

  #heroIsolatedDescription {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .hero-flyer-button {
    padding: 5px 10px;
    font-size: 0.75rem;
    bottom: 15px;
    right: 10px;
  }

  .hero-isolated-indicator {
    bottom: 15px;
    gap: 6px;
  }

  #heroIsolatedTitle {
    font-size: 1.5rem;
  }

  #heroIsolatedDescription {
    font-size: 0.875rem;
  }
}
