/* CSS KHUSUS HALAMAN TATA USAHA */

/* Hero Section TU (Nuansa Navy/Biru Dongker Elegan) */

/* Pola Garis Diagonal */

/* Global Section */

.tu-section {

    padding: 80px 0;

    background-color: #FAFAFA;

}

.tu-section.bg-white {

    background-color: var(--white);

}

.section-heading {

    text-align: center;

    margin-bottom: 48px;

}

.sec-title {

    font-size: 32px;

    font-weight: 800;

    color: var(--charcoal);

    margin-bottom: 16px;

}

.sec-desc {

    color: var(--slate);

    font-size: 16px;

    max-width: 650px;

    margin: 0 auto;

    line-height: 1.7;

}

/* Layanan Administrasi Cards */

.layanan-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 30px;

    max-width: 1000px;

    margin: 0 auto;

}

@media (min-width: 768px) {

    .layanan-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

.layanan-card {

    background: var(--white);

    border-radius: 20px;

    padding: 32px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.03);

    border: 1px solid rgba(0,0,0,0.03);

    display: flex;

    gap: 20px;

    transition: transform 0.3s, box-shadow 0.3s;

}

.layanan-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.06);

    border-color: #e2e8f0;

}

.l-icon {

    width: 56px;

    height: 56px;

    background: #eff6ff; /* blue-50 */

    color: #1e40af; /* blue-800 */

    border-radius: 16px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}

.l-content h3 {

    font-size: 18px;

    font-weight: 700;

    color: var(--charcoal);

    margin-bottom: 8px;

    line-height: 1.4;

}

.l-content p {

    font-size: 14px;

    color: var(--slate);

    line-height: 1.6;

}

/* Struktur Organisasi TU (Org Chart) */

.tu-tree {

    display: flex;

    flex-direction: column;

    align-items: center;

    padding: 20px 0 40px;

}

.tu-level {

    display: flex;

    justify-content: center;

    gap: 32px;

    position: relative;

    padding-top: 40px;

    flex-wrap: wrap;

}

/* Garis vertikal ke atas */

.tu-level::before {

    content: '';

    position: absolute;

    top: 0; left: 50%;

    transform: translateX(-50%);

    width: 2px;

    height: 40px;

    background: #94a3b8;

}

/* Garis horizontal pengait anak */

.tu-level.multi-item::after {

    content: '';

    position: absolute;

    top: 0;

    left: calc(16.66% + 30px); /* Adjust based on 3 items */

    right: calc(16.66% + 30px);

    height: 2px;

    background: #94a3b8;

}

@media (max-width: 900px) {

    .tu-level.multi-item::after {

        display: none; /* Hide horizontal line on mobile */

    }

    .tu-level { padding-top: 20px; flex-direction: column; align-items: center; gap: 20px;}

    .tu-level::before { display: none; }

}

.tu-node {

    background: var(--white);

    border-radius: 16px;

    padding: 24px;

    text-align: center;

    width: 240px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.05);

    border: 1px solid #e2e8f0;

    position: relative;

    z-index: 2;

    transition: all 0.3s;

}

.tu-node:hover {

    border-color: #1e3a8a;

    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.15);

    transform: translateY(-5px);

}

.tu-node.kepala {

    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);

    color: white;

    border: none;

    width: 260px;

}

.tu-node.kepala .tu-name { color: white; }

.tu-node.kepala .tu-pos { color: #bfdbfe; }

.tu-avatar {

    width: 80px;

    height: 80px;

    border-radius: 50%;

    background: #e2e8f0;

    margin: 0 auto 16px;

    overflow: hidden;

    border: 3px solid white;

    box-shadow: 0 2px 10px rgba(0,0,0,0.1);

}

.tu-avatar img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.tu-name {

    font-weight: 800;

    font-size: 16px;

    color: var(--charcoal);

    margin-bottom: 6px;

}

.tu-pos {

    font-size: 13px;

    color: #64748b;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    padding: 4px 0;

    border-top: 1px solid rgba(0,0,0,0.1);

    margin-top: 8px;

}

.tu-node.kepala .tu-pos {

    border-top: 1px solid rgba(255,255,255,0.2);

}

/* Jam Operasional / Waktu Pelayanan */

.waktu-container {

    max-width: 800px;

    margin: 0 auto;

    background: var(--white);

    border-radius: 24px;

    padding: 40px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.03);

    border: 1px solid rgba(0,0,0,0.03);

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

}

.waktu-icon {

    width: 64px;

    height: 64px;

    background: #fef2f2; /* red-50 */

    color: #ef4444; /* red-500 */

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 24px;

}

.waktu-title {

    font-size: 24px;

    font-weight: 800;

    color: var(--charcoal);

    margin-bottom: 8px;

}

.waktu-desc {

    color: var(--slate);

    margin-bottom: 32px;

}

.waktu-table {

    width: 100%;

    max-width: 400px;

    border-collapse: collapse;

}

.waktu-table tr {

    border-bottom: 1px solid var(--light-gray);

}

.waktu-table tr:last-child {

    border-bottom: none;

}

.waktu-table td {

    padding: 16px 0;

    font-size: 15px;

}

.waktu-table td:first-child {

    font-weight: 600;

    color: var(--charcoal);

    text-align: left;

}

.waktu-table td:last-child {

    font-weight: 700;

    color: var(--primary-green);

    text-align: right;

}

.waktu-table tr.tutup td:last-child {

    color: #ef4444;

}