/* ============================================================
   assets/css/style.css – Dusun Kuwon Sidomulyo
   ============================================================ */

:root {
  --green-dark:  #1B3A2D;
  --green-mid:   #2A5C45;
  --green-light: #3D7A5E;
  --green-pale:  #E8F5EF;
  --gold:        #C9A84C;
  --gold-dark:   #A88530;
  --brown:       #7A5C2E;
  --brown-light: #A07C4A;
  --white:       #FFFFFF;
  --off-white:   #FAFAF8;
  --text-dark:   #2C2C2C;
  --text-mid:    #5A5A5A;
  --text-light:  #8A8A8A;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 6px 20px rgba(0,0,0,0.12);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.18);
  --radius:      10px;
  --radius-lg:   16px;
  --transition:  0.35s cubic-bezier(.4,0,.2,1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { font-family: 'Raleway', 'Segoe UI', sans-serif; color: var(--text-dark); background: var(--off-white); line-height: 1.7; overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.3; color: var(--green-dark); }
p { color: var(--text-mid); }

/* ---------- UTILITY ---------- */
.section-title {
  text-align: center;
  margin-bottom: 12px;
  font-size: 2rem;
  position: relative;
  padding-bottom: 14px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--brown-light));
  border-radius: 2px;
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-dark); color: var(--white);
  padding: 13px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.4px;
  border: 2px solid var(--green-dark);
  transition: var(--transition); cursor: pointer;
}
.btn-primary:hover {
  background: var(--green-mid); border-color: var(--green-mid);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--gold-dark);
  padding: 13px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.4px;
  border: 2px solid var(--gold);
  transition: var(--transition); cursor: pointer;
}
.btn-outline:hover {
  background: var(--gold); color: var(--white);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(27,58,45,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 0 24px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(27,58,45,0.97);
  box-shadow: var(--shadow-md);
}

.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--brown-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--white);
  font-weight: 700; font-family: 'Playfair Display', serif;
}
.nav-logo-text { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; line-height: 1.2; }
.nav-logo-text span { display: block; font-size: 0.68rem; font-weight: 400; color: rgba(255,255,255,0.6); font-family: 'Raleway', sans-serif; letter-spacing: 0.8px; text-transform: uppercase; }

.nav-links { display: flex; list-style: none; gap: 4px; }
.nav-links li a { color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 500; padding: 8px 16px; border-radius: 20px; transition: var(--transition); letter-spacing: 0.3px; }
.nav-links li a:hover,
.nav-links li a.active { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-links li a.active { background: rgba(201,168,76,0.2); color: var(--gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; border: none; background: none; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; height: 100vh; min-height: 580px; max-height: 780px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #0d2318 0%, #1B3A2D 35%, #2A5C45 70%, #1e4a38 100%);
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(42,92,69,0.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 50%);
  z-index: 1;
}
.hero-deco { position: absolute; border-radius: 50%; border: 1px solid rgba(201,168,76,0.15); z-index: 1; pointer-events: none; }
.hero-deco--1 { width: 320px; height: 320px; top: -80px; right: -60px; }
.hero-deco--2 { width: 200px; height: 200px; bottom: 60px; left: -50px; border-color: rgba(255,255,255,0.08); }
.hero-deco--3 { width: 140px; height: 140px; top: 50%; left: 12%; border-color: rgba(201,168,76,0.1); }

.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 780px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold); font-size: 0.78rem; font-weight: 600;
  padding: 6px 18px; border-radius: 50px; letter-spacing: 1.2px;
  text-transform: uppercase; margin-bottom: 28px;
  animation: fadeInDown 0.8s ease both;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; animation: fadeInUp 0.9s ease 0.15s both; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-subtitle { color: rgba(255,255,255,0.7); font-size: clamp(0.95rem, 2vw, 1.15rem); margin-bottom: 36px; animation: fadeInUp 0.9s ease 0.3s both; }
.hero-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; animation: fadeInUp 0.9s ease 0.45s both; }
.hero-buttons .btn-primary { background: var(--gold); border-color: var(--gold); }
.hero-buttons .btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.hero-buttons .btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.hero-buttons .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); color: var(--white); }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase;
  animation: fadeIn 1.2s ease 0.8s both;
}
.hero-scroll .arrow { width: 20px; height: 20px; border-right: 1.5px solid rgba(255,255,255,0.5); border-bottom: 1.5px solid rgba(255,255,255,0.5); transform: rotate(45deg); animation: bounce 2s infinite; }

/* ============================================================
   INFO CARDS
   ============================================================ */
.info-section { background: var(--white); margin-top: -52px; position: relative; z-index: 3; }
.info-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 24px; }

.info-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px 28px;
  box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,0.06); text-align: center;
  transition: var(--transition); position: relative; overflow: hidden;
}
.info-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--green-dark), var(--green-light)); }
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.info-card-icon { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 16px; background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.info-card p { font-size: 0.87rem; line-height: 1.6; }
.info-highlight { display: inline-block; margin-top: 14px; font-size: 0.8rem; font-weight: 600; color: var(--green-mid); background: var(--green-pale); padding: 5px 14px; border-radius: 50px; }

/* ============================================================
   PROFIL DUSUN
   ============================================================ */
.profil-section { padding: 90px 24px; background: var(--off-white); }
.profil-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.profil-visual { position: relative; }

.profil-img-main {
  width: 100%; aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.img-placeholder-icon { font-size: 3.5rem; opacity: 0.3; }
.img-label { position: absolute; bottom: 16px; left: 16px; background: rgba(0,0,0,0.5); backdrop-filter: blur(6px); color: var(--white); font-size: 0.72rem; padding: 5px 12px; border-radius: 20px; }

.profil-img-float {
  position: absolute; bottom: -22px; right: -22px;
  width: 150px; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--gold), var(--brown-light));
  border-radius: var(--radius); border: 5px solid var(--off-white);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px;
}
.float-num { color: var(--white); font-size: 1.6rem; font-weight: 700; font-family: 'Playfair Display', serif; }
.float-label { color: rgba(255,255,255,0.85); font-size: 0.68rem; text-align: center; font-weight: 500; letter-spacing: 0.3px; }

.profil-content .section-title { text-align: left; }
.profil-content .section-title::after { left: 0; transform: none; }
.profil-content .section-sub { text-align: left; margin-left: 0; margin-right: 0; margin-bottom: 28px; }
.profil-content p { font-size: 0.92rem; margin-bottom: 16px; }

.wilayah-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.wilayah-tag { background: var(--green-pale); color: var(--green-dark); font-size: 0.8rem; font-weight: 600; padding: 6px 14px; border-radius: 50px; display: flex; align-items: center; gap: 6px; }

.potensi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.potensi-item {
  background: var(--white); border: 1px solid rgba(0,0,0,0.07); border-radius: var(--radius);
  padding: 16px; display: flex; align-items: flex-start; gap: 12px; transition: var(--transition);
}
.potensi-item:hover { border-color: var(--green-light); box-shadow: var(--shadow-sm); }
.pot-icon { width: 36px; height: 36px; flex-shrink: 0; background: var(--green-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.potensi-item h4 { font-size: 0.88rem; margin-bottom: 2px; }
.potensi-item p { font-size: 0.78rem; color: var(--text-light); margin: 0; }

/* ============================================================
   SEJARAH DUSUN
   ============================================================ */
.sejarah-section { padding: 90px 24px; background: var(--green-dark); position: relative; overflow: hidden; }
.sejarah-section::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; border: 1px solid rgba(201,168,76,0.08); border-radius: 50%; }
.sejarah-section .section-title { color: var(--white); }
.sejarah-section .section-sub { color: rgba(255,255,255,0.55); }
.sejarah-container { max-width: 900px; margin: 0 auto; }

.sejarah-origin {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 36px; margin-bottom: 48px;
}
.origin-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--white); font-size: 0.72rem; font-weight: 600; padding: 5px 14px; border-radius: 50px; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 16px; }
.sejarah-origin h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 12px; }
.sejarah-origin p { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.8; }

.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 16px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--gold), rgba(201,168,76,0.2)); }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -32px; top: 6px; width: 12px; height: 12px; background: var(--gold); border: 3px solid var(--green-dark); border-radius: 50%; box-shadow: 0 0 0 3px rgba(201,168,76,0.25); }
.tl-year { color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.timeline-item h4 { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.timeline-item p { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.7; }

/* ============================================================
   UMKM
   ============================================================ */
.umkm-section { padding: 90px 24px; background: var(--off-white); }
.umkm-container { max-width: 1100px; margin: 0 auto; }

.umkm-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-btn {
  background: var(--white); color: var(--text-mid); border: 1.5px solid rgba(0,0,0,0.1);
  padding: 8px 20px; border-radius: 50px; font-size: 0.83rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); font-family: inherit;
}
.filter-btn:hover { border-color: var(--green-light); color: var(--green-dark); }
.filter-btn.active { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }

.umkm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.umkm-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition); display: flex; flex-direction: column;
}
.umkm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.umkm-card-img { width: 100%; aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.card-img-icon { font-size: 2.8rem; opacity: 0.35; }
.category-badge { position: absolute; top: 14px; left: 14px; background: rgba(27,58,45,0.8); backdrop-filter: blur(4px); color: var(--white); font-size: 0.7rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; letter-spacing: 0.5px; }

.umkm-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.umkm-card-body h4 { font-size: 1.05rem; color: var(--green-dark); margin-bottom: 4px; }
.owner { font-size: 0.8rem; color: var(--text-light); margin-bottom: 12px; display: flex; align-items: center; gap: 5px; }
.umkm-card-body p { font-size: 0.82rem; flex: 1; margin-bottom: 16px; }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 7px;
  background: #25a244; color: var(--white);
  padding: 9px 18px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  border: none; cursor: pointer; transition: var(--transition); font-family: inherit;
  align-self: flex-start; text-decoration: none;
}
.btn-whatsapp:hover { background: #1e8a38; transform: translateY(-1px); }
.btn-whatsapp svg { width: 15px; height: 15px; fill: currentColor; }

/* ============================================================
   KESEHATAN
   ============================================================ */
.kesehatan-section { padding: 90px 24px; background: var(--white); }
.kesehatan-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: start; }

.jadwal-card { background: var(--off-white); border-radius: var(--radius-lg); border: 1px solid rgba(0,0,0,0.07); overflow: hidden; }
.jadwal-card-head { background: var(--green-dark); color: var(--white); padding: 20px 24px; display: flex; align-items: center; gap: 12px; }
.head-icon { width: 42px; height: 42px; background: rgba(255,255,255,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.jadwal-card-head h3 { color: var(--white); font-size: 1.1rem; }
.jadwal-card-head p { color: rgba(255,255,255,0.6); font-size: 0.78rem; margin: 0; }

.jadwal-table { width: 100%; border-collapse: collapse; }
.jadwal-table thead th { background: rgba(27,58,45,0.06); color: var(--green-dark); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(0,0,0,0.07); }
.jadwal-table tbody td { padding: 14px 16px; font-size: 0.85rem; color: var(--text-dark); border-bottom: 1px solid rgba(0,0,0,0.06); }
.jadwal-table tbody tr:last-child td { border-bottom: none; }
.jadwal-table tbody tr:hover { background: var(--green-pale); }
.jadwal-table .hari { font-weight: 600; color: var(--green-dark); }
.jadwal-table .waktu { color: var(--gold-dark); font-weight: 600; font-size: 0.8rem; }
.jadwal-table .tempat { color: var(--text-mid); font-size: 0.8rem; }

.kesehatan-sidebar { display: flex; flex-direction: column; gap: 20px; }
.info-kesehatan-card { background: var(--off-white); border: 1px solid rgba(0,0,0,0.07); border-radius: var(--radius-lg); padding: 22px; transition: var(--transition); }
.info-kesehatan-card:hover { box-shadow: var(--shadow-sm); }
.ik-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ik-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.ik-icon.green { background: var(--green-pale); }
.ik-icon.gold  { background: #FFF8E6; }
.info-kesehatan-card h4 { font-size: 0.92rem; }
.info-kesehatan-card p { font-size: 0.8rem; line-height: 1.6; }

.darurat-card { background: #FEF2F2; border: 1.5px solid #FCA5A5; border-radius: var(--radius-lg); padding: 22px; }
.darurat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.darurat-icon { width: 38px; height: 38px; background: #EF4444; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--white); }
.darurat-card h4 { color: #991b1b; font-size: 0.95rem; }
.darurat-list { list-style: none; }
.darurat-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(239,68,68,0.15); font-size: 0.82rem; color: #7f1d1d; }
.darurat-list li:last-child { border-bottom: none; }
.d-label { font-weight: 600; color: #991b1b; min-width: 100px; display: block; font-size: 0.75rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #111f18; color: rgba(255,255,255,0.7); padding: 60px 24px 28px; }
.footer-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }

.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-icon { width: 42px; height: 42px; background: linear-gradient(135deg, var(--gold), var(--brown-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--white); font-weight: 700; font-family: 'Playfair Display', serif; }
.footer-logo-text { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.footer-logo-text span { display: block; font-size: 0.68rem; color: rgba(255,255,255,0.4); font-family: 'Raleway', sans-serif; font-weight: 400; letter-spacing: 0.6px; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 280px; }

.footer h4 { color: var(--white); font-size: 0.88rem; margin-bottom: 18px; font-family: 'Raleway', sans-serif; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-alamat p,
.footer-kontak p { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 8px; line-height: 1.6; }
.kontak-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.kontak-icon { font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.kontak-label { font-size: 0.72rem; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1px; }
.kontak-value { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

.footer-bottom { max-width: 1100px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ============================================================
   ADMIN CSS (assets/css/admin.css) – bisa dipisah jika mau
   ============================================================ */
.admin-wrap { display: flex; min-height: 100vh; }
.sidebar { width: 240px; background: #1B3A2D; flex-shrink: 0; display: flex; flex-direction: column; }
.sidebar-logo { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); color: #fff; font-weight: 700; font-size: 1rem; }
.sidebar-logo span { display: block; font-size: 0.68rem; color: rgba(255,255,255,0.45); font-weight: 400; margin-top: 2px; }
.sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 13px 20px; color: rgba(255,255,255,0.7); font-size: 0.87rem; text-decoration: none; transition: 0.2s; }
.sidebar nav a:hover, .sidebar nav a.active { background: rgba(255,255,255,0.08); color: #C9A84C; }
.sidebar-logout { margin-top: auto; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.sidebar-logout a { color: rgba(255,255,255,0.5); font-size: 0.82rem; text-decoration: none; }
.sidebar-logout a:hover { color: #f87171; }

.main-content { flex: 1; overflow-x: hidden; }
.topbar { background: #fff; padding: 14px 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e5e7eb; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.topbar h1 { font-size: 1.1rem; color: #1B3A2D; font-family: 'Raleway', sans-serif; }
.topbar .user { font-size: 0.82rem; color: #6b7280; }
.content { padding: 28px; }

.flash-success { background: #d1fae5; color: #065f46; padding: 12px 18px; border-radius: 8px; margin-bottom: 20px; border: 1px solid #6ee7b7; font-size: 0.87rem; }
.flash-error   { background: #fee2e2; color: #991b1b; padding: 12px 18px; border-radius: 8px; margin-bottom: 20px; border: 1px solid #fca5a5; font-size: 0.87rem; }

.card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); margin-bottom: 24px; }
.card h2 { font-size: 1rem; color: #1B3A2D; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; font-family: 'Raleway', sans-serif; }

table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
th { background: #f8fafc; color: #374151; font-weight: 600; text-align: left; padding: 10px 14px; border-bottom: 2px solid #e5e7eb; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; }
td { padding: 11px 14px; border-bottom: 1px solid #f0f4f1; color: #4b5563; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafdf9; }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; cursor: pointer; border: none; text-decoration: none; transition: 0.2s; font-family: 'Raleway', sans-serif; }
.btn-green { background: #1B3A2D; color: #fff; }
.btn-green:hover { background: #2A5C45; }
.btn-gold  { background: #C9A84C; color: #fff; }
.btn-gold:hover  { background: #a88530; }
.btn-red   { background: #ef4444; color: #fff; }
.btn-red:hover   { background: #dc2626; }
.btn-sm { padding: 5px 12px; font-size: 0.75rem; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: #374151; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 9px 12px;
  border: 1.5px solid #e5e7eb; border-radius: 7px;
  font-size: 0.87rem; font-family: 'Raleway', sans-serif;
  color: #2c2c2c; transition: 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: #2A5C45; box-shadow: 0 0 0 3px rgba(42,92,69,0.1); }
.form-group textarea { min-height: 90px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 600; }
.badge-kuliner   { background: #fef3c7; color: #92400e; }
.badge-kerajinan { background: #ede9fe; color: #5b21b6; }
.badge-pertanian { background: #d1fae5; color: #065f46; }
.badge-jasa      { background: #dbeafe; color: #1e40af; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.stat-card { background: #fff; border-radius: 12px; padding: 20px 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); border-left: 4px solid #1B3A2D; }
.stat-card .num { font-size: 2rem; font-weight: 700; color: #1B3A2D; font-family: 'Raleway', sans-serif; }
.stat-card .lbl { font-size: 0.78rem; color: #6b7280; margin-top: 2px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn     { from { opacity: 0; } to { opacity: 1; } }
@keyframes bounce     { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(5px); } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .profil-container { grid-template-columns: 1fr; gap: 40px; }
  .kesehatan-container { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links { position: fixed; top: 16px; left: 0; width: 100%; background: var(--green-dark); flex-direction: column; padding: 16px 0 24px; gap: 2px; transform: translateY(-110%); transition: var(--transition); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
  .nav-links.open {
    transform: translateY(0);
    top: 68px;
  }
  .nav-links li a { display: block; padding: 12px 24px; border-radius: 0; }
  .nav-toggle { display: flex; }
  .info-grid { grid-template-columns: 1fr; gap: 18px; }
  .profil-img-float { width: 110px; bottom: -16px; right: -10px; }
  .potensi-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .umkm-grid { grid-template-columns: 1fr; }
  .sejarah-origin { padding: 24px 20px; }
  .admin-wrap { flex-direction: column; }
  .sidebar { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
