/*================*/
/* Profil Desa Modern */
/*================*/

.profil-desa {
    width: 100%;
    padding: 0px 200px 60px 200px; /* atas dikurangi dari 60 → 30px */
    background: linear-gradient(135deg, #ffffff, #f3f3ff);
    position: relative;
    overflow: hidden;
}

.profil-desa::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(210, 240, 250, 0.35) 0%, transparent 60%),
        radial-gradient(circle at 75% 70%, rgba(255, 245, 200, 0.45) 0%, transparent 70%),
        linear-gradient(to bottom, #ffffff, #faf8ed);
    opacity: 0.9;
    z-index: 1;
    filter: blur(20px);
}

.profil-desa h2 {
    color: #4B0082;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.profil-section {

    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 25px 30px;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profil-section:hover {
    transform: translateY(-5px);

}

.section-title {
    color: #4B0082;
    font-size: 28px;
    font-weight: 700;
    text-align: center;    
    width: 100%;          
    margin: 0 auto 25px auto;
    display: block;   
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.15);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 220px;   
    height: 4px;
    background: linear-gradient(90deg, #7b2ff7, #4B0082);
    margin: 10px auto 0 auto; 
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ===== Paragraf & List di semua section Profil Desa ===== */
.profil-section p,
.profil-section .list-no li {
    text-align: justify;
    margin: 0 80px 18px 80px; 
    font-size: 16px;
    line-height: 1.75;
    color: #333;
}

/* ===== Paragraf pertama setiap section tetap punya indentasi ===== */
.profil-section p:first-of-type {
    text-indent: 30px;
}

/* ===== Caption gambar tetap di tengah ===== */
.profil-section .image-caption {
    text-align: center;
    margin: 10px auto;
    text-indent: 0;
}

/* ===== List (ul) tetap rapi tapi menjorok sedikit ke dalam ===== */
.profil-section .list-no {
    padding-left: 50px; /* sejajar dengan paragraf */
    list-style-type: disc;
}

/* ===== Elemen Tambahan ===== */
.batas-wilayah {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.batas-wilayah div {
    background: #f6f8fb;
    padding: 12px 15px;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.peta-wilayah {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin-top: 15px;
}

.image-container {
    text-align: center;
    margin: 20px 0;
}

.profil-image {
    width: 80%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.image-caption {
    font-style: italic;
    color: #555;
    margin-top: 8px;
    font-size: 0.95rem;
}

section[id] {  
    scroll-margin-top: 130px;
}

/* ===== Responsif (HP/tablet) ===== */
@media (max-width: 768px) {
    .profil-desa {
        padding: 40px 25px;
    }

    .profil-section {
        padding: 20px 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .profil-section p,
    .profil-section .list-no li {
        margin: 0 15px 16px 15px;
        text-indent: 20px;
    }

    .profil-section .list-no {
        padding-left: 35px;
    }
}
