:root {
  --vp-navy: #0f1c30;
  --vp-navy-2: #16283f;
  --vp-accent: #2f6fed;
  --vp-gray-text: #6b7280;
  --vp-border: #e7e9ee;
}

body {
  font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: #222;
}

a { text-decoration: none; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,0));
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: var(--vp-navy);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.site-header .utility-bar a { color: rgba(255,255,255,.7); }
.site-header .utility-bar a:hover { color: #fff; }
.navbar-brand { color: #fff !important; line-height: 1.1; font-size: 1.4rem; }
.navbar-brand .tagline { font-size: .65rem; letter-spacing: .05em; color: rgba(255,255,255,.6); font-weight: 400; }
.navbar-nav .nav-link { color: rgba(255,255,255,.9) !important; font-weight: 600; letter-spacing: .02em; padding: .5rem 1rem !important; }
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover { color: #fff !important; }
.navbar .dropdown-menu { border: none; box-shadow: 0 8px 24px rgba(0,0,0,.12); border-radius: .25rem; }

/* Home page: navbar sits on transparent hero from the start */
body.is-home .site-header { background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,0)); }

/* ===== Home Hero (carousel) ===== */
.home-hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.home-hero .carousel,
.home-hero .carousel-inner,
.home-hero .carousel-item { height: 100%; }
.home-hero .carousel-item img { height: 100%; object-fit: cover; filter: brightness(.65); }
.home-hero .carousel-caption { top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; left: 8%; right: auto; max-width: 640px; }
.home-hero .caption-eng { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; color: rgba(255,255,255,.92); margin-bottom: 1rem; }
.home-hero .caption-kor { font-size: 1.15rem; line-height: 1.7; font-weight: 500; }

/* ===== Home sections ===== */
.section-pad { padding: 5.5rem 0; }
.section-eyebrow { color: var(--vp-accent); font-weight: 700; letter-spacing: .08em; font-size: .85rem; }
.section-title { font-weight: 800; font-size: 2rem; margin-top: .25rem; }

.quick-card {
  border: 1px solid var(--vp-border);
  border-radius: .5rem;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.quick-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(15,28,48,.1); }
.quick-card i { font-size: 2.2rem; color: var(--vp-accent); }
.quick-card h3 { font-size: 1.1rem; font-weight: 700; margin: .75rem 0 .5rem; }
.quick-card p { color: var(--vp-gray-text); font-size: .9rem; margin-bottom: 0; }

.business-band { background: var(--vp-navy); color: #fff; }
.business-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .5rem;
  padding: 2rem 1.25rem;
  text-align: center;
  height: 100%;
}
.business-card h4 { font-weight: 700; margin-bottom: 0; }

.contact-card {
  background: #f5f7fb;
  border-radius: .5rem;
  padding: 2rem;
  height: 100%;
}
.contact-card dt { font-weight: 700; color: var(--vp-navy); }
.contact-card dd { color: var(--vp-gray-text); margin-bottom: 1rem; }

.cta-band { background: var(--vp-accent); color: #fff; padding: 3rem 0; text-align: center; }

/* ===== Sub page hero ===== */
.page-hero {
  margin-top: 0;
  padding: 11rem 0 3.5rem;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.page-hero .hero-eng { font-size: 2.4rem; font-weight: 800; letter-spacing: .04em; margin-bottom: .25rem; }
.page-hero .hero-kor { font-size: 1rem; color: rgba(255,255,255,.85); margin-bottom: 0; }

.sub-tab-bar { background: var(--vp-navy-2); }
.sub-tab { max-width: 1140px; margin: 0 auto; }
.sub-tab .nav-link {
  color: rgba(255,255,255,.75);
  font-weight: 600;
  padding: 1rem 1.75rem;
  border-radius: 0;
  background: transparent;
}
.sub-tab .nav-link.active { background: #fff; color: var(--vp-navy); }

/* ===== Generic content ===== */
.content-wrap { padding: 4.5rem 0; }
.content-title { font-weight: 800; font-size: 1.9rem; text-align: center; margin-bottom: 3rem; }

.leader-block p { color: #444; line-height: 1.9; margin-bottom: 1.1rem; }
.leader-sign { text-align: right; font-weight: 700; margin-top: 2rem; }

.gallery-grid img { border-radius: .25rem; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery-grid figcaption { font-size: .85rem; color: var(--vp-gray-text); margin-top: .5rem; }

.webzine-item + .webzine-item { border-top: 1px solid var(--vp-border); margin-top: 2.5rem; padding-top: 2.5rem; }
.webzine-item img { border-radius: .25rem; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.webzine-item h5 { font-weight: 700; }
.webzine-item p { color: var(--vp-gray-text); }

.business-detail + .business-detail { margin-top: 4rem; padding-top: 4rem; border-top: 1px solid var(--vp-border); }
.business-detail img { border-radius: .5rem; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.business-detail .eng { color: var(--vp-gray-text); font-weight: 600; margin-bottom: .5rem; }
.business-detail h3 { font-weight: 800; font-size: 1.5rem; }
.business-detail p { color: #444; line-height: 1.85; }

.table-notice thead { background: #f5f7fb; }
.table-notice td, .table-notice th { vertical-align: middle; }
.table-notice tbody tr { cursor: pointer; }
.table-notice tbody tr:hover { background: #f9fafc; }

.map-embed { border: 0; width: 100%; height: 380px; border-radius: .5rem; }

/* ===== Footer ===== */
.site-footer { background: var(--vp-navy); color: rgba(255,255,255,.6); padding: 3rem 0 2.5rem; font-size: .875rem; }
.site-footer .footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; padding: 0; margin-bottom: 1.25rem; }
.site-footer .footer-nav a { color: rgba(255,255,255,.85); font-weight: 700; }
.site-footer .footer-nav a:hover { color: #fff; }
.footer-social { margin-top: 1.25rem; display: flex; gap: .75rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
}
.footer-social a:hover { background: rgba(255,255,255,.1); color: #fff; }

@media (max-width: 991.98px) {
  .site-header { background: var(--vp-navy); }
  .navbar-collapse { background: var(--vp-navy); padding: 1rem; border-radius: .5rem; margin-top: .5rem; }
  .home-hero .carousel-caption { left: 6%; right: 6%; }
}
