
/* --- SECTION & HEADER --- */
.lurah-section {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom:35px;
}

.header-container {
    margin-top: 35px;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1px;
}

.header-container h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #111827;
    line-height: 1.2;
}

.header-container h1 span {
    font-size: 2rem;
    font-weight: 600;
    color: #6b7280;
}

.hero-img {
    height: auto;
    width: 60%;
    margin-top: 20px;
    opacity: 0.85;
}

/* --- GRID LAYOUT MODERN --- */
.lurah-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    padding: 10px;
}

/* --- CARD ITEM --- */
.lurah-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 35px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lurah-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6; /* Highlight warna biru modern saat hover */
}

/* Lingkaran pembungkus foto */
.avatar-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    border: 3px solid #f3f4f6;
    transition: border-color 0.3s ease;
}

.lurah-item:hover .avatar-wrapper {
    border-color: #dbeafe;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lurah-item h3 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.tahun-aktif {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 20px;
}

/* TOMBOL DETAIL */
.btn-detail {
    margin-top: auto; /* Memaksa tombol selalu berada di paling bawah card */
    background-color: #f3f4f6;
    color: #4b5563;
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-detail:hover {
    background-color: #3b82f6;
    color: #ffffff;
}

/* --- MODERN SLIDE MODAL DETAIL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px); /* Efek blur blur kekinian */
    display: flex;
    justify-content: flex-end; /* Memunculkan modal dari kanan layaknya panel slide */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 9999;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    height: 100%;
    padding: 40px 30px;
    box-shadow: -10px 0 25px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateX(0);
}

.btn-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn-close:hover {
    color: #111827;
}

/* Content di dalam modal */
.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 30px;
}

.modal-body img {
    width: 120px;
    height: 120px;
    background: #f3f4f6;
    border-radius: 50%;
    padding: 15px;
    margin-bottom: 20px;
}

.modal-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.badge-tahun {
    background: #e0f2fe;
    color: #0369a1;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.modal-body hr {
    width: 100%;
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 25px;
}

.modal-body h4 {
    align-self: flex-start;
    font-size: 1rem;
    color: #374151;
    margin-bottom: 10px;
}

.modal-body p {
    align-self: flex-start;
    text-align: left;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}