/* --- 1. GEN Z x GENBI PALETTE (VARIABEL) --- */
:root {
    --genbi-blue-main: #005494; /* Warna Biru Utama */
    --genbi-blue: #005494; /* Alias agar kode lama tetap jalan */
    --genbi-red:  #E31E2D;
    --genbi-gold: #ffc107;
    
    /* Gradasi */
    --genbi-blue-gradient: linear-gradient(135deg, var(--genbi-blue-main), #007aff); 
    --genbi-red-gradient: linear-gradient(45deg, #E31E2D 0%, #ff6b6b 100%);   
    
    /* Background & Teks Modern */
    --bg-color: #f0f4f8; 
    --glass-white: rgba(255, 255, 255, 0.9);
    --gray-text: #64748b;
} /* <--- KURUNG KURAWAL INI SEBELUMNYA HILANG, INI SANGAT PENTING! */

img{
    max-width: 100%;
    height: auto;
}

/* --- 2. GLOBAL STYLES --- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: #2d3436;
    overflow-x: hidden;
    
    /* Agar Footer selalu menempel di bawah */
    min-height: 100vh;      
    display: flex;          
    flex-direction: column; 
}


/* --- 3. NAVBAR MODERN --- */
.navbar-custom {
    background: var(--genbi-blue-gradient); 
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
}

.navbar-brand {
    font-weight: 800; 
    letter-spacing: -0.5px; 
    color: white !important;
    padding: 0;
}

.navbar-logo img {
    height: 32px !important;
    width: auto !important;
    max-height: 32px !important;
    object-fit: contain;
}

.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    margin-left: 10px;
    padding: 8px 15px !important;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    transform: translateY(-2px);
}


/* --- 4. FOOTER --- */
footer {
    background: var(--genbi-blue-main) !important; /* Sekarang warnanya akan serasi dengan atas */
    color: white !important;
    padding-top: 60px;
    padding-bottom: 30px;
    margin-top: auto;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}


/* --- 5. TOMBOL & KARTU --- */
.btn-gold {
    background: var(--genbi-red-gradient); 
    color: white;
    font-weight: 700;
    border-radius: 50px; 
    padding: 12px 30px;
    border: none;
    box-shadow: 0 5px 15px rgba(227, 30, 45, 0.4); 
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.btn-gold:hover {
    transform: translateY(-4px) scale(1.05); 
    box-shadow: 0 10px 25px rgba(227, 30, 45, 0.6); 
    color: white;
}

.card {
    border: none;
    border-radius: 20px; 
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); 
    overflow: hidden;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0, 84, 148, 0.15); 
}

.card-img-top {
    border-radius: 20px 20px 0 0; 
}

.badge {
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}


/* --- 6. HERO SECTION & TYPOGRAPHY --- */
.hero-section {
    position: relative;
    background: linear-gradient(180deg, rgba(0, 84, 148, 0.85) 0%, rgba(0, 40, 80, 0.95) 100%), url('https://source.unsplash.com/1600x900/?students,happy');
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: white;
    clip-path: ellipse(150% 100% at 50% 0%); 
}

.text-gold {
    background: var(--genbi-red-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    font-weight: 800;
}

.page-title {
    color: var(--genbi-blue-main);
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: var(--genbi-red-gradient);
    margin: 10px auto 0;
    border-radius: 10px;
}


/* --- 7. STRUKTUR KOMUNITAS --- */
.struktur-title-container { text-align: center; margin-bottom: 50px; }
.struktur-title { font-size: 2.5rem; font-weight: 800; color: #2d3436; margin-bottom: 5px; }
.struktur-title span { color: var(--genbi-red); }
.struktur-subtitle { font-size: 1.5rem; font-weight: 600; color: var(--gray-text); margin-bottom: 20px; }

.divisi-title {
    text-align: center; font-weight: 800; font-size: 1.6rem; color: #2d3436;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px;
    position: relative; display: inline-block; padding-bottom: 10px;
}
.divisi-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 4px; background: var(--genbi-gold); border-radius: 10px;
}

/* Kartu Anggota */
.exec-card {
    background: white; 
    border-radius: 25px; 
    padding: 25px; 
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    border-top: 8px solid var(--genbi-blue-main); 
    transition: transform 0.3s ease; 
    height: 100%;
}
.exec-card:hover { transform: translateY(-8px); }

/* Gambar Anggota */
.exec-img {
    width: 180px; 
    height: 220px; 
    object-fit: cover;
    border-radius: 15px; 
    margin-bottom: 20px;
    background: #f8f9fa;
}

.exec-name { 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: #2d3436; 
    margin-bottom: 4px; 
    line-height: 1.3;
}
.exec-role { 
    font-size: 0.9rem; 
    color: var(--gray-text); 
    font-weight: 500; 
}

/* =========================================
   RESPONSIVE MOBILE & TABLET
========================================= */

@media (max-width: 992px){

    /* Navbar */
    .navbar-nav{
        text-align: center;
        padding-top: 15px;
    }

    .nav-link{
        margin: 5px 0;
    }

    /* Hero Section */
    .hero-section{
        min-height: auto;
        padding: 100px 20px;
        clip-path: none;
        text-align: center;
    }

    .hero-section h1{
        font-size: 2.3rem;
    }

    .hero-section p{
        font-size: 1rem;
    }

    /* Title */
    .struktur-title{
        font-size: 2rem;
    }

    .struktur-subtitle{
        font-size: 1.1rem;
    }

    .page-title{
        font-size: 2rem;
    }

    /* Card */
    .card{
        margin-bottom: 20px;
    }

    /* Struktur */
    .exec-card{
        padding: 20px;
    }

    .exec-img{
        width: 150px;
        height: 190px;
    }

}


/* HP Kecil */
@media (max-width: 576px){

    body{
        overflow-x: hidden;
    }

    /* Hero */
    .hero-section{
        padding: 80px 15px;
    }

    .hero-section h1{
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .hero-section p{
        font-size: 0.95rem;
    }

    /* Tombol */
    .btn-gold{
        width: 100%;
        padding: 12px;
    }

    /* Struktur */
    .struktur-title{
        font-size: 1.7rem;
    }

    .struktur-subtitle{
        font-size: 1rem;
    }

    .divisi-title{
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .exec-card{
        border-radius: 20px;
        padding: 18px;
    }

    .exec-img{
        width: 130px;
        height: 170px;
    }

    .exec-name{
        font-size: 1rem;
    }

    .exec-role{
        font-size: 0.85rem;
    }

    /* Footer */
    footer{
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        padding-top: 40px;
    }

}