/* ============================================================
   VENTARA GLOBAL — main.css
   전체 공통 스타일, CSS 변수, 기본 레이아웃
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --navy:         #0B1F3A;
  --navy-mid:     #152D4E;
  --navy-light:   #1E3A5F;
  --navy-deep:    #071628;
  --gold:         #C8922A;
  --gold-light:   #E8B84B;
  --gold-pale:    #F5E4B8;
  --gold-dark:    #9A6E1A;
  --white:        #FFFFFF;
  --off-white:    #F4F5F8;
  --gray-50:      #F9FAFB;
  --gray-100:     #F3F4F6;
  --gray-200:     #E5E7EB;
  --gray-400:     #9CA3AF;
  --gray-600:     #6B7280;
  --gray-800:     #1F2937;
  --text:         #1A2035;

  --font-display: 'Barlow Condensed', 'Noto Sans KR', sans-serif;
  --font-body:    'Barlow', 'Noto Sans KR', sans-serif;
  --font-ko:      'Noto Sans KR', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 16px rgba(11,31,58,.1);
  --shadow-lg:  0 12px 40px rgba(11,31,58,.15);
  --shadow-gold: 0 8px 32px rgba(200,146,42,.25);

  --transition: all .25s cubic-bezier(.4,0,.2,1);
  --max-width: 1200px;
  --section-pad: 96px 5vw;
}

/* ── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

body.lang-ko { font-family: var(--font-ko); }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: .5px;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .3px;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}

.sec-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .3px;
  color: var(--navy);
  margin-bottom: 16px;
  white-space: pre-line;
}

.sec-title.light { color: var(--white); }

.sec-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  max-width: 560px;
}

.sec-desc.center { text-align: center; margin: 0 auto; }

/* ── LAYOUT HELPERS ────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5vw;
  width: 100%;
}

section { padding: var(--section-pad); }

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid transparent;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,146,42,.06);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 1px;
}

/* ── BADGE ─────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.badge-active {
  background: rgba(200,146,42,.15);
  color: var(--gold);
  border: 1px solid rgba(200,146,42,.3);
}

.badge-soon {
  background: rgba(107,114,128,.1);
  color: var(--gray-600);
  border: 1px solid rgba(107,114,128,.2);
}

/* ── DIVIDER ───────────────────────────────────────────────── */
.gold-line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 24px;
}

.gold-line.center { margin: 0 auto 24px; }

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1),
              transform .65s cubic-bezier(.4,0,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── UTILITY ───────────────────────────────────────────────── */
.text-gold  { color: var(--gold); }
.text-white { color: var(--white); }
.text-gray  { color: var(--gray-600); }
.bg-navy    { background: var(--navy); }
.bg-off     { background: var(--off-white); }
.mt-8       { margin-top: 8px; }
.mt-16      { margin-top: 16px; }
.mt-24      { margin-top: 24px; }
