/* /assets/css/pages/town_home.hero.css */
/* ============================================================
   VIDEO HERO – liveanywhere.me 스타일
   ============================================================ */

/* ── 섹션 컨테이너 ── */
.hero-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* panel 클래스의 padding/border/shadow 재정의 */
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* ── 배경 레이어 ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ── 슬라이드쇼 컨테이너 ── */
.hero-slides {
  position: absolute;
  inset: 0;
}

/* ── 슬라이드 이미지 ── */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
}

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

/* ── 비네트(어둠 그라데이션) ── */
.hero-bg-vignette {
  position: absolute;
  inset: 0;
  /* 아래·위 어둡게, 가운데는 반투명 */
  background:
    linear-gradient(180deg,
      rgba(0,0,0,.38) 0%,
      rgba(0,0,0,.18) 35%,
      rgba(0,0,0,.18) 65%,
      rgba(0,0,0,.55) 100%
    );
  pointer-events: none;
}

/* ── 텍스트 콘텐츠 ── */
.hero-content {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 80px 80px 72px;
  max-width: 960px;
  min-height: 580px;

  /* 기존 유리 카드 완전 제거 */
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* ── 메인 제목 ── */
.town-title {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  text-shadow:
    0 2px 8px rgba(0,0,0,.45),
    0 8px 32px rgba(0,0,0,.40);
}

/* ── 부제목 ── */
.town-desc {
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(15px, 2.2vw, 19px);
  line-height: 1.70;
  text-shadow:
    0 1px 5px rgba(0,0,0,.40),
    0 4px 18px rgba(0,0,0,.35);
}

/* ── 버튼 영역 ── */
.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── 히어로 CTA 버튼 ── */
.hero-cta-btn {
  padding: 14px 32px;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 800;
  border-radius: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 24px rgba(124,58,237,.45), 0 2px 8px rgba(0,0,0,.35);
  transition: transform .15s, box-shadow .15s;
}
.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,58,237,.55), 0 4px 12px rgba(0,0,0,.35);
}

/* ── 모바일 ── */
@media (max-width: 768px) {
  .hero-video    { min-height: 420px; }
  .hero-content  { min-height: 420px; padding: 52px 28px 44px; }
  .town-desc br  { display: none; }
}

@media (max-width: 480px) {
  .hero-video    { min-height: 360px; }
  .hero-content  { min-height: 360px; padding: 40px 20px 36px; }
}
