/* ======================================================================= */
/* EXTERNAL CSS: KHUSUS UTK HALAMAN UTAMA INDEX (RESPONSIF & SIMETRIS)     */
/* ======================================================================= */

/* STYLING BANNER SLIDESHOW OVERLAY */
.slider-container { position: relative; width: 100%; height: 500px; margin: 0 auto; overflow: hidden; background-color: #114014; z-index: 5; }
.slider-wrapper { display: flex; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.slide-item { min-width: 100%; height: 100%; position: relative; }
.slide-item img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.45); display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; text-align: center; padding: 0 20px; box-sizing: border-box; }
.center-branding { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 20px; }
.center-logo-lingkar { width: 60px; height: 60px; background: linear-gradient(135deg, #4caf50, #008080); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 11px; border: 2px solid white; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.center-branding h2 { font-size: 18px; font-weight: 600; letter-spacing: 0.5px; opacity: 0.95; margin: 0; }
.search-box-container { width: 100%; max-width: 650px; position: relative; margin-top: 10px; box-sizing: border-box; }
.search-input-capsule { width: 100%; padding: 14px 25px; border-radius: 30px; border: none; font-size: 14px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); outline: none; color: #333; box-sizing: border-box; }
.slider-btn { position: absolute; top: 40%; transform: translateY(-50%); background-color: rgba(255,255,255,0.15); backdrop-filter: blur(5px); color: white; border: none; padding: 14px 18px; font-size: 20px; cursor: pointer; border-radius: 50%; z-index: 30; transition: 0.3s; }
.btn-prev { left: 30px; } .btn-next { right: 30px; }

/* STYLING 8 KOTAK QUICK NAVIGATION MENGGANTUNG */
.seksi-layanan-terintegrasi { position: relative; width: 92%; max-width: 1400px; margin: -55px auto 60px auto; z-index: 40; }
.grid-layanan-8 { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.card-layanan-mini { background-color: var(--putih); padding: 20px 10px; border-radius: 14px; text-align: center; box-shadow: 0 10px 25px rgba(0,0,0,0.06); border: 1px solid #edf2f7; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; transition: all 0.25s ease; box-sizing: border-box; }
.card-layanan-mini:hover { transform: translateY(-6px); box-shadow: 0 15px 30px rgba(0,0,0,0.12); border-color: #4caf50; }
.icon-box-mini { width: 42px; height: 42px; border-radius: 10px; display: flex; justify-content: center; align-items: center; margin-bottom: 12px; }
.card-layanan-mini span { font-size: 11px; font-weight: 700; color: #4a5568; }
.c-hijau { background-color: #e8f5e9; } .c-kuning { background-color: #fffde7; }
.c-merah { background-color: #ffebee; } .c-biru { background-color: #e3f2fd; }
.c-oranye { background-color: #fff3e0; } .c-cyan { background-color: #e0f7fa; }
.c-ungu { background-color: #f3e5f5; } .c-pink { background-color: #fce4ec; }

/* STYLING SEKSI SAMBUTAN & ARSIP BERITA 1400PX */
.sambutan-section { background-color: var(--putih); border-bottom: 1px solid #edf2f7; padding: 40px 0 80px 0; }
.container-sambutan { width: 92%; max-width: 1400px; margin: 0 auto; display: flex; align-items: start; gap: 50px; }
.area-sambutan-kiri { flex: 1.8; display: flex; gap: 30px; align-items: start; }
.kades-foto-wrapper { text-align: center; min-width: 220px; }
.kades-foto { width: 220px; height: 290px; object-fit: cover; border-radius: 12px; box-shadow: 0 15px 30px rgba(0,0,0,0.06); border: 4px solid var(--putih); outline: 1px solid #edf2f7; }
.kades-info { margin-top: 15px; } .kades-nama { font-weight: 700; color: #1a202c; font-size: 16px; } .kades-jabatan { color: #114014; font-size: 11px; font-weight: 700; text-transform: uppercase; margin-top: 2px; }
.kades-teks h2 { color: #1a202c; font-size: 28px; margin-bottom: 20px; font-weight: 800; margin-top: 0; } .kades-teks p { color: #4a5568; font-size: 15px; line-height: 1.8; margin-bottom: 15px; text-align: justify; }
.area-galeri-kanan { flex: 1.2; background-color: #fafbfc; padding: 25px; border-radius: 16px; border: 1px solid #edf2f7; width: 100%; box-sizing: border-box; }
.galeri-title { color: #1a202c; font-size: 18px; font-weight: 800; margin-bottom: 20px; border-left: 4px solid #4caf50; padding-left: 10px; text-transform: uppercase; margin-top: 0; }
.grid-galeri-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.galeri-item { position: relative; height: 125px; border-radius: 8px; overflow: hidden; } .galeri-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; } .galeri-item:hover img { transform: scale(1.06); }
.galeri-overlay-text { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(transparent, rgba(0,0,0,0.7)); padding: 8px; color: #fff; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-sizing: border-box; }

/* STYLING KARTU BERITA BAWAH */
.main-container { width: 92%; max-width: 1400px; margin: 80px auto; }
.section-header-modern { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; border-bottom: 2px solid #edf2f7; padding-bottom: 15px; }
.section-header-modern h2 { color: #1a202c; font-size: 28px; font-weight: 800; margin: 0; } .section-header-modern a { color: #114014; text-decoration: none; font-weight: 700; font-size: 14px; }
.grid-berita { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px; }
.card-berita { background-color: var(--putih); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 25px rgba(0,0,0,0.02); border: 1px solid #edf2f7; transition: all 0.3s; display: flex; flex-direction: column; } .card-berita:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.card-img-wrapper { width: 100%; height: 230px; overflow: hidden; } .card-img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.card-body { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; } .card-title { font-size: 20px; color: #1a202c; margin-bottom: 12px; font-weight: 700; line-height: 1.4; } .card-date { font-size: 12px; color: var(--teks-ringan); margin-bottom: 15px; } .card-text { font-size: 14px; color: #4a5568; margin-bottom: 25px; }

/* LAYOUT RESPONSIVE ANDROID */
@media (max-width: 1200px) { .container-sambutan { flex-direction: column; } .area-sambutan-kiri, .area-galeri-kanan { width: 100%; flex: none; } .grid-layanan-8 { grid-template-columns: repeat(4, 1fr); gap: 15px; } .seksi-layanan-terintegrasi { margin-top: -30px; } }
@media (max-width: 768px) { .grid-layanan-8 { grid-template-columns: repeat(2, 1fr); gap: 12px; } .area-sambutan-kiri { flex-direction: column; align-items: center; text-align: center; gap: 20px; } .kades-teks p { text-align: justify; } .slider-container { height: 350px; } .center-branding h2 { font-size: 14px; } .search-input-capsule { padding: 11px 20px; font-size: 13px; } .seksi-layanan-terintegrasi { margin-top: 20px; margin-bottom: 40px; } .main-container { margin: 40px auto; } .section-header-modern { flex-direction: column; align-items: center; gap: 10px; text-align: center; } .section-header-modern h2 { font-size: 22px; } }
