@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  /* === BACKGROUND CERAH ISLAMI === */
  --bg: #f0f7f0;  /* Putih kehijauan sangat soft */
  
  --surface: rgba(255, 255, 255, 0.85); /* Kartu putih transparan */
  --surface-solid: #ffffff;

  /* === WARNA NEON === */
  --neon-blue: #0891b2;    --rgb-blue: 8, 145, 178;
  --neon-purple: #9333ea;  --rgb-purple: 147, 51, 234;
  
  /* ✨ EMAS CERAH ✨ */
  --neon-amber: #d4a02b;   --rgb-amber: 212, 160, 43;
  --neon-gold: #f5d742;    --rgb-gold: 245, 215, 66;
  
  /* ✨ HIJAU SEGAR ✨ */
  --neon-emerald: #0f9b6b; --rgb-emerald: 15, 155, 107;
  --neon-green-light: #34d399; --rgb-green-light: 52, 211, 153;

  --ink: #1a2e1a;  /* Hijau gelap untuk teks */
  --muted: #4a6b4a;
  --line: rgba(26, 46, 26, 0.06);
  --radius-lg: 20px;

  /* === UNTUK HEADER, HERO, FOOTER (GELAP) === */
  --panel-dark: #064e3b;
  --panel-dark-2: #022c22;
}

* { box-sizing: border-box; }

button, input, select, textarea { font-family: inherit; }

body {
  font-family: 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  background-image:
    /* Glow lembut warna islami */
    radial-gradient(circle at 15% 20%, rgba(15, 155, 107, 0.06), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(245, 215, 66, 0.06), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(15, 155, 107, 0.03), transparent 55%);
  color: var(--ink);
  line-height: 1.7;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; margin-top: 0; color: var(--ink); }
p { font-size: clamp(1rem, 1.2vw, 1.125rem); color: var(--muted); text-align: center; margin: 0; }
.text-center { text-align: center; }
.lead { color: var(--muted); max-width: 680px; margin: 0.75rem auto 0; }

a { color: var(--neon-amber); transition: color 0.3s ease; }
a:hover { color: #b8860b; }

/* =========================================
   HEADER - GELAP DENGAN AKSEN EMAS
   ========================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 78, 59, 0.95);
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border-bottom: 2px solid var(--neon-amber);
  box-shadow: 0 10px 30px -10px rgba(6, 78, 59, 0.2);
  padding: 1rem 0;
}
.site-header .nav { display: flex; justify-content: space-between; align-items: center; }
.brand { color: #fff; font-weight: 800; font-size: 1.2rem; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; letter-spacing: 0.03em; }
.brand-mark { color: var(--neon-amber); text-shadow: 0 0 30px rgba(var(--rgb-amber), 0.4); font-size: 1.5rem; }
.brand-logo { height: 38px; width: auto; object-fit: contain; border-radius: 6px; }

.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: #cbd5e1; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.3s ease; position: relative; padding-bottom: 0.25rem; }
.nav-links a:hover { color: var(--neon-gold); text-shadow: 0 0 25px rgba(var(--rgb-gold), 0.3); }
.nav-links a:not(.admin-link)::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background: var(--neon-gold); transition: width 0.3s ease; box-shadow: 0 0 15px var(--neon-gold); }
.nav-links a:not(.admin-link):hover::after { width: 100%; }

.admin-link { border: 1px solid var(--neon-purple); border-radius: 50px; padding: 0.4rem 1.2rem; color: #d8b4fe !important; text-transform: uppercase; font-size: 0.85rem !important; letter-spacing: 0.05em; box-shadow: 0 0 14px rgba(var(--rgb-purple), 0.15); }
.admin-link:hover { background: rgba(var(--rgb-purple), 0.15); box-shadow: inset 0 0 10px rgba(var(--rgb-purple), 0.3), 0 0 15px rgba(var(--rgb-purple), 0.2); color: #fff !important; }

.menu-button { display: none; background: none; border: 1px solid rgba(var(--rgb-amber), 0.3); color: var(--neon-amber); font-size: 1.5rem; cursor: pointer; border-radius: 8px; padding: 0.2rem 0.6rem; }

@media (max-width: 768px) {
  .menu-button { display: block; }
  .nav-links { display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; background: rgba(6, 78, 59, 0.97); backdrop-filter: blur(15px); padding: 1rem 0; border-bottom: 1px solid rgba(var(--rgb-amber), 0.15); box-shadow: 0 10px 20px rgba(6,78,59,0.3); }
  .nav-links.open { display: flex; }
}

/* =========================================
   HERO / PAGE-HEAD - GELAP DENGAN AKSEN EMAS
   ========================================= */
.hero, .page-head {
  position: relative;
  background: linear-gradient(145deg, #064e3b 0%, #022c22 100%);
  border-bottom: 3px solid var(--neon-amber);
  box-shadow: 0 15px 40px -10px rgba(6, 78, 59, 0.15);
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(5.5rem, 11vw, 8rem) 0;
  text-align: center;
  border-radius: 0 0 clamp(24px, 5vw, 48px) clamp(24px, 5vw, 48px);
  margin-bottom: 2.5rem;
}
.eyebrow { letter-spacing: .14em; text-transform: uppercase; color: var(--neon-gold); font-size: 12px; font-weight: 800; text-shadow: 0 0 30px rgba(var(--rgb-gold), 0.3); }
.hero h1, .page-head h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 3.2rem); font-weight: 800; margin: 10px auto 0; text-shadow: 0 0 30px rgba(var(--rgb-amber), 0.25), 0 0 60px rgba(var(--rgb-amber), 0.08); max-width: 780px; }
.hero p, .page-head p { color: #d1fae5; max-width: 680px; margin: 1.25rem auto 0; }

.button { display: inline-block; border: 0; border-radius: 8px; padding: 12px 22px; background: var(--neon-amber); color: #022c22; text-decoration: none; font-weight: 800; margin: 1.25rem 8px 0 0; box-shadow: 0 0 35px rgba(var(--rgb-amber), 0.3); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.button:hover { box-shadow: 0 0 55px rgba(var(--rgb-amber), 0.5); transform: translateY(-2px); }
.button.alt { background: transparent; border: 2px solid var(--neon-amber); color: var(--neon-gold); box-shadow: none; }
.button.alt:hover { background: rgba(var(--rgb-amber), 0.08); box-shadow: 0 0 30px rgba(var(--rgb-amber), 0.1); }

/* =========================================
   KARTU - CERAH DENGAN AKSEN WARNA ISLAMI
   ========================================= */
.card {
  --card-color: var(--neon-emerald);
  --rgb-color: var(--rgb-emerald);
  background: var(--surface);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-top: 4px solid var(--card-color);
  box-shadow: 0 8px 26px rgba(26, 46, 26, 0.04), 0 0 30px rgba(var(--rgb-color), 0.04);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
}
.card h3 { transition: text-shadow 0.3s ease; margin-bottom: 0.6rem; text-shadow: 0 0 14px rgba(var(--rgb-color), 0.05); }
.card p { text-align: center; color: var(--muted); }
.card:hover { transform: translateY(-6px); border-color: var(--card-color); box-shadow: 0 10px 30px rgba(26,46,26,0.06), 0 0 45px rgba(var(--rgb-color), 0.15); }
.card:hover h3 { text-shadow: 0 0 25px rgba(var(--rgb-color), 0.2); }
.card-icon { font-size: 2rem; margin-bottom: 0.75rem; filter: drop-shadow(0 0 15px rgba(var(--rgb-color), 0.15)); }

.card:nth-child(1) { --card-color: var(--neon-blue); --rgb-color: var(--rgb-blue); }
.card:nth-child(2) { --card-color: var(--neon-purple); --rgb-color: var(--rgb-purple); }
.card:nth-child(3) { --card-color: var(--neon-emerald); --rgb-color: var(--rgb-emerald); }
.card:nth-child(4) { --card-color: var(--neon-amber); --rgb-color: var(--rgb-amber); }

.card:nth-child(3):hover {
  box-shadow: 0 10px 30px rgba(26,46,26,0.06), 0 0 55px rgba(var(--rgb-emerald), 0.2) !important;
}
.card:nth-child(4):hover {
  box-shadow: 0 10px 30px rgba(26,46,26,0.06), 0 0 55px rgba(var(--rgb-amber), 0.25) !important;
}

.badge-title { 
  color: var(--neon-amber); 
  font-weight: 800; 
  font-size: clamp(1rem, 2.5vw, 1.4rem); 
  text-transform: uppercase; 
  letter-spacing: 0.1em; 
  margin-bottom: 0.5rem; 
  text-shadow: 0 0 30px rgba(var(--rgb-amber), 0.2), 0 0 60px rgba(var(--rgb-amber), 0.06); 
  border: 1px solid rgba(var(--rgb-amber), 0.25); 
  padding: 0.4rem 1.2rem; 
  border-radius: 50px; 
  display: inline-block; 
  background: rgba(var(--rgb-amber), 0.04); 
  box-shadow: 0 0 35px rgba(var(--rgb-amber), 0.04); 
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2rem); margin-top: 1.75rem; }

.section { padding: 1rem 0 4rem; }

/* =========================================
   AGENDA SPOT - CERAH DENGAN AKSEN EMAS
   ========================================= */
.agenda-spot {
  margin-top: calc(clamp(4rem, 8vw, 6rem) * -1);
  position: relative; z-index: 20;
  max-width: 650px; margin-left: auto; margin-right: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--neon-amber);
  box-shadow: 0 8px 26px rgba(26,46,26,0.04), 0 0 30px rgba(var(--rgb-amber), 0.08);
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 4vw, 2.25rem);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.agenda-spot:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(26,46,26,0.06), 0 0 50px rgba(var(--rgb-amber), 0.15); }
.agenda-spot-badge { background: rgba(var(--rgb-amber), 0.08); color: var(--neon-amber); width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800; border: 1px solid rgba(var(--rgb-amber), 0.2); box-shadow: 0 0 25px rgba(var(--rgb-amber), 0.08); text-shadow: 0 0 20px rgba(var(--rgb-amber), 0.2); flex: none; }
.agenda-spot-body { text-align: left; flex: 1; min-width: 0; }
.agenda-spot-label { color: var(--ink); font-weight: 600; }
.agenda-spot-cta { color: var(--neon-amber); font-weight: 800; font-size: 0.95rem; white-space: nowrap; flex: none; text-shadow: 0 0 20px rgba(var(--rgb-amber), 0.15); }

.content { padding: 0 0 4rem; max-width: 850px; }
.empty { color: var(--muted); text-align: center; padding: 2rem 0; }

.agenda-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2rem; background: var(--surface); backdrop-filter: blur(10px); border: 1px solid var(--line); border-top: 4px solid var(--neon-purple); border-radius: 16px; padding: 1.1rem 1.25rem; box-shadow: 0 8px 24px rgba(26,46,26,0.04), 0 0 20px rgba(var(--rgb-purple), 0.03); }
.agenda-filter input[type="text"] { flex: 1 1 220px; min-width: 0; max-width: 100%; box-sizing: border-box; height: 46px; line-height: 1.3; -webkit-appearance: none; appearance: none; border: 1px solid rgba(26,46,26,0.08); border-radius: 8px; padding: 0 14px; font-size: 1rem; font-family: inherit; background: #ffffff; color: var(--ink); }
.agenda-filter select { flex: 1 1 140px; min-width: 0; max-width: 100%; box-sizing: border-box; height: 46px; line-height: 1.3; -webkit-appearance: none; appearance: none; border: 1px solid rgba(26,46,26,0.08); border-radius: 8px; padding: 0 14px; font-size: 1rem; font-family: inherit; background: #ffffff; color: var(--ink); }
.agenda-filter input:focus, .agenda-filter select:focus { outline: none; border-color: var(--neon-amber); box-shadow: 0 0 0 3px rgba(var(--rgb-amber), 0.06); }
.agenda-filter .button { margin: 0; flex: none; height: 46px; padding: 0 22px; }
.button.alt-light { background: transparent; color: var(--neon-purple); border: 1px solid rgba(var(--rgb-purple), .25); box-shadow: none; }
.button.alt-light:hover { background: rgba(var(--rgb-purple), .06); }

.list { display: grid; gap: 1.1rem; }
.agenda { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--surface); backdrop-filter: blur(10px); border: 1px solid var(--line); border-top: 4px solid var(--neon-emerald); border-radius: 16px; padding: 1.1rem 1.35rem; box-shadow: 0 6px 20px rgba(26,46,26,0.03), 0 0 18px rgba(var(--rgb-emerald), 0.03); }
.agenda-info { flex: 1; min-width: 0; }
.agenda-info h3 { margin: 0 0 4px; }
.date-box { flex: none; min-width: 66px; text-align: center; padding: 0.7rem; border-radius: 12px; background: linear-gradient(160deg, var(--neon-amber), var(--neon-emerald)); color: #022c22; font-weight: 800; line-height: 1.3; box-shadow: 0 0 30px rgba(var(--rgb-amber), 0.10); text-shadow: 0 0 10px rgba(255,255,255,0.08); }

.agenda-past { border-top-color: var(--muted); opacity: 0.6; filter: grayscale(0.3); box-shadow: 0 6px 16px rgba(26,46,26,0.03); }
.agenda-past .date-box { background: #9aa0b4; box-shadow: none; }
.badge-past { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--muted); padding: 5px 12px; border-radius: 50px; }
.badge-countdown { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--neon-amber); box-shadow: 0 0 14px rgba(var(--rgb-amber), .35); padding: 5px 12px; border-radius: 50px; white-space: nowrap; }
.badge-countdown-today { background: var(--neon-emerald); box-shadow: 0 0 14px rgba(var(--rgb-emerald), .35); }

.location-link { color: var(--neon-emerald); font-weight: 700; text-decoration: none; }
.location-link:hover { text-decoration: underline; text-shadow: 0 0 15px rgba(var(--rgb-emerald), 0.10); }
.agenda-meta { text-align: left; color: var(--muted); margin: 0; }
.agenda-desc { text-align: left; color: var(--ink); margin: 8px 0 0; }

@media (max-width: 768px) {
  .agenda-filter { flex-direction: column; align-items: stretch; }
  .agenda-filter input[type="text"], .agenda-filter select, .agenda-filter .button { flex: none; width: 100%; max-width: 100%; }
}

.article { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.article:last-child { border-bottom: 0; }
.article small { color: var(--neon-amber); font-weight: 700; text-shadow: 0 0 15px rgba(var(--rgb-amber), 0.08); }
.article-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.article-actions .button { margin: 0; padding: 8px 16px; font-size: 0.9rem; }

/* =========================================
   PROFIL
   ========================================= */
.profile-hero { padding: clamp(3.5rem,8vw,5rem) 0 clamp(4rem,9vw,5.5rem); text-align: center; background: linear-gradient(145deg, #064e3b 0%, #022c22 100%); border-bottom: 3px solid var(--neon-purple); border-radius: 0 0 clamp(24px, 5vw, 48px) clamp(24px, 5vw, 48px); margin-bottom: -3rem; }
.profile-hero h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 10px auto 0; text-shadow: 0 0 30px rgba(var(--rgb-purple), 0.25), 0 0 60px rgba(var(--rgb-purple), 0.06); max-width: 720px; }
.arch-motif { color: var(--neon-purple); font-size: 1.5rem; margin-top: 1.25rem; text-shadow: 0 0 25px rgba(var(--rgb-purple), 0.15); }

.profile-intro { position: relative; z-index: 20; margin: 0 auto 2.5rem; max-width: 800px; }
.profile-lead { background: var(--surface); backdrop-filter: blur(12px); border: 1px solid var(--line); border-top: 4px solid var(--neon-emerald); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.5rem); box-shadow: 0 8px 26px rgba(26,46,26,0.04), 0 0 30px rgba(var(--rgb-emerald), 0.03); color: var(--ink); line-height: 1.85; text-align: center; }

.divider-arabesque { display: flex; align-items: center; gap: 16px; max-width: 760px; margin: 0 auto 2rem; padding: 0 20px; color: var(--neon-purple); font-size: 13px; text-shadow: 0 0 20px rgba(var(--rgb-purple), 0.08); }
.divider-arabesque::before, .divider-arabesque::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.profile-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; max-width: 900px; margin: 0 auto 3.5rem; }
.panel-arch { background: var(--surface); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 8px 26px rgba(26,46,26,0.04); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.panel-arch:hover { transform: translateY(-4px); }
.panel-arch:nth-child(1) { border-top: 4px solid var(--neon-blue); box-shadow: 0 8px 26px rgba(26,46,26,0.04), 0 0 30px rgba(var(--rgb-blue), 0.03); }
.panel-arch:nth-child(2) { border-top: 4px solid var(--neon-purple); box-shadow: 0 8px 26px rgba(26,46,26,0.04), 0 0 30px rgba(var(--rgb-purple), 0.03); }
.panel-arch-cap { display: none; }
.panel-arch-body { padding: 2rem 1.75rem; text-align: center; }
.panel-arch-body h3 { color: var(--ink); font-size: 1.4rem; margin: 0 0 0.75rem; }
.panel-arch-body p { color: var(--muted); }

.profile-address { background: linear-gradient(145deg, #064e3b 0%, #022c22 100%); padding: 2.75rem 0; text-align: center; border-top: 2px solid rgba(var(--rgb-amber), 0.08); }
.address-mark { color: var(--neon-gold); font-size: 1.1rem; display: block; margin-bottom: 0.6rem; font-weight: 700; text-shadow: 0 0 25px rgba(var(--rgb-gold), 0.12); }
.profile-address p { color: #d1fae5; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* =========================================
   KONTAK
   ========================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.contact-list li { background: var(--surface); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.25rem; text-align: left; color: var(--ink); }
.contact-list li strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--neon-emerald); margin-bottom: 4px; }
.map { width: 100%; min-height: 300px; border: 0; border-radius: 16px; box-shadow: 0 8px 26px rgba(26,46,26,0.04); }
.wa-link { display: inline-flex; align-items: center; gap: 7px; color: var(--neon-emerald); font-weight: 700; text-decoration: none; }
.wa-link:hover { text-decoration: underline; text-shadow: 0 0 15px rgba(var(--rgb-emerald), 0.08); }
.wa-link svg { flex: none; }

/* =========================================
   FOOTER - GELAP DENGAN AKSEN EMAS
   ========================================= */
footer {
  background: #022c22;
  border-top: 2px solid rgba(212, 160, 43, 0.2);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  color: #8aa89a;
  font-weight: 700;
}
footer::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 100px;
  background: var(--neon-amber);
  filter: blur(100px);
  opacity: 0.04;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}
footer strong {
  color: var(--neon-gold);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 20px rgba(var(--rgb-gold), 0.06);
}
footer p {
  color: #8aa89a;
  text-align: center;
  margin: 0;
  font-weight: 700;
}
footer a {
  color: #6d9e83;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 700;
}
footer a:hover {
  color: var(--neon-gold);
  text-shadow: 0 0 25px rgba(var(--rgb-gold), 0.15);
}
.copyright {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.03);
  font-size: 0.85rem;
  color: #4a6b5a;
  font-weight: 700;
}

/* =========================================
   AKSESIBILITAS
   ========================================= */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--neon-amber); outline-offset: 2px; }

@media (max-width: 768px) {
  .footer-grid { text-align: center; }
  footer p { text-align: center; }
}

@media (max-width: 720px) {
  .grid-2, .contact-grid, .profile-panels { grid-template-columns: 1fr; }
  .agenda-spot { margin-top: -2rem; flex-wrap: wrap; }
  .hero, .page-head { padding: 3.5rem 0 4.5rem; }
}