/* ======================================== */
/* GURU.CSS - HALAMAN GURU & TENAGA KEPENDIDIKAN */
/* Tema Biru Putih Modern - Selaras dengan Home */
/* ======================================== */

:root {
    --primary-blue: #0a4d8c;
    --secondary-blue: #1e6eb5;
    --accent-blue: #3498db;
    --light-blue: #eef5fc;
    --pure-white: #ffffff;
    --soft-white: #f8fafd;
    --text-dark: #2c3e50;
    --text-light: #5a6a7a;
    --border-light: #d9e6f2;
    --shadow: 0 10px 30px rgba(10, 77, 140, 0.08);
    --shadow-hover: 0 15px 40px rgba(10, 77, 140, 0.12);
    --gradient-blue: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--soft-white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ========== BANNER HALAMAN (DIPERBAIKI) ========== */
.page-banner {
    position: relative;
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pure-white);
    margin-bottom: 3rem;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.banner-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--pure-white);
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb span {
    color: var(--pure-white);
    font-weight: 500;
}

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.header-line {
    width: 80px;
    height: 4px;
    background: var(--accent-blue);
    margin: 0 auto 1.5rem;
    border-radius: 4px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ========== GURU GRID ========== */
.guru-section {
    padding: 2rem 0 5rem;
}

.guru-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* ========== GURU CARD ========== */
.guru-card {
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.guru-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guru-card:hover .card-image img {
    transform: scale(1.08);
}

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.card-content p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-content p i {
    width: 18px;
    color: var(--accent-blue);
    font-size: 0.9rem;
}

.card-content .jabatan {
    color: var(--text-dark);
    font-weight: 500;
}

.card-content .nip {
    font-size: 0.85rem;
    color: var(--text-light);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.8rem;
    align-self: flex-start;
    border: 1px solid var(--border-light);
}

.card-content .alamat {
    margin: 0.3rem 0;
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.card-content .alamat i {
    width: 18px;
    color: var(--accent-blue);
    font-size: 0.85rem;
    margin-top: 2px;
}

/* ========== NO DATA ========== */
.no-data {
    text-align: center;
    padding: 4rem;
    background: var(--pure-white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    grid-column: 1 / -1;
}

.no-data i {
    font-size: 4rem;
    color: var(--border-light);
    margin-bottom: 1rem;
}

.no-data p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ========== STATISTIK GURU ========== */
.statistik-guru {
    background: var(--light-blue);
    padding: 4rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-light);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    width: 55px;
    height: 55px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-blue);
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.6rem;
    color: var(--primary-blue);
}

.stat-info {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .guru-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .guru-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .banner-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 250px;
    }
    .banner-content h1 {
        font-size: 2rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .stats-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .stat-item {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .guru-grid {
        grid-template-columns: 1fr;
    }
    .banner-content h1 {
        font-size: 1.8rem;
    }
    .breadcrumb {
        font-size: 0.9rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .card-image {
        height: 240px;
    }
}

img[src*="default.jpg"] {
    object-fit: cover;
    background: var(--light-blue);
}