/* ============================================================
   DISCIPLES 2026 — Mobile-first styles
   ============================================================ */

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #07091c;
  --bg-alt:    #0b0f28;
  --bg-card:   #0f1635;
  --bg-card-h: #162040;
  --cyan:      #00d4ff;
  --blue:      #4da6ff;
  --gold:      #ffd166;
  --mint:      #06d6a0;
  --text:      #dde6f0;
  --muted:     #7f8aaa;
  --border:    rgba(255,255,255,0.07);
  --r:         14px;
  --nav-h:     60px;
  --max-w:     1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* --- Layout helpers --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.section     { padding: 80px 0; }
.section-alt { padding: 80px 0; background: var(--bg-alt); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(7, 9, 28, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--text);
}
.nav-logo span { color: var(--gold); }

/* hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* mobile menu open state */
.nav-open .nav-links {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(7, 9, 28, 0.98);
  padding: 28px 24px;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
  display: none;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--gold) !important;
  color: #07091c !important;
  font-weight: 700 !important;
  padding: 6px 18px;
  border-radius: 20px;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.88; }

@media (min-width: 768px) {
  .nav-links  { display: flex; }
  .nav-toggle { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%,  rgba(77, 166, 255, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 85%,  rgba(6, 214, 160, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 70%,  rgba(255, 209, 102, 0.06) 0%, transparent 50%),
    var(--bg);
}

/* subtle grid texture */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.9;
  margin-bottom: 32px;
  gap: 4px;
}

.title-disciples {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(3.5rem, 15vw, 9.5rem);
  letter-spacing: 0.05em;
  background: linear-gradient(140deg, #ffffff 20%, var(--cyan) 60%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-year {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.5rem, 11vw, 7rem);
  letter-spacing: 0.12em;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(255, 209, 102, 0.35);
}

.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}

.hero-meta-divider { display: none; color: var(--border); }

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.95rem;
  color: var(--muted);
}

@media (min-width: 600px) {
  .hero-meta {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
  .hero-meta-divider { display: block; }
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #ffb347);
  color: #07091c;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255, 209, 102, 0.28);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(255, 209, 102, 0.42);
}
.btn-large { font-size: 1.1rem; padding: 18px 48px; }

/* scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 1; }
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.22);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 900;
  color: var(--text);
}

/* ============================================================
   POSTER
   ============================================================ */
.poster-wrap {
  max-width: 460px;
  margin: 0 auto;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px var(--border);
}

.map-preview {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.map-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.map-preview:hover img,
.map-preview:focus-visible img {
  transform: scale(1.02);
}

.map-preview:focus-visible {
  outline: 3px solid rgba(0, 212, 255, 0.45);
  outline-offset: 8px;
}

/* ============================================================
   SCHEDULE
   ============================================================ */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px)  { .schedule-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .schedule-grid { grid-template-columns: repeat(4, 1fr); } }

.day-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.22s, border-color 0.22s;
}
.day-card:hover {
  transform: translateY(-5px);
  border-color: rgba(77, 166, 255, 0.32);
}

.day-header {
  background: linear-gradient(135deg, #0f1f50, #162a6a);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.day-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.day-date    { text-align: right; }
.day-num {
  display: block;
  font-family: 'Bebas Neue', cursive;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  line-height: 1;
}
.day-weekday { font-size: 0.72rem; color: var(--muted); }

.day-items {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.day-items li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.item-time {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  min-width: 46px;
}

.item-title {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.45;
}

/* ============================================================
   PROGRAMS — image card grid
   ============================================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 600px)  { .programs-grid { gap: 16px; } }
@media (min-width: 900px)  { .programs-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.program-card {
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--border);
  transition: transform 0.22s, box-shadow 0.22s;
}
.program-card:hover,
.program-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  outline: none;
}

.program-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.program-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.35s ease;
}
.program-card:hover .program-thumb img {
  transform: scale(1.04);
}

.program-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 14px 14px;
  background: linear-gradient(to top, rgba(6, 9, 28, 0.92) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.program-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.program-sub {
  font-size: 0.72rem;
  color: var(--gold);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(4, 6, 20, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }

.lb-wrap {
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lb-wrap img {
  max-height: 80vh;
  max-width: min(90vw, 1100px);
  width: auto;
  border-radius: var(--r);
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
  object-fit: contain;
}

.lb-caption {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.lb-close {
  position: fixed;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 501;
}
.lb-close:hover { background: rgba(255,255,255,0.22); }

.lb-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 501;
  line-height: 1;
}
.lb-nav:hover { background: rgba(255,255,255,0.22); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

@media (min-width: 600px) {
  .lb-prev { left: 24px; }
  .lb-next { right: 24px; }
}

/* ============================================================
   REGISTRATION CTA
   ============================================================ */
.section-cta {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(77, 166, 255, 0.08) 0%, transparent 65%),
    var(--bg-alt);
  text-align: center;
}

.cta-content {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 20px;
}

.button-row {
  display: flex;
  justify-content: center;
}

.cta-content h2 {
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 900;
  margin: 14px 0 16px;
}

.cta-content p {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.75;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 48px 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 8px;
}

.footer-info {
  font-size: 0.82rem;
  color: var(--muted);
}
