/* =========================================
   TATA LETAK STRUKTUR PREMIUM (TEMA TERANG)
   ========================================= */

.struktur-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-intro h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #111111;
    margin-bottom: 12px;
}

.section-intro p {
    color: #777777;
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto;
}

.badge-gold {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(243, 156, 18, 0.08);
    border: 1px solid rgba(243, 156, 18, 0.35);
    color: #b8730f;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.badge-gold::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f39c12;
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.6);
}

/* =========================================
   BPH LAYOUT — Kartu "Executive Profile"
   Disamakan gaya foto full-bleed + overlay seperti Sekbid,
   tapi overlay emas & garis aksen atas membedakannya
   sebagai kartu profil personal, bukan kartu program.
   ========================================= */
.bph-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 110px;
}

.bph-card {
    position: relative;
    width: 280px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

/* Garis aksen emas-biru di atas — penanda khas kartu BPH,
   tidak dimiliki kartu Sekbid */
.bph-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, #f39c12, #2563eb);
    border-radius: 0 0 4px 4px;
    z-index: 3;
    opacity: 0.85;
    transition: opacity 0.35s ease, width 0.35s ease;
}

.bph-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.bph-card:hover::before {
    opacity: 1;
    width: 60%;
}

/* Foto mengisi seluruh kartu, sama seperti Sekbid */
.bph-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
    border: none;
    box-shadow: none;
    z-index: 0;
    transition: transform 0.45s ease;
}

.bph-card:hover img {
    transform: scale(1.05);
}

/* Overlay gelap-emas — beda dari overlay biru Sekbid,
   supaya kesan "profil eksekutif" tetap terasa */
.bph-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 15, 5, 0.15) 0%, rgba(20, 15, 5, 0.8) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.bph-card:hover::after {
    background: linear-gradient(180deg, rgba(184, 115, 15, 0.3) 0%, rgba(184, 115, 15, 0.88) 100%);
}

.bph-card h3,
.bph-card p,
.bph-card .bph-cta {
    position: relative;
    z-index: 2;
    width: 100%;
}

.bph-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    padding: 0 20px;
}

.bph-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 12px;
}

/* CTA tetap teks-link tipis (bukan pill seperti Sekbid) —
   pembeda gaya interaksi antara kartu profil vs kartu program */
.bph-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #f5c26b;
    text-transform: uppercase;
    padding: 10px 20px 18px;
    justify-content: center;
}

.bph-cta-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.bph-card:hover .bph-cta-arrow {
    transform: translateX(4px);
}

/* =========================================
   BIDANG GRID (Sekbid) — Kartu "Photo Program"
   CTA di sini berupa pill semi-transparan di atas foto,
   berbeda gaya dari tautan teks polos di kartu BPH.
   ========================================= */
.bidang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.bidang-card {
    position: relative;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.45s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.bidang-card:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 24px 45px rgba(11, 61, 145, 0.18);
    border-color: #f39c12;
}

/* Overlay Gelap di Atas Gambar Bidang */
/* Overlay ini sengaja tetap gelap karena berada di atas foto,
   supaya teks putih di atasnya tetap terbaca jelas.
   Menggunakan gradient (bukan gelap rata) agar terasa lebih premium. */
.bidang-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.65) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    transition: background 0.4s ease;
}

.bidang-card:hover .bidang-overlay {
    background: linear-gradient(180deg, rgba(11, 61, 145, 0.35) 0%, rgba(11, 61, 145, 0.8) 100%);
}

.bidang-overlay h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.bidang-overlay p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Garis kecil dekoratif di bawah judul overlay, muncul saat hover */
.bidang-overlay h2::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #f39c12;
    margin: 10px auto 0;
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.bidang-card:hover .bidang-overlay h2::after {
    opacity: 1;
    transform: scaleX(1);
}

/* CTA pill "Lihat Selengkapnya" — selalu terlihat samar,
   menegaskan solid & terang saat hover supaya jelas bisa diklik. */
.bidang-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.bidang-card:hover .bidang-cta {
    background: #f39c12;
    border-color: #f39c12;
    color: #14123a;
}

.bidang-cta-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.bidang-card:hover .bidang-cta-arrow {
    transform: translateX(4px);
}

/* =========================================
   MODE PC (DESKTOP)
   BPH disusun piramida: Ketua di baris atas sendirian di tengah,
   Sekretaris & Bendahara berdampingan di bawahnya.
   Sekbid terakhir (Jasmani) dipusatkan pada baris terakhir
   jika jumlahnya ganjil (7 kartu, 3 kolom -> baris terakhir 1 kartu).
   ========================================= */
@media (min-width: 769px) {
    .bph-grid {
        display: grid;
        grid-template-columns: repeat(2, 280px);
        justify-content: center;
        gap: 25px;
    }

    .bph-card:nth-child(1) {
        grid-column: 1 / span 2;
        justify-self: center;
    }

    .bidang-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bidang-card:last-child {
        grid-column: 2;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .bidang-grid {
        grid-template-columns: 1fr;
    }

    .bph-card {
        width: 100%;
        max-width: 320px;
    }
}