:root{
  --brand:#38bdf8;        /* biru aqua soft */
  --bg:#f8fafc;           /* background cerah */
  --card:#ffffff;         /* kartu putih bersih */
  --text:#0f172a;         /* teks gelap lembut */
  --muted:#64748b;        /* abu-abu lembut */
  --border:#e2e8f0;       /* border soft */
}

/* Reset & layout */
*{box-sizing:border-box}
html,body{
  margin:0;padding:0;
  font-family:'Inter', system-ui, sans-serif;
  background:var(--bg);
  color:var(--text);
}
a{text-decoration:none;color:inherit}
img,video{max-width:100%;display:block;border-radius:12px}
.container{max-width:1200px;margin:0 auto;padding:0 16px}

/* Preloader */
.preloader{
  position:fixed;inset:0;background:#ffffff;
  display:flex;align-items:center;justify-content:center;
  z-index:9999;transition:opacity .3s ease
}
.preloader.hidden{opacity:0;pointer-events:none}
.preloader .dot{
  width:10px;height:10px;border-radius:50%;
  background:var(--brand);margin:0 6px;
  animation:bounce .85s infinite alternate
}
.preloader .dot:nth-child(2){animation-delay:.15s}
.preloader .dot:nth-child(3){animation-delay:.3s}
@keyframes bounce{to{transform:translateY(-10px);opacity:.4}}

/* Header */
.site-header{
  position:sticky;top:0;background:#ffffffee;
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
  z-index:1000;
}
.head-flex{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 0;
}
.brand-link{
  font-weight:800;font-size:22px;
  background:linear-gradient(90deg,var(--brand),#60a5fa);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.nav{display:flex;gap:16px;flex-wrap:wrap}
.nav a{color:var(--text);opacity:.75;font-weight:500}
.nav a:hover{opacity:1}

/* Clock */
.time{font-size:13px;color:var(--muted)}

/* Hero */
.hero{
  padding:50px 0;
}
.hero-inner{
  display:grid;grid-template-columns:1fr 1fr;gap:30px;
  align-items:center;
}
.hero img{border-radius:16px;box-shadow:0 10px 35px rgba(0,0,0,.08)}
.hero .copy h1{
  font-size:40px;margin:0 0 12px;font-weight:800;
}
.hero .copy p{color:var(--muted);margin:0 0 20px;font-size:17px}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--brand);color:#fff;
  padding:12px 18px;border-radius:12px;
  font-weight:700;border:0;cursor:pointer;
  box-shadow:0 4px 15px rgba(56,189,248,.35);
}
.btn.secondary{
  background:#ffffff;color:var(--text);
  border:1px solid var(--border);
  box-shadow:none;
}

/* Sections */
.section{padding:35px 0}
.section h2{
  font-size:24px;margin:0 0 20px;font-weight:800;
}

/* Masonry Gallery */
.masonry{
  column-count:1;column-gap:16px;
}
@media(min-width:640px){.masonry{column-count:2}}
@media(min-width:980px){.masonry{column-count:3}}

.card{
  break-inside:avoid;background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;overflow:hidden;
  margin:0 0 16px;
  box-shadow:0 2px 12px rgba(0,0,0,.05);
}
.card .meta{
  padding:12px 14px;color:var(--muted);
  font-size:14px;display:flex;
  justify-content:space-between;align-items:center;
}
.badge{
  background:#e0f2fe;color:#0369a1;
  padding:4px 10px;border-radius:999px;
  font-size:12px;font-weight:600;
}

/* Footer */
.site-footer{
  background:#ffffff;
  border-top:1px solid var(--border);
  padding:20px 0;margin-top:35px;
}
.foot-flex{
  display:flex;justify-content:space-between;
  flex-wrap:wrap;color:var(--muted);font-size:14px;
}

/* WhatsApp Floating Button */
.wa-float{
  position:fixed;bottom:16px;right:16px;
  background:#22c55e;color:white;
  font-weight:700;padding:13px 18px;
  border-radius:999px;z-index:1000;
  box-shadow:0 6px 25px rgba(0,0,0,.15);
}

/* Responsive Hero */
@media(max-width:850px){
  .hero-inner{grid-template-columns:1fr}
  .hero .copy h1{font-size:32px}
}

/* Admin fix colors inherit light theme */

/* Hamburger hidden di desktop */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  padding: 8px 12px;
}

/* Menu di HP */
@media (max-width: 768px) {

  /* Susunan header mobile */
  .head-flex {
    flex-wrap: wrap;
  }

  /* Nav disembunyikan dulu */
  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    text-align: center;
    margin-top: 10px;
    gap: 12px;
  }

  .nav.show {
    display: flex;
  }

  /* Tampilkan hamburger */
  .hamburger {
    display: block;
  }
}
/* ===== BARIS 1 ===== */
.header-top {
  background: var(--card);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.header-title .line1 {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.header-title .line2 {
  font-size: 24px;
  font-weight: 900;
  margin-top: 3px;
}

.header-title .line3 {
  font-size: 14px;
  font-style: italic;
  letter-spacing: 1px;
  margin-top: 3px;
}

/* ===== BARIS 2 ===== */
.header-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

/* Hamburger HP hidden di desktop */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  padding: 6px 12px;
}

@media (max-width: 768px) {

  .header-bottom {
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    text-align: center;
    gap: 12px;
    margin-top: 10px;
  }

  .nav.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .time {
    width: 100%;
    text-align: left;
    margin-bottom: 6px;
  }
}
/* ===== PERBAIKAN TAMPILAN HP ===== */
@media (max-width: 600px) {

  /* Kop Surat — dibuat lebih ramping dan nyaman */
  .header-top {
    padding: 8px 4px;
  }

  .header-title .line1 {
    font-size: 13px;
    font-weight: 700;
  }

  .header-title .line2 {
    font-size: 16px;
    font-weight: 800;
  }

  .header-title .line3 {
    font-size: 11px;
    margin-top: 2px;
  }

  /* Baris menu + tanggal */
  .header-bottom {
    padding: 6px 0;
  }

  .time {
    font-size: 13px;
    padding-left: 2px;
  }

  /* Hamburger lebih kecil dan rapi */
  .hamburger {
    font-size: 22px;
    padding: 4px 10px;
  }

  /* Menu turun lebih rapi */
  .nav {
    gap: 8px;
  }

  .nav a {
    font-size: 15px;
    padding: 6px 0;
  }
}
/* ======= WARNA ELEGAN BARU ======= */

:root {
  --primary: #2F6AAD;        /* biru elegan */
  --bg: #f4f7fa;             /* background putih lembut */
  --text: #14212E;           /* abu gelap elegan */
  --muted: #6B7A85;          /* abu soft */
  --card: #ffffff;           /* kartu / area putih */
  --border: #dbe2ea;         /* border tipis */
}

/* DARK MODE (kalau ingin dibuat nanti) */
:root.dark {
  --bg: #121a24;
  --text: #e6eef6;
  --muted: #90a2b6;
  --card: #1c2733;
  --border: #2c3947;
}

/* ======= HEADER BARIS 1 (Gradasi Elegan) ======= */
.header-top {
  background: linear-gradient(135deg, #1A2A3A, #2F6AAD);
  color: #F8FAFC;
  padding: 16px 0;
  border-bottom: 3px solid #D8ECF6;
}

.header-title .line1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.header-title .line2 {
  font-size: 26px;
  font-weight: 900;
  margin-top: 4px;
}

.header-title .line3 {
  font-size: 14px;
  font-style: italic;
  letter-spacing: .5px;
  opacity: 0.9;
}

/* ======= HEADER BARIS 2 ======= */
.header-bottom {
  background: #ffffff;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.nav a {
  padding: 8px 14px;
  font-weight: 600;
  color: var(--primary);
  transition: 0.2s ease;
}

.nav a:hover {
  color: #1A2A3A;
}

/* Hamburger warna elegan */
.hamburger {
  color: var(--primary);
}
/* ===== BARIS 1 DENGAN LOGO ===== */
.header-top {
  background: linear-gradient(135deg, #1A2A3A, #2F6AAD);
  color: #F8FAFC;
  padding: 16px 0;
  border-bottom: 3px solid #D8ECF6;
}

.header-top-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* LOGO */
.header-logo img {
  width: 70px;
  height: auto;
  object-fit: contain;
}

/* TULISAN */
.header-title {
  text-align: center;
}

.header-title .line1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.header-title .line2 {
  font-size: 26px;
  font-weight: 900;
  margin-top: 4px;
}

.header-title .line3 {
  font-size: 14px;
  font-style: italic;
  letter-spacing: .5px;
  opacity: 0.9;
}

/* ======== HP (MOBILE) ======== */
@media (max-width: 600px) {

  .header-top-inner {
    flex-direction: row;   /* tetap horizontal */
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }

  .header-title {
    text-align: left;      /* supaya tulisan tidak center */
  }

  .header-logo img {
    width: 34px;           /* ukuran kecil khusus HP */
  }

  .header-title .line1 { font-size: 13px; }
  .header-title .line2 { font-size: 16px; }
  .header-title .line3 { font-size: 11px; }
}
.media-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin-bottom: 40px;
}

.media-item {
  overflow: hidden;
}

.media-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.meta {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #3b82f6;
  color: #fff;
}
.media-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin-bottom: 40px;
}

.media-item {
  overflow: hidden;
}

.media-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.meta {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #3b82f6;
  color: #fff;
}


