/* ══════════════════════════════════════════
   THAIBiT Media Agency — Shared Stylesheet
   ══════════════════════════════════════════ */

/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:   #0d1b3e;
  --navy2:  #1a2f5a;
  --gold:   #c9962a;
  --gold2:  #e8b84b;
  --light:  #f5f7fc;
  --white:  #ffffff;
  --text:   #1a1a2e;
  --gray:   #6b7a99;
  --radius: 14px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
section { padding: 88px 0; }

/* ── Typography helpers ── */
.gold  { color: var(--gold2); }
.navy  { color: var(--navy); }
.section-label {
  text-align: center; font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 10px;
}
.section-title {
  text-align: center;
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 900; color: var(--navy);
  line-height: 1.2; margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: var(--gray);
  font-size: 15px; max-width: 540px;
  margin: 0 auto 52px; line-height: 1.8;
}
.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 0 auto 52px; max-width: 260px;
}
.divider span { flex: 1; height: 1px; background: var(--gold); }
.divider i { width: 8px; height: 8px; background: var(--gold2); transform: rotate(45deg); display: block; }

/* ── Buttons ── */
.btn-primary {
  background: var(--gold); color: var(--navy); font-weight: 800;
  padding: 14px 32px; border-radius: 30px; font-size: 15px;
  display: inline-block; transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(201,150,42,0.35);
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.35); color: var(--white); font-weight: 600;
  padding: 14px 32px; border-radius: 30px; font-size: 15px;
  display: inline-block; transition: all 0.25s;
}
.btn-outline:hover { border-color: var(--gold2); color: var(--gold2); }
.btn-navy {
  background: var(--navy); color: var(--white); font-weight: 800;
  padding: 14px 32px; border-radius: 30px; font-size: 15px;
  display: inline-block; transition: all 0.25s;
}
.btn-navy:hover { background: var(--navy2); transform: translateY(-2px); }

/* ══════════ NAV ══════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(13,27,62,0.97); backdrop-filter: blur(10px);
  padding: 0 32px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
}
.nav-logo .logo-box {
  border: 1.5px solid var(--gold); padding: 4px 12px; border-radius: 5px;
  font-size: 17px; letter-spacing: 2px; color: var(--gold2); font-weight: 900;
}
.nav-logo .logo-sub {
  font-size: 10px; color: rgba(255,255,255,0.4);
  letter-spacing: 1px; text-transform: uppercase;
  display: none; /* shown on wider screens */
}
.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-links a {
  color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 20px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--gold2); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--gold2); font-weight: 700; }
.nav-links .nav-cta {
  background: var(--gold); color: var(--navy) !important;
  font-weight: 800; margin-left: 8px;
}
.nav-links .nav-cta:hover { background: var(--gold2); }

/* ── Mobile Nav Toggle ── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s;
}
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: var(--navy); padding: 20px 24px; z-index: 199;
  flex-direction: column; gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.8); font-size: 15px; padding: 12px 16px;
  border-radius: 10px; transition: all 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { background: rgba(255,255,255,0.08); color: var(--gold2); }
.mobile-menu .nav-cta { background: var(--gold); color: var(--navy) !important; font-weight: 800; text-align: center; }

/* ══════════ FOOTER ══════════ */
footer {
  background: #070d1e; padding: 48px 32px 28px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .f-logo { color: var(--gold2); font-size: 22px; font-weight: 900; letter-spacing: 2px; }
.footer-brand .f-tagline { color: rgba(255,255,255,0.35); font-size: 11px; letter-spacing: 1.5px; margin-top: 4px; text-transform: uppercase; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 13px; margin-top: 14px; line-height: 1.7; max-width: 260px; }
.footer-col h4 { color: var(--gold2); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.55); font-size: 13px; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold2); }
.footer-contact-item { margin-bottom: 12px; }
.footer-contact-item .lbl { font-size: 10px; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 1.5px; }
.footer-contact-item .val { color: var(--gold2); font-size: 14px; font-weight: 600; margin-top: 2px; }
.footer-bottom {
  max-width: 1100px; margin: 20px auto 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { color: rgba(255,255,255,0.2); font-size: 11px; }
.footer-gold-line {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold2) 50%, var(--gold) 80%, transparent);
  margin-bottom: 0;
}

/* ══════════ HERO (shared base) ══════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d1b3e 0%, #1a2f5a 60%, #0d1b3e 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding-top: 64px;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold) 25%, var(--gold2) 50%, var(--gold) 75%, transparent);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; padding: 80px 28px 80px;
  max-width: 1100px; margin: 0 auto;
}

/* ── Page Hero (smaller, for inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #0d1b3e 0%, #1a2f5a 60%, #0d1b3e 100%);
  padding: 120px 28px 72px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold) 25%, var(--gold2) 50%, var(--gold) 75%, transparent);
}
.page-hero .hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,150,42,0.15); border: 1px solid rgba(201,150,42,0.4);
  padding: 6px 18px; border-radius: 20px;
  color: var(--gold2); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 600; margin-bottom: 20px;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 58px); font-weight: 900; color: var(--white);
  line-height: 1.1; margin-bottom: 16px;
}
.page-hero h1 .gold-line { color: var(--gold2); }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 16px; max-width: 520px; margin: 0 auto; }

/* ══════════ CTA BAND ══════════ */
.cta-band {
  background: linear-gradient(135deg, #c9962a 0%, #e8b84b 50%, #c9962a 100%);
  padding: 72px 28px; text-align: center;
}
.cta-band h2 { font-size: clamp(22px, 3.5vw, 36px); font-weight: 900; color: var(--navy); margin-bottom: 10px; }
.cta-band p { color: rgba(13,27,62,0.7); font-size: 15px; margin-bottom: 32px; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════ CARDS ══════════ */
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid rgba(13,27,62,0.07);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  transition: all 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(13,27,62,0.11); }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .page-hero { padding: 100px 20px 56px; }
}
