/* ════════════════════════════════════════════════════════════
   HOME PAGE — Styles khusus halaman utama
   Diload hanya di: application/view/index.php (via page_css.php)
   ════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════
   1. HERO
   ════════════════════════════════════════════════════════════ */

#hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 60% at 70% 25%, rgba(200,154,42,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 75%, rgba(200,154,42,0.04) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,154,42,0.033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,154,42,0.033) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 58%;
  height: 100%;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://kbc.or.id/img/slideshow/slideshow--1598000478.jpeg') center/cover no-repeat;
  filter: grayscale(40%) brightness(0.5);
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero-visual:hover::before { transform: scale(1); }

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg-deep) 0%, var(--overlay-hero-mid) 45%, transparent 100%);
  transition: background 0.3s ease;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 56px 88px;
  max-width: 660px;
}

.hero-title {
  font-family: var(--font-alt);
  font-size: clamp(68px, 10vw, 136px);
  line-height: 0.88;
  color: var(--text-primary);
  margin-bottom: 22px;
  letter-spacing: 2px;
}

.hero-title .accent { color: var(--gold); }

.hero-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 460px;
  margin-bottom: 34px;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  right: 44px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: bobFloat 2.4s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes bobFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

.hero-entry {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 0.9s var(--ease-expo) forwards;
}

@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }


/* ════════════════════════════════════════════════════════════
   2. ABOUT
   ════════════════════════════════════════════════════════════ */

#about {
  background: var(--bg-about);
  color: var(--text-about);
  transition: var(--transition-theme);
}

.about-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 540px;
}

.about-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: transform 0.7s var(--ease-silk), filter 0.5s;
}

.about-img-wrap:hover img { transform: scale(1.05); filter: grayscale(0%); }

.about-img-wrap::after { content: ''; position: absolute; inset: 0; }

.about-content-wrap {
  padding: 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-about);
  margin-bottom: 18px;
}

.about-heading em { font-style: italic; color: var(--gold-dark); }

.about-text {
  font-size: 14px;
  color: var(--text-about-sub);
  line-height: 1.9;
  font-weight: 300;
}

.value-card {
  background: var(--bg-about-card);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 18px 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.value-card:hover {
  transform: translateX(5px);
  box-shadow: 6px 6px 24px rgba(0,0,0,0.08);
}

.value-title {
  font-family: var(--font-alt);
  font-size: 14px;
  letter-spacing: 1.5px;
  color: var(--text-about);
  margin-bottom: 5px;
}

.value-desc {
  font-size: 11.5px;
  color: var(--text-about-sub);
  line-height: 1.6;
}


/* ════════════════════════════════════════════════════════════
   3. STATS
   ════════════════════════════════════════════════════════════ */

#stats {
  background: var(--bg-deep);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  transition: var(--transition-theme);
}

#stats::before {
  content: 'ALUMNI';
  position: absolute;
  font-family: var(--font-alt);
  font-size: 220px;
  color: rgba(200,154,42,0.024);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.stats-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--text-primary);
}

.stats-heading span { color: var(--gold); }

.stats-note {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 6px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r);
  padding: 40px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
  cursor: default;
  height: 100%;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-expo);
}

.stat-card:hover { background: var(--bg-card-2); border-color: var(--border-nav); }
.stat-card:hover::after { transform: scaleX(1); }

.stat-number {
  font-family: var(--font-alt);
  font-size: 50px;
  color: var(--gold);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ════════════════════════════════════════════════════════════
   4. EVENTS
   ════════════════════════════════════════════════════════════ */

#events {
  background: var(--bg-card);
  padding: 100px 0;
  transition: var(--transition-theme);
}

.event-card {
  background: var(--bg-card-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r);
  overflow: hidden;
  transition: all 0.35s var(--ease-silk);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  border-color: var(--border-nav);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.18);
}

.event-cover {
  position: relative;
  height: 185px;
  overflow: hidden;
  flex-shrink: 0;
}

.event-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) brightness(0.72);
  transition: transform 0.55s var(--ease-silk), filter 0.45s;
}

.event-card:hover .event-cover img { transform: scale(1.08); filter: grayscale(0%) brightness(0.78); }

.event-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--overlay-cover) 0%, var(--overlay-cover-mid) 55%, transparent 100%);
  transition: background 0.3s ease;
}

.event-type-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 700;
}

.event-date-block {
  position: absolute;
  bottom: 0;
  left: 18px;
  z-index: 2;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 9px 14px;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  text-align: center;
  min-width: 54px;
}

.date-day   { font-family: var(--font-alt); font-size: 32px; line-height: 1; display: block; }
.date-month { font-size: 9px; font-weight: 700; letter-spacing: 1px; display: block; }
.date-year  { font-size: 8px; opacity: 0.65; letter-spacing: 1px; display: block; }

.event-body {
  padding: 20px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  margin: 0 0 12px;
  flex: 1;
}

.event-meta-item {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.event-meta-item i { color: var(--gold); font-size: 11px; }

.btn-register {
  display: inline-block;
  padding: 9px 22px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-nav);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: all 0.22s;
}

.btn-register:hover { background: var(--gold); color: var(--bg-deep); border-color: var(--gold); }


/* ════════════════════════════════════════════════════════════
   5. PODCAST
   ════════════════════════════════════════════════════════════ */

#podcast {
  background: var(--bg-podcast);
  color: var(--text-podcast);
  padding: 100px 0;
  transition: var(--transition-theme);
}

#podcast .section-heading       { color: var(--text-podcast); }
#podcast .section-heading span  { color: var(--gold-dark); }
#podcast .link-see-all          { color: var(--gold-dark); }

.podcast-card {
  background: var(--bg-podcast-card);
  border-radius: var(--r);
  padding: 26px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid transparent;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  transition: all 0.3s;
  height: 100%;
}

.podcast-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.podcast-thumb {
  width: 84px;
  height: 84px;
  border-radius: var(--r-sm);
  background: var(--bg-about);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

.episode-tag {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 6px;
}

.podcast-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-podcast);
  line-height: 1.45;
  margin-bottom: 14px;
}

.platform-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s;
}

.platform-badge:hover { transform: scale(1.18); }

.platform-yt { background: #FF0000; }
.platform-sp { background: #1DB954; }
.platform-ap { background: #9933CC; }
.platform-go { background: #4285F4; }

.btn-share {
  background: var(--gold);
  color: var(--bg-deep);
  border: none;
  padding: 7px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-share:hover { background: var(--gold-light); }


/* ════════════════════════════════════════════════════════════
   6. VIDEO
   ════════════════════════════════════════════════════════════ */

#video {
  background: var(--bg-deep);
  padding: 100px 0;
  transition: var(--transition-theme);
}

.video-player {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  cursor: pointer;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}

.video-player::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(200,154,42,0.07) 0%, transparent 70%);
}

.video-player:hover { border-color: var(--border-nav); box-shadow: 0 0 60px rgba(200,154,42,0.07); }

.play-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--bg-deep);
  transition: transform 0.3s;
  position: relative;
  z-index: 1;
}

.play-circle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.3;
  animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
  0%   { transform: scale(1);   opacity: 0.3; }
  100% { transform: scale(2.1); opacity: 0; }
}

.video-player:hover .play-circle { transform: scale(1.1); }

.video-label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.video-hint {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  position: relative;
  z-index: 1;
}


/* ════════════════════════════════════════════════════════════
   7. ARTICLES
   ════════════════════════════════════════════════════════════ */

#articles {
  background: var(--bg-card);
  padding: 100px 0;
  transition: var(--transition-theme);
}

.article-card {
  background: var(--bg-card-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r);
  overflow: hidden;
  transition: all 0.35s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--border-nav);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.2);
}

.article-thumb { height: 200px; overflow: hidden; }

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%);
  transition: all 0.5s;
}

.article-card:hover .article-thumb img { filter: grayscale(0%); transform: scale(1.06); }

.article-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-meta-tag {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.article-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.article-excerpt {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}

.btn-read-more {
  font-size: 10px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.btn-read-more:hover { gap: 12px; color: var(--gold); }


/* ════════════════════════════════════════════════════════════
   8. COMING SOON STATE
   ════════════════════════════════════════════════════════════ */

.coming-soon-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 16px;
  margin-bottom: 4px;
}

.coming-soon-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}


/* ════════════════════════════════════════════════════════════
   9. RESPONSIVE — home-specific overrides
   ════════════════════════════════════════════════════════════ */

/* ── Tablet landscape (≤1199px) ── */
@media (max-width: 1199.98px) {
  .hero-content       { padding: 0 40px 80px; }
  .about-content-wrap { padding: 60px 40px; }
}

/* ── Tablet portrait (≤991px) ── */
@media (max-width: 991.98px) {
  .about-img-wrap     { min-height: 300px; }
  .about-content-wrap { padding: 52px 32px; }

  .hero-content { padding: 0 32px 72px; max-width: 100%; }
  .hero-visual  { width: 100%; clip-path: none; }
  .hero-visual::after {
    background: linear-gradient(to top, var(--bg-deep) 30%, var(--overlay-hero-mob) 60%, transparent 100%);
  }

  #stats::before { font-size: 140px; }
}

/* ── Mobile large (≤767px) ── */
@media (max-width: 767.98px) {
  .about-content-wrap { padding: 44px 24px; }
  .stat-number        { font-size: 40px; }
  .event-card:hover   { transform: none; }
  .article-card:hover { transform: none; }
}

/* ── Mobile small (≤575px) ── */
@media (max-width: 575.98px) {
  .hero-content       { padding: 0 20px 60px; }
  .about-content-wrap { padding: 36px 20px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .hero-entry {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .scroll-indicator    { animation: none; }
  .play-circle::after  { animation: none; }
}