/* ========================================
   HERO SECTION - 트랜디 반응형 히어로 섹션
   ======================================== */

.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1d88b1 0%, #2d5aa0 50%, #1a365d 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height-mobile) + 20px) 20px 40px;
}

/* 배경 패턴과 효과 */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.6;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(29, 136, 177, 0.8) 0%, rgba(45, 90, 160, 0.8) 100%);
  z-index: 1;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1d88b1 0%, #2d5aa0 50%, #1a365d 100%);
  opacity: 0.9;
  z-index: 1;
}

.hero__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  box-sizing: border-box;
}

.hero__content {
  text-align: center;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* 배지 디자인 */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out;
  position: relative;
  overflow: hidden;
}

.hero__badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.hero__badge:hover::before {
  left: 100%;
}

.hero__badge-icon {
  width: 18px;
  height: 18px;
  color: #FFD700;
  animation: pulse 2s infinite;
}

/* 제목 디자인 */
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
  line-height: 1.1;
  text-align: center;
  animation: fadeInUp 0.8s ease-out 0.1s both;
  letter-spacing: -0.02em;
}

.hero__title-highlight {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero__title-highlight::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FF6B35);
  border-radius: 2px;
  transform: scaleX(0.8);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__title:hover .hero__title-highlight::after {
  transform: scaleX(1);
}

/* 부제목 디자인 */
.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
  text-align: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 특징 리스트 */
.hero__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 16px;
  font-weight: 500;
}

.hero__feature-icon {
  width: 20px;
  height: 20px;
  color: #FFD700;
  flex-shrink: 0;
}

/* 액션 버튼 */
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__emergency-button {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border: none;
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.hero__emergency-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
}

.btn__icon {
  width: 20px;
  height: 20px;
}

/* 비주얼 영역 */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero__floating-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  width: 100%;
  max-width: 400px;
}

.hero__floating-card--work-images {
  position: relative;
}

/* 이미지 슬라이더 */
.hero__image-slider {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
}

.hero__image-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero__image-slide.active {
  opacity: 1;
}

.hero__image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 32px 24px 24px;
  color: white;
}

.hero__image-content {
  text-align: center;
}

.hero__image-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero__image-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

/* 슬라이더 네비게이션 */
.hero__slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.hero__slider-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.hero__slider-nav svg {
  width: 20px;
  height: 20px;
}

.hero__slider-prev {
  left: 16px;
}

.hero__slider-next {
  right: 16px;
}

/* 슬라이더 인디케이터 */
.hero__slider-indicators {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero__slider-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero__slider-indicator.active {
  background: white;
  transform: scale(1.2);
}

/* 스크롤 인디케이터 */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 10;
}

.hero__scroll-indicator-icon {
  width: 24px;
  height: 24px;
}

/* 애니메이션 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ========================================
   반응형 디자인
   ======================================== */

/* 모바일 (767px 이하) */
@media (max-width: 767px) {
  .hero {
    padding: calc(var(--header-height-mobile) + 16px) 16px 32px;
    min-height: 90vh;
  }
  
  .hero__container {
    gap: 32px;
    padding: 0 !important;
    box-sizing: border-box;
    width: 100%;
  }
  
  .hero__content {
    padding: 0;
    margin: 0;
  }
  
  .hero__badge {
    padding: 10px 20px;
    font-size: 13px;
    margin-bottom: 24px;
  }
  
  .hero__features {
    gap: 12px;
    margin-bottom: 32px;
  }
  
  .hero__feature {
    padding: 6px 12px;
    font-size: 14px;
  }
  
  .hero__actions {
    gap: 12px;
  }
  
  .hero__actions .btn {
    max-width: 280px;
  }
  
  .hero__visual {
    padding: 0 16px;
  }
  
  .hero__floating-card--work-images {
    padding: 20px;
    min-height: 240px;
    border-radius: 20px;
  }
  
  .hero__image-overlay {
    padding: 24px 20px 20px;
  }
  
  .hero__slider-nav {
    width: 40px;
    height: 40px;
  }
  
  .hero__slider-nav svg {
    width: 18px;
    height: 18px;
  }
  
  .hero__slider-prev {
    left: 16px;
  }
  
  .hero__slider-next {
    right: 16px;
  }
  
  .hero__slider-indicators {
    bottom: 20px;
    right: 20px;
  }
}

/* 태블릿 (768px 이상) */
@media (min-width: 768px) {
  .hero {
    padding: calc(var(--header-height-tablet) + 20px) 40px 40px;
  }
  
  .hero__container {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 0 40px;
  }
  
  .hero__content {
    text-align: left;
  }
  
  .hero__title {
    text-align: left;
  }
  
  .hero__subtitle {
    text-align: left;
    max-width: 90%;
    padding: 0;
  }
  
  .hero__features {
    align-items: flex-start;
  }
  
  .hero__actions {
    align-items: flex-start;
  }
  
  .hero__floating-card {
    min-height: 350px;
  }
  
  .hero__image-slider {
    height: 300px;
  }
}

/* 데스크톱 (1024px 이상) */
@media (min-width: 1024px) {
  .hero {
    padding: calc(var(--header-height-desktop) + 32px) 60px 60px;
  }
  
  .hero__container {
    gap: 80px;
    padding: 0 60px;
  }
  
  .hero__floating-card {
    min-height: 400px;
  }
  
  .hero__image-slider {
    height: 350px;
  }
} 