/* 
  메인 화면 전용 스타일
  파일: main_sj.css
*/

/* 히어로 섹션 */
.hero-section_sj {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #050a14 0%, #002244 55%, #004080 75%, #005cbf 100%);
  position: relative;
  color: var(--white_sj);
  text-align: left;
  overflow: hidden;
}

h1.hero-title_sj, .hero-title_sj {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif !important;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 30px rgba(0,0,0,.25);
  font-size: 2.5rem;
}
.hero-title_sj span.text-primary_sj {
  font-size: 5rem;
  display: inline-block;
  margin-bottom: 5px;
  color: var(--accent-color_sj) !important;
  white-space: nowrap;
  font-weight: 900;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .hero-section_sj { min-height: auto; padding: 100px 0 60px; text-align: center; }
  h1.hero-title_sj, .hero-title_sj { font-size: 1.8rem !important; line-height: 1.3; }
  .hero-title_sj span.text-primary_sj { font-size: 1.4em; white-space: normal; display: block; margin-bottom: 5px; }
  .hero-desc_sj { font-size: 1rem !important; margin-bottom: 30px !important; padding: 0 10px; word-break: keep-all; }
  .hero-badge_sj { font-size: .8rem; padding: 6px 12px; margin-bottom: 15px; }
  .hero-btns_sj { flex-direction: column; align-items: center; gap: 15px !important; width: 100%; }
  .btn-custom_sj { width: 100%; max-width: 300px; padding: 12px 20px; font-size: .95rem; }
  .hero-slider-wrap_sj { margin-top: 40px; transform: none !important; }
}

.hero-badge_sj {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  color: var(--accent-color_sj);
}

/* 캔버스 레이어 및 컨텐츠 레이어 */
.hero-canvas_sj { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; opacity: .6; }
.hero-content_sj { position: relative; z-index: 2; }

/* 제품 이미지 슬라이드 */
.hero-product-slider_sj { position: relative; width: 100%; height: 400px; display: flex; align-items: center; justify-content: center; perspective: 1000px; }
.hero-product-item_sj { position: absolute; max-width: 80%; max-height: 100%; opacity: 0; transform: translateX(50px) rotateY(-10deg); transition: all 1s cubic-bezier(0.4,0,0.2,1); }
.hero-product-item_sj.active_sj { opacity: 1; transform: translateX(0) rotateY(0); }
.hero-product-item_sj.exit_sj { opacity: 0; transform: translateX(-50px) rotateY(10deg); }

/* 히어로 등장 애니메이션 */
.hero-subtitle_sj { font-size: 1.25rem; opacity: .9; margin-bottom: 40px; max-width: 600px; border-left: 4px solid var(--accent-color_sj); padding-left: 20px; animation: fadeInUp_sj 1s ease-out .3s forwards; opacity: 0; }
.hero-btns_sj { animation: fadeInUp_sj 1s ease-out .6s forwards; opacity: 0; }
@keyframes fadeInUp_sj { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* 스크롤 유도 */
.scroll-down_sj { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); text-align: center; color: var(--white_sj); opacity: .8; animation: bounce_sj 2s infinite; cursor: pointer; z-index: 1000; }
.scroll-down_sj i { font-size: 1.5rem; display: block; }
@keyframes bounce_sj { 0%,20%,50%,80%,100% { transform: translateY(0) translateX(-50%);} 40% { transform: translateY(-10px) translateX(-50%);} 60% { transform: translateY(-5px) translateX(-50%);} }
