/* =========================================================
   DESIGN TOKENS
   Navy  : warna identitas & kepercayaan (seragam/almamater)
   Emas  : aksen prestasi/kelulusan
   Krem  : latar hangat, mudah dibaca
   ========================================================= */
:root {
  --navy-900: #101c33;
  --navy-800: #16274a;
  --navy-700: #1c3260;
  --gold-500: #c9a227;
  --gold-400: #d8b84f;
  --pink-500: #ff009c;
  --pink-600: #ff009c;
  --cream-100: #faf7f0;
  --cream-200: #f1ecdf;
  --ink-900: #1f2430;
  --ink-600: #52586a;
  --white: #ffffff;
  --line: #e3ddc9;

 --font-display: "Poppins", "Segoe UI", sans-serif;
 --font-body: "Work Sans", "Segoe UI", sans-serif;

  --radius: 6px;
  --shadow: 0 12px 30px -14px rgba(16, 28, 51, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-100);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link untuk aksesibilitas */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold-500); color: var(--navy-900);
  padding: 10px 16px; z-index: 999; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ===================== HEADER / NAV ===================== */

.site-header {
  background: var(--white);
  color: var(--ink-900);
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img.logo { width: 44px; height: 44px; object-fit: contain; background: var(--white); border-radius: 50%; padding: 3px; border: 1px solid var(--line); }
.brand-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--pink-500); }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink-500); }

nav.main-nav ul {
  list-style: none; display: flex; gap: 6px; margin: 0; padding: 0;
}
nav.main-nav a {
  display: block; padding: 10px 14px; border-radius: var(--radius);
  font-size: 0.95rem; color: var(--pink-500);
  transition: background 0.15s ease, color 0.15s ease;
}
nav.main-nav a:hover, nav.main-nav a:focus, nav.main-nav a.active {
  background: var(--pink-600); color: var(--white); font-weight: 600;
}
.btn-ppdb {
  background: var(--pink-600) !important; color: var(--white) !important;
  font-weight: 700 !important;
}
.nav-toggle { display: none; background: none; border: none; color: var(--pink-500); font-size: 1.6rem; cursor: pointer; }


@media (max-width: 860px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); padding: 10px 20px 20px; border-bottom: 1px solid var(--line);
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; }
}

/* ===================== HERO ===================== */
.hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700) 70%);
  color: var(--white);
  padding: 84px 24px 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -80px; bottom: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.25), transparent 70%);
}
.hero-inner { max-width: 1120px; margin: 0 auto; position: relative; }
.eyebrow {
  display: inline-block; color: var(--pink-500); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; margin-bottom: 14px;
}
.hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.1rem); max-width: 720px; }
.hero p.lead { color: var(--cream-200); max-width: 560px; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pink-500); color: var(--white); }
.btn-primary:hover { background: var(--pink-600); }
.btn-outline { border-color: var(--pink-500); color: var(--white); }
.btn-outline:hover { background: rgba(232,116,156,0.15); border-color: var(--pink-600); }

/* ===================== SECTIONS ===================== */
section.block { padding: 64px 0; }
.section-head { margin-bottom: 36px; max-width: 640px; }
.section-head .eyebrow { color: var(--pink-500); }
.section-head p { color: var(--pink-500); }
.bg-cream { background: #eeeeee; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.card-date { font-size: 0.78rem; color: var(--pink-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.card p { color: var(--ink-600); font-size: 0.92rem; flex: 1; }
.card-link { font-weight: 600; color: var(--navy-700); font-size: 0.9rem; margin-top: 10px; }

.stat-strip {
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px;
  background: rgba(16,28,51,0.75); color: var(--white); padding: 40px 24px; border-radius: var(--radius);
}
.stat-item { text-align: center; }
.stat-item .num { font-family: var(--font-display); font-size: 2.1rem; color: var(--white); font-weight: 700; }
.stat-item .label { font-size: 0.85rem; color: var(--pink-500); text-transform: uppercase; letter-spacing: 0.06em; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid a { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-grid img { aspect-ratio: 1/1; object-fit: cover; transition: transform 0.25s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===================== FORMS ===================== */
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; }
.field .hint { font-size: 0.8rem; color: var(--ink-600); margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=password], select, textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.96rem; background: var(--white); color: var(--ink-900);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201,162,39,0.2);
}
textarea { resize: vertical; min-height: 110px; }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.94rem; }
.alert-success { background: #e5f5e8; color: #1e6b34; border: 1px solid #b7e2c1; }
.alert-error { background: #fbe8e8; color: #9c2626; border: 1px solid #f0bcbc; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy-900); color: var(--cream-200); padding: 56px 24px 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px;
  font-size: 0.82rem; color: var(--cream-200); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

.breadcrumb { font-size: 0.85rem; color: var(--ink-600); margin-bottom: 18px; }
.breadcrumb a { color: var(--navy-700); font-weight: 600; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-600); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span {
  padding: 8px 14px; border-radius: var(--radius); border: 1px solid var(--line); font-size: 0.9rem;
}
.pagination a:hover { background: var(--navy-900); color: var(--white); }
.pagination .current { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

/* ===================== HERO SLIDER (tambahan) ===================== */
.hero.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
  z-index: 0;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(16,28,51,0.45), rgba(28,50,96,0.28) 70%);
}
.hero.hero-slider .hero-inner { position: relative; z-index: 2; }
.hero.hero-slider::after { display: none; } /* nonaktifkan efek lingkaran gold bawaan saat slider aktif */

.hero-dots {
  position: absolute; z-index: 3; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,0.4); cursor: pointer; transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dots button.active { background: var(--gold-500); transform: scale(1.2); }



/* ===================== VIDEO GRID (tambahan) ===================== */
.video-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 860px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }

.video-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.video-embed {
  position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; cursor: pointer;
}
.video-embed img { width: 100%; height: 100%; object-fit: cover; }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%; border: none;
  background: rgba(201,162,39,0.9); color: var(--navy-900);
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform 0.15s ease, background 0.15s ease;
}
.video-embed:hover .video-play-btn { background: var(--gold-500); transform: translate(-50%, -50%) scale(1.08); }
.video-title { padding: 14px 16px; font-weight: 600; font-size: 0.96rem; color: var(--navy-900); }

