@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
    min-height: 100vh;
    padding-top: 90px;
    overflow-x: hidden;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    flex-wrap: wrap;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #00c6ff;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    overflow: hidden;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #00c6ff;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    overflow: hidden;
    /* WARNA LATAR BELAKANG DISAMAKAN DENGAN BODY DI BAWAHNYA */
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.hero::before {
    display: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

/* EFEK GERAK (ANIMASI) PADA TULISAN DESA SEMARANG */
.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    color: #00c6ff;
    animation: floatText 3s ease-in-out infinite;
}

/* KEYFRAMES UNTUK EFEK GERAKAN MENGAPUNG HALUS */
@keyframes floatText {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #00c6ff;
    color: white;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: .3s;
}

.btn:hover {
    background: #0099cc;
    transform: translateY(-3px);
}

/* SECTION */
section {
    padding: 120px 8% 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 38px;
    color: #00c6ff;
}

/* GAMBAR */
.profil-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    margin: 0 auto 40px auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* CARD */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 35px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
}

/* =========================
    STATISTIK PENDUDUK
    ========================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: #00c6ff;
    box-shadow: 0 15px 35px rgba(0, 198, 255, 0.25);
}

.stat-card h3 {
    color: #00c6ff;
    margin-bottom: 15px;
    font-size: 20px;
}

.stat-card .number {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.stat-card small {
    color: #d9d9d9;
    font-size: 14px;
}

.highlight {
    border: 2px solid #00c6ff;
    background: linear-gradient(135deg,
            rgba(0, 198, 255, 0.25),
            rgba(255, 255, 255, 0.08));
}

.highlight .number {
    color: #00e1ff;
    font-size: 50px;
}

.profil-box {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    line-height: 1.8;
}

/* =========================
    STRUKTUR ORGANISASI
    ========================= */

.struktur-level {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.struktur-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.struktur-card:hover {
    transform: translateY(-8px);
    border-color: #00c6ff;
    box-shadow: 0 15px 35px rgba(0, 198, 255, 0.25);
}

.struktur-card h3 {
    color: #00c6ff;
    margin-bottom: 12px;
    font-size: 20px;
}

.struktur-card p {
    color: #d9d9d9;
    font-size: 14px;
    line-height: 1.6;
}

.struktur-card.utama {
    border: 2px solid #00c6ff;
    background: linear-gradient(135deg,
            rgba(0, 198, 255, 0.25),
            rgba(255, 255, 255, 0.08));
}

.struktur-card.utama h3 {
    color: #00e1ff;
}

.subjudul {
    text-align: center;
    margin: 40px 0 20px;
    color: #00c6ff;
    font-size: 24px;
    font-weight: 600;
}

/* RESPONSIVE */
@media(max-width:768px) {

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero::before {
        height: 55vh;
        width: 95%;
    }

    .stat-card .number {
        font-size: 32px;
    }

    .highlight .number {
        font-size: 40px;
    }
}

/* =========================
   KONTAK & PENGADUAN (UPGRADE MODERN)
========================= */

.container {
    max-width: 1100px;
    margin: 0 auto;
}

form {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 35px;
    border-radius: 20px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease;
}

form:hover {
    transform: translateY(-5px);
    border-color: #00c6ff;
    box-shadow: 0 20px 50px rgba(0, 198, 255, 0.25);
}

form input,
form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.25);
    color: white;
    outline: none;
    transition: 0.3s;
    font-size: 14px;
}

form input:focus,
form textarea:focus {
    border-color: #00c6ff;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.3);
    transform: scale(1.02);
}

form button {
    padding: 14px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #00c6ff, #0077ff);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
    letter-spacing: 1px;
}

form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 198, 255, 0.4);
}

/* CARD ALAMAT */
.container .card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.container .card:hover {
    transform: translateY(-5px);
    border-color: #00c6ff;
    box-shadow: 0 15px 35px rgba(0, 198, 255, 0.25);
}

/* TITLE KONTAK */
.section-title {
    font-size: 40px;
    text-shadow: 0 0 15px rgba(0, 198, 255, 0.3);
}


/* =========================
   ALAMAT DESA (KOTAK MODERN)
========================= */

.alamat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.info-box:hover {
    transform: translateY(-8px);
    border-color: #00c6ff;
    box-shadow: 0 20px 45px rgba(0, 198, 255, 0.25);
}

/* efek glow garis */
.info-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 198, 255, 0.15), transparent);
    transform: rotate(0deg);
    animation: shine 6s linear infinite;
}

.info-box h3 {
    color: #00c6ff;
    margin-bottom: 10px;
    font-size: 18px;
    position: relative;
    z-index: 2;
}

.info-box p {
    color: #e6e6e6;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

footer,
footer p,
.footer,
.copyright {
    color: #ffffff !important;
    text-align: center !important;
    font-weight: 700 !important;
    display: block !important;
    margin: 20px auto !important;
}