/* ============================================
   KPGI – Komunitas Pendaki Gunung Indonesia
   style.css – Complete Design System
   ============================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --black-deep:    #0a0a0a;
  --black-rich:    #111111;
  --black-surface: #1a1a1a;
  --black-card:    #202020;
  --black-border:  #2e2e2e;

  --brown-dark:    #6b2f0e;
  --brown-mid:     #8b4513;
  --brown-warm:    #a0522d;
  --brown-accent:  #c7733a;
  --brown-light:   #d9924e;
  --brown-pale:    #e8b084;

  --stone-dark:    #3a3530;
  --stone-mid:     #555046;
  --stone-warm:    #7a6e63;
  --stone-light:   #aaa09a;
  --stone-pale:    #ccc5be;

  --white-pure:    #ffffff;
  --white-warm:    #f5f0eb;
  --white-off:     #ede7df;

  --text-primary:  #f0ece8;
  --text-secondary:#b8b0a8;
  --text-muted:    #7a746e;

  /* Gradients */
  --grad-hero:     linear-gradient(160deg, #0a0a14 0%, #1a0f05 50%, #2d1a0a 100%);
  --grad-card:     linear-gradient(145deg, #1e1a16 0%, #171310 100%);
  --grad-accent:   linear-gradient(135deg, #8b4513, #c7733a);
  --grad-dark:     linear-gradient(180deg, #111 0%, #0a0a0a 100%);

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:     0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg:     0 20px 50px rgba(0,0,0,0.6);
  --shadow-glow:   0 0 30px rgba(199,115,58,0.25);
  --shadow-card:   0 4px 20px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.3);

  /* Spacing */
  --section-pad:   100px;
  --container:     1200px;
  --gap-sm:        16px;
  --gap-md:        24px;
  --gap-lg:        40px;

  /* Typography */
  --font-head:     'Montserrat', sans-serif;
  --font-body:     'Open Sans', sans-serif;

  /* Radius */
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  /* Transition */
  --ease:          all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:   all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  height: auto !important;
}

body {
  font-family: var(--font-body);
  background-color: var(--black-deep) !important;
  color: var(--text-primary) !important;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  height: auto !important;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black-rich); }
::-webkit-scrollbar-thumb { background: var(--brown-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--brown-accent); }

/* ===== LOADER ===== */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-mountain svg {
  width: 80px;
  height: 55px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-text {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--brown-accent);
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--black-border);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  background: var(--grad-accent);
  border-radius: 2px;
  animation: loaderFill 1.8s ease forwards;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes loaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  transition: var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-accent);
  color: var(--white-pure);
  box-shadow: 0 4px 20px rgba(199,115,58,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(199,115,58,0.5);
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--white-warm);
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--brown-accent);
  color: var(--brown-accent);
  transform: translateY(-2px);
  background: rgba(199,115,58,0.08);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.82rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
  font-size: 1rem;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--ease);
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--black-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--ease);
}

.nav-logo:hover { opacity: 0.85; }

.logo-icon {
  width: 36px;
  height: 28px;
}

.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 3px;
  color: var(--white-pure);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--stone-pale);
  border-radius: 50px;
  transition: var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brown-accent);
  background: rgba(199,115,58,0.1);
}

.nav-cta {
  padding: 9px 22px;
  background: var(--grad-accent);
  color: var(--white-pure) !important;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--ease);
  box-shadow: 0 3px 15px rgba(199,115,58,0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(199,115,58,0.45);
  filter: brightness(1.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white-warm);
  border-radius: 2px;
  transition: var(--ease);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-mountains {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}

.mountains-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.3) 0%,
    rgba(10,10,10,0.1) 40%,
    rgba(10,10,10,0.6) 80%,
    rgba(10,10,10,0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(199,115,58,0.15);
  border: 1px solid rgba(199,115,58,0.35);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--brown-accent);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--white-pure);
  margin-bottom: 24px;
}

.hero-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--stone-pale);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 60px;
  padding: 20px 40px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 32px;
}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brown-accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--stone-light);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--stone-pale);
  transition: var(--ease);
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll:hover {
  border-color: var(--brown-accent);
  color: var(--brown-accent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(199,115,58,0.12);
  border: 1px solid rgba(199,115,58,0.25);
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown-accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white-pure);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title.left { text-align: left; }

.section-desc {
  color: var(--stone-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ===== TENTANG ===== */
.tentang {
  background: var(--black-rich);
}

.tentang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.tentang-card {
  background: var(--grad-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}

.tentang-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(199,115,58,0.05) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

.tentang-card:hover {
  border-color: rgba(199,115,58,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.tentang-icon {
  width: 58px;
  height: 58px;
  background: rgba(199,115,58,0.12);
  border: 1px solid rgba(199,115,58,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-accent);
  margin-bottom: 20px;
}

.tentang-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 14px;
}

.tentang-card p {
  color: var(--stone-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

.misi-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.misi-list li {
  color: var(--stone-light);
  font-size: 0.92rem;
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.misi-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--brown-accent);
  border-radius: 50%;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--grad-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card:hover::after { transform: scaleX(1); }
.stat-card:hover { border-color: rgba(199,115,58,0.25); }

.stat-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--stone-light);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== EVENT ===== */
.event {
  background: var(--black-deep);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.event-card {
  background: var(--grad-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--ease);
}

.event-card:hover {
  border-color: rgba(199,115,58,0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.event-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.event-img-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.event-card:hover .event-img-bg {
  transform: scale(1.07);
}

.event-img-1 {
  background: linear-gradient(160deg, #1a0a00 0%, #4a1a00 40%, #8b3a0d 70%, #2d1405 100%);
}
.event-img-2 {
  background: linear-gradient(160deg, #050d1a 0%, #0d2040 40%, #1a3d6b 70%, #0a1520 100%);
}
.event-img-3 {
  background: linear-gradient(160deg, #0d1a0d 0%, #1a3520 40%, #2a5c35 70%, #0a1a0d 100%);
}

/* Mountain silhouette overlay on event cards */
.event-img-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.event-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: rgba(199,115,58,0.9);
  color: var(--white-pure);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 1;
}

.event-badge.advanced {
  background: rgba(180,30,30,0.9);
}

.event-difficulty {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white-warm);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  z-index: 1;
  backdrop-filter: blur(8px);
}

.event-difficulty.easy { background: rgba(30,120,30,0.7); }
.event-difficulty.hard { background: rgba(160,30,30,0.7); }

.event-body {
  padding: 24px;
}

.event-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.event-date,
.event-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--stone-light);
}

.event-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 10px;
  line-height: 1.4;
}

.event-desc {
  font-size: 0.88rem;
  color: var(--stone-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.event-slots {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 120px;
}

.event-slots span {
  font-size: 0.75rem;
  color: var(--stone-light);
}

.slots-bar {
  height: 4px;
  background: var(--black-border);
  border-radius: 2px;
  overflow: hidden;
}

.slots-fill {
  height: 100%;
  background: var(--grad-accent);
  border-radius: 2px;
  transition: width 1s ease;
}

.event-more {
  text-align: center;
  margin-top: 48px;
}

/* ===== GALERI ===== */
.galeri {
  background: var(--black-rich);
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 14px;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg, #1a1a1a);
  min-height: 220px;
  transition: var(--ease);
}

.gallery-item:hover {
  transform: scale(1.02);
  z-index: 2;
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-mountain-art {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: transform 0.5s ease;
}

.gallery-mountain-art svg {
  width: 100%;
  height: 100%;
  max-height: 160px;
}

.gallery-item.gallery-tall .gallery-mountain-art svg {
  max-height: 260px;
}

.gallery-item.gallery-wide .gallery-mountain-art svg {
  max-height: 180px;
}

.gallery-item:hover .gallery-mountain-art {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.2) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--brown-pale);
  margin-bottom: 5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.gallery-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white-pure);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 40px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
  z-index: 1;
}

.lightbox-close:hover {
  background: rgba(199,115,58,0.3);
  border-color: var(--brown-accent);
}

.lightbox-content {
  max-width: 600px;
  width: 100%;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-art {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-art svg {
  width: 100%;
  height: 100%;
}

.lightbox-info {
  padding: 24px 30px;
  border-top: 1px solid var(--black-border);
}

.lightbox-info h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 6px;
}

.lightbox-info p {
  color: var(--stone-light);
  font-size: 0.9rem;
}

/* ===== ARTIKEL ===== */
.artikel {
  background: var(--black-deep);
}

.artikel-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.artikel-card {
  background: var(--grad-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--ease);
}

.artikel-card:hover {
  border-color: rgba(199,115,58,0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.artikel-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.artikel-card.featured .artikel-img {
  height: 240px;
}

.artikel-img-art {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: transform 0.5s ease;
}

.artikel-card:hover .artikel-img-art { transform: scale(1.05); }

.artikel-img-art svg { width: 100%; height: 100%; }

.artikel-category {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 5px 14px;
  background: var(--grad-accent);
  color: var(--white-pure);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.artikel-body {
  padding: 24px;
}

.artikel-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.artikel-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--stone-mid);
}

.artikel-body h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 10px;
  line-height: 1.4;
}

.artikel-card.featured .artikel-body h3 {
  font-size: 1.15rem;
}

.artikel-body p {
  font-size: 0.88rem;
  color: var(--stone-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.artikel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown-accent);
  font-family: var(--font-head);
  transition: var(--ease);
}

.artikel-link:hover {
  gap: 10px;
  color: var(--brown-light);
}

/* ===== DAFTAR ===== */
.daftar {
  background: var(--black-rich);
  position: relative;
  overflow: hidden;
}

.daftar::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(199,115,58,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.daftar-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.daftar-info h2 {
  margin-bottom: 16px;
}

.daftar-info > p {
  color: var(--stone-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.daftar-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.daftar-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--stone-pale);
  line-height: 1.5;
}

.daftar-benefits li svg {
  color: var(--brown-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Form */
.daftar-form {
  background: var(--grad-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
}

.daftar-form h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 28px;
  text-align: center;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--stone-pale);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.form-group label svg { color: var(--brown-accent); }

.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.93rem;
  transition: var(--ease);
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder { color: var(--stone-mid); }
.form-group select option { background: var(--black-card); color: var(--text-primary); }

.form-group input:focus,
.form-group select:focus {
  border-color: var(--brown-accent);
  background: rgba(199,115,58,0.06);
  box-shadow: 0 0 0 3px rgba(199,115,58,0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--stone-mid);
  margin-top: 12px;
  line-height: 1.5;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px 0;
}

.form-success svg { color: #4caf50; }
.form-success h4 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--white-pure);
}

.form-success p { color: var(--stone-light); font-size: 0.9rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black-deep);
  border-top: 1px solid var(--black-border);
}

.footer-top {
  padding: 70px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-tagline {
  color: var(--stone-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--black-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone-light);
  transition: var(--ease);
}

.social-link:hover {
  background: rgba(199,115,58,0.15);
  border-color: var(--brown-accent);
  color: var(--brown-accent);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-warm);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--stone-light);
  transition: var(--ease);
}

.footer-col ul li a:hover {
  color: var(--brown-accent);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--stone-light);
}

.footer-contact li svg { color: var(--brown-accent); flex-shrink: 0; }

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--black-border);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--stone-mid);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--stone-mid);
  transition: var(--ease);
}

.footer-bottom-links a:hover { color: var(--brown-accent); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--white-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  box-shadow: 0 4px 20px rgba(199,115,58,0.4);
  transform: translateY(80px);
  opacity: 0;
  transition: var(--ease-bounce);
}

.back-to-top.visible {
  transform: translateY(0);
  opacity: 1;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(199,115,58,0.55);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for children */
.tentang-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.tentang-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.stats-row .reveal:nth-child(2) { transition-delay: 0.1s; }
.stats-row .reveal:nth-child(3) { transition-delay: 0.2s; }
.stats-row .reveal:nth-child(4) { transition-delay: 0.3s; }
.event-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.event-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.gallery-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.gallery-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.gallery-grid .reveal:nth-child(4) { transition-delay: 0.12s; }
.gallery-grid .reveal:nth-child(5) { transition-delay: 0.2s; }
.gallery-grid .reveal:nth-child(6) { transition-delay: 0.28s; }
.artikel-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.artikel-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }

  .tentang-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .event-grid { grid-template-columns: 1fr 1fr; }
  .event-grid .event-card:last-child { grid-column: span 2; }
  .artikel-grid { grid-template-columns: 1fr 1fr; }
  .artikel-card.featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .daftar-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 1; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-pad: 60px; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 32px 40px;
    gap: 4px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--black-border);
  }

  .nav-links.open { right: 0; }

  .nav-link, .nav-cta {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 0;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
  }

  .hero-stat { padding: 10px 20px; }
  .hero-stat-divider { display: none; }

  .event-grid { grid-template-columns: 1fr; }
  .event-grid .event-card:last-child { grid-column: span 1; }

  .artikel-grid { grid-template-columns: 1fr; }
  .artikel-card.featured { grid-column: span 1; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { text-align: center; }
  .footer-tagline { margin: 16px auto; }
  .footer-social { justify-content: center; }
  .footer-col { text-align: center; }
  .footer-contact li { justify-content: center; }

  .footer-bottom .container { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .hero-buttons { gap: 12px; }
  .btn { padding: 12px 22px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.7rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: span 1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .daftar-form { padding: 24px 20px; }
  .hero-stat { padding: 10px 14px; }
}
