/* ═══════════════════════════════════════
   DA 다폰 — style.css
   전역/공통 스타일 (섹션별 CSS는 별도 파일)
   Color: Black / Gold #F0C000 / White
═══════════════════════════════════════ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #f0c000;
  --gold-dark: #c9a000;
  --black: #000000;
  --black2: #0a0a0a;
  --black3: #111111;
  --black4: #1a1a1a;
  --white: #ffffff;
  --gray1: #eeeeee;
  --gray2: #aaaaaa;
  --gray3: #666666;
  --font-ko: 'Noto Sans KR', sans-serif;
  --font-en: 'Bebas Neue', sans-serif;
  --transition: 0.25s ease;
  --notice-h: 38px;
  --nav-h: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ko);
  background: var(--black);
  color: var(--gray1);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ══ 스크롤 애니메이션 ══ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ══ 섹션 & 타이포 ══ */
section {
  padding: 100px 9%;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(240, 192, 0, 0.35);
  padding: 5px 14px;
  margin-bottom: 24px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
  word-break: keep-all;
  color: var(--white);
}
.section-title em {
  font-style: normal;
  color: var(--gold);
}
.section-sub {
  font-size: 1rem;
  color: var(--gray2);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 56px;
  word-break: keep-all;
}

/* ══ 버튼 ══ */
.btn-primary {
  background: var(--gold);
  color: var(--black);
  font-weight: 900;
  font-size: 1rem;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
  transition:
    background var(--transition),
    transform var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  letter-spacing: 1px;
  transition:
    border-color var(--transition),
    color var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ══ 공지바 ══ */
.notice-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--notice-h);
  background: var(--gold);
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 16px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.notice-bar:hover {
  background: var(--gold-dark);
}
.notice-bar em {
  font-style: normal;
  text-decoration: underline;
}
.notice-bar .notice-arrow {
  background: var(--black);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 10px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

/* ══ 이미지 슬라이더 ══ */
.img-slider {
  position: relative;
  width: 100%;
  margin-top: calc(var(--notice-h) + var(--nav-h));
  height: 480px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.img-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}
.img-slider__slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  background-size: auto 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #000;
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.img-slider__slide--03 {
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #000;
}
.img-slider__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.img-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: inline-block;
  transition:
    background 0.3s,
    width 0.3s,
    border-radius 0.3s;
}
.img-slider__dot.is-active {
  background: var(--gold);
  width: 26px;
  border-radius: 4px;
}

/* ══ 단독 배너 ══ */
.single-banner {
  width: 100%;
  height: auto;
}
.single-banner img {
  width: 100%;
  height: auto;
}

/* ══ 배너 콘텐츠 ══ */
.banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  z-index: 2;
}
.banner-inner {
  max-width: 720px;
}
.banner-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 12px;
}
.banner-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ══ 스크롤 인디케이터 ══ */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 0 40px;
  background: var(--black);
  position: relative;
}
.scroll-indicator__track {
  width: 2px;
  height: 80px;
  background: rgba(240, 192, 0, 0.15);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.scroll-indicator__arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(0px);
  transition: transform 0.1s linear;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-indicator__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(240, 192, 0, 0.5);
}

/* ══════════════════════════════════════
   반응형 — 태블릿 (900px)
══════════════════════════════════════ */
@media (max-width: 900px) {
  section {
    padding: 72px 7%;
  }
  .nav {
    padding: 0 7%;
  }
  .nav__logo-img {
    height: 30px;
  }
  .nav__cta {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
  .nav__slogan {
    display: none;
  }
  .hero {
    padding: calc(var(--notice-h) + var(--nav-h) + 40px) 7% 60px;
  }
  .img-slider {
    height: 360px;
  }
  .floating-box {
    right: 16px;
  }
}

/* ══════════════════════════════════════
   반응형 — 모바일 (640px)
══════════════════════════════════════ */
@media (max-width: 640px) {
  :root {
    --notice-h: 36px;
    --nav-h: 56px;
  }
  section {
    padding: 60px 5%;
  }

  /* 공지바 */
  .notice-bar {
    font-size: 0.74rem;
    padding: 0 12px;
  }
  .notice-bar .notice-arrow {
    display: none;
  }

  /* NAV */
  .nav {
    padding: 0 4%;
  }
  .nav__logo-img {
    height: 26px;
  }
  .nav__cta {
    font-size: 0.72rem;
    padding: 7px 10px;
    letter-spacing: 0;
  }
  .nav__service-btn {
    font-size: 0.72rem;
    padding: 7px 10px;
    letter-spacing: 0;
  }

  /* 슬라이더 */
  .img-slider {
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: calc(var(--notice-h) + var(--nav-h));
  }
  .img-slider__slide {
    background-size: contain;
    background-color: #000;
  }
  .img-slider__slide--02 {
    background-size: cover;
    background-position: center center;
  }

  /* HERO */
  .hero {
    padding: calc(var(--notice-h) + var(--nav-h) + 48px) 5% 52px;
    min-height: 100svh;
  }
  .hero__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 2px;
    margin-bottom: 18px;
  }
  .hero__btns {
    flex-direction: column;
    gap: 10px;
  }
  .hero__btns .btn-primary,
  .hero__btns .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  /* 타이포 */
  .section-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
    margin-bottom: 16px;
  }
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 12px;
  }
  .section-sub {
    font-size: 0.9rem;
    margin-bottom: 36px;
  }
}

/* ══ 초소형 (360px) ══ */
@media (max-width: 360px) {
  .nav__service-btn {
    display: none;
  }
  .nav__cta {
    font-size: 0.7rem;
    padding: 7px 12px;
  }
}
