* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =========================
   NAVBAR
========================= */

header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    min-height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 35px;
}

.logo h2 {
    color: #087f5b;
    font-size: 18px;
}

.logo p {
    font-size: 13px;
    color: #777;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

nav a:hover,
nav a.active {
    color: #087f5b;
}


/* =========================
   HERO BERANDA
========================= */

.hero {
    min-height: 500px;

    background:
        linear-gradient(
            rgba(0, 80, 60, 0.75),
            rgba(0, 80, 60, 0.75)
        ),
        url("images/kantor..jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;
}

.hero-content {
    max-width: 750px;
}

.hero-small {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
}

.hero-button {
    margin-top: 30px;
}

.hero-button a,
.contact a {
    display: inline-block;
    padding: 12px 25px;
    background: #087f5b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
}

.hero-button .button-outline {
    background: transparent;
    border: 1px solid white;
}


/* =========================
   SECTION
========================= */

.section {
    padding: 70px 0;
}

.bg-light {
    background: #f5f7f8;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title p {
    color: #087f5b;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 30px;
    margin-top: 5px;
}


/* =========================
   SAMBUTAN LURAH
========================= */

.sambutan {
    display: flex;
    gap: 50px;
    align-items: center;
}

.foto-lurah {
    width: 300px;
    height: 350px;
    background: #ddd;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: #777;

    border-radius: 10px;
    flex-shrink: 0;

    overflow: hidden;
}

.foto-lurah img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sambutan-text h3 {
    margin-bottom: 20px;
}

.sambutan-text p {
    margin-bottom: 15px;
}

.sambutan-text strong,
.sambutan-text span {
    display: block;
}

.sambutan-text strong {
    margin-top: 20px;
}

.sambutan-text span {
    color: #777;
}


/* =========================
   STATISTIK
========================= */

.stat-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.stat-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.stat-card h3 {
    color: #087f5b;
    font-size: 32px;
}

.stat-card p {
    margin-top: 5px;
}


/* =========================
   LAYANAN
========================= */

.service-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    padding: 30px;
    background: white;
    border-radius: 10px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);

    text-align: center;
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #087f5b;
    margin-bottom: 10px;
}

.service-card p {
    margin-bottom: 15px;
}

.service-card a,
.news-content a {
    color: #087f5b;
    text-decoration: none;
    font-weight: bold;
}


/* =========================
   BERITA
========================= */

.news-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 190px;
    background: #e9f5f1;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #087f5b;
}

.news-image span {
    font-size: 65px;
}

.news-content {
    padding: 25px;
}

.news-content small {
    color: #087f5b;
}

.news-content h3 {
    margin: 10px 0;
    line-height: 1.4;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-content a {
    color: #087f5b;
    font-weight: bold;
}


/* =========================
   CONTACT / CTA
========================= */

.contact {
    padding: 70px 0;
    background: #087f5b;
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 30px;
}

.contact p {
    margin: 10px 0 20px;
}

.contact a {
    background: white;
    color: #087f5b;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #064d39;
    color: white;
}

.footer-container {
    padding: 50px 0;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-container h3 {
    margin-bottom: 15px;
}

.footer-container p {
    color: #d5e5df;
}

.copyright {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}


/* =========================
   PAGE HEADER
   SEMUA HALAMAN
========================= */

.page-header {
    min-height: 350px;

    background:
        linear-gradient(
            rgba(0, 80, 60, 0.72),
            rgba(0, 80, 60, 0.72)
        ),
        url("images/simp.png");

    background-size: cover;
    background-position: center;

    color: white;

    display: flex;
    align-items: center;
}

.page-header .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.page-header p {
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.page-header h1 {
    font-size: 38px;
    margin: 10px 0;
}

.page-header span {
    font-size: 14px;
    opacity: 0.9;
}


/* =========================
   PROFIL
========================= */

.profil-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    align-items: center;
}

.profil-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.profile-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.profil-text h2 {
    color: #087f5b;
    margin-bottom: 15px;
}

.profil-text p {
    margin-bottom: 15px;
}


/* =========================
   VISI MISI
========================= */

.visi-misi {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.visi,
.misi {
    background: white;
    padding: 35px;
    border-radius: 10px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
}

.visi h2,
.misi h2 {
    color: #087f5b;
    margin-bottom: 15px;
}

.misi ol {
    padding-left: 20px;
}

.misi li {
    margin-bottom: 10px;
}


/* =========================
   INFORMASI KELURAHAN
========================= */

.info-table {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.info-table div {
    display: grid;
    grid-template-columns: 1fr 2fr;

    padding: 17px 20px;

    border-bottom: 1px solid #eee;
}

.info-table div:last-child {
    border-bottom: none;
}

.info-table strong {
    color: #087f5b;
}


/* =========================
   STRUKTUR ORGANISASI
========================= */

.organization {
    text-align: center;
}

.org-card {
    background: white;

    width: 230px;

    padding: 20px;

    border-radius: 10px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);

    margin: auto;
}

.org-card h3 {
    color: #087f5b;
    margin-top: 15px;
}

.org-card p {
    color: #777;
    font-size: 14px;
}

.org-photo {
    width: 120px;
    height: 140px;

    margin: auto;

    background: #ddd;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777;

    border-radius: 5px;
}

.org-line {
    width: 2px;
    height: 40px;

    background: #087f5b;

    margin: auto;
}

.org-row {
    display: flex;
    justify-content: center;
    gap: 25px;

    position: relative;

    margin-top: 20px;
}

.org-row.staff {
    margin-top: 30px;
}


/* =========================
   DATA PENDUDUK
========================= */

.area-container {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.area-card {
    background: white;

    padding: 25px;

    border-radius: 10px;

    text-align: center;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
}

.area-card h3 {
    color: #087f5b;

    font-size: 22px;

    margin-bottom: 8px;
}

.area-card p {
    color: #777;

    margin-bottom: 10px;
}

.area-card strong {
    color: #333;
}


/* =========================
   PERSYARATAN
========================= */

.requirement-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.requirement-card {
    background: white;
    padding: 30px;
    border-radius: 10px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
}

.requirement-card h3 {
    color: #087f5b;
    margin-bottom: 20px;
}

.requirement-card ul {
    padding-left: 20px;
}

.requirement-card li {
    margin-bottom: 10px;
}


/* =========================
   ALUR PELAYANAN
========================= */

.process-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-card {
    text-align: center;
    padding: 25px;
    background: white;

    border-radius: 10px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
}

.process-number {
    width: 50px;
    height: 50px;

    margin: 0 auto 15px;

    background: #087f5b;
    color: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    font-weight: bold;
}

.process-card h3 {
    color: #087f5b;
    margin-bottom: 10px;
}


/* =========================
   GALERI
========================= */

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
}

.gallery-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #e9f5f1;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 20px;
}

.gallery-caption h3 {
    color: #087f5b;
    margin: 0 0 8px;
}

.gallery-caption p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}


/* =========================
   KONTAK
========================= */

.contact-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-card {
    background: white;
    padding: 25px;

    text-align: center;

    border-radius: 10px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.contact-icon {
    font-size: 35px;
    margin-bottom: 12px;
}

.contact-card h3 {
    color: #087f5b;
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}


/* =========================
   FORM KONTAK
========================= */

.contact-form-container {
    max-width: 800px;
    margin: auto;

    background: white;

    padding: 40px;

    border-radius: 12px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.form-description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px;

    border: 1px solid #ddd;
    border-radius: 6px;

    font-family: inherit;

    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
}

.contact-form-container button {
    padding: 13px 25px;

    border: none;
    border-radius: 6px;

    background: #087f5b;
    color: white;

    font-size: 16px;

    cursor: pointer;
}

.contact-form-container button:hover {
    opacity: 0.9;
}


/* =========================
   LOKASI
========================= */

.map-placeholder {
    height: 300px;

    background: #e9f5f1;

    border-radius: 12px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}

.map-placeholder div {
    font-size: 60px;
}

.map-placeholder h3 {
    color: #087f5b;
    margin: 10px 0;
}

.map-placeholder p {
    color: #666;
}


/* =========================
   BANNER MONOGRAFI
========================= */

.hero-monografi {
    width: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-monografi img {
    width: 100%;
    height: 600px;
    object-fit: contain;
    display: block;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .navbar {
        flex-direction: column;
        padding: 15px 0;
        gap: 15px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .sambutan {
        flex-direction: column;
    }

    .stat-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-container,
    .news-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .profil-content {
        grid-template-columns: 1fr;
    }

    .visi-misi {
        grid-template-columns: 1fr;
    }

    .org-row {
        flex-wrap: wrap;
    }

    .area-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .requirement-container {
        grid-template-columns: 1fr;
    }

    .process-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 550px) {

    .container {
        width: 92%;
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 13px;
    }

    .hero {
        min-height: 450px;
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .stat-container {
        grid-template-columns: 1fr;
    }

    .service-container,
    .news-container {
        grid-template-columns: 1fr;
    }

    .area-container {
        grid-template-columns: 1fr;
    }

    .process-container {
        grid-template-columns: 1fr;
    }

    .gallery-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 25px;
    }

    .page-header {
        min-height: 300px;
        background-position: center;
        padding: 50px 0;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .page-header p {
        font-size: 12px;
    }

    .foto-lurah {
        width: 100%;
        max-width: 300px;
    }

    .hero-monografi img {
        height: auto;
        width: 100%;
        object-fit: contain;
    }

}