/* ============================================
   STYLE STKIP MELAWI - Database Dosen
   Warna: Putih (#ffffff) & Orange (#f59e0b)
   Font: Philosopher (judul) + Inter (body)
   ============================================ */

:root {
    --orange: #f59e0b;
    --orange-tua: #d35400;
    --orange-muda: #f6ad55;
    --orange-gradient: linear-gradient(135deg, #f59e0b, #e67e22);
    --putih: #ffffff;
    --putih-abu: #f8f9fa;
    --hitam: #1a202c;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fa;
    color: #2d3748;
    line-height: 1.7;
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: var(--putih);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--orange);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--hitam);
}

.navbar-brand .logo-img {
    height: 42px;
    width: auto;
    display: block;
}

.navbar-brand .brand-text {
    font-family: 'Philosopher', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hitam);
}

.navbar-brand .brand-text small {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 300;
    color: #718096;
    display: block;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.navbar-links a {
    color: var(--hitam);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.navbar-links a:hover {
    color: var(--orange);
}

.btn-login {
    background: var(--orange-gradient);
    border: none;
    color: var(--putih);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
    color: var(--putih);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background: linear-gradient(135deg, #f59e0b, #d35400);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: var(--putih);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero h1 {
    font-family: 'Philosopher', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero h1 .highlight {
    color: #fff3cd;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    font-family: 'Philosopher', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff3cd;
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   SEARCH
   ============================================ */
.search-section {
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.search-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--putih);
    border-radius: 60px;
    padding: 8px 8px 8px 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
}

.search-box form {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 0;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: transparent;
    min-width: 200px;
}

.search-box input::placeholder {
    color: #a0aec0;
}

.search-box button {
    background: var(--orange-gradient);
    border: none;
    color: var(--putih);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.search-box button:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-reset {
    color: #a0aec0;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-reset:hover {
    color: #e53e3e;
    background: #fff5f5;
}

/* ============================================
   CARD DOSEN
   ============================================ */
.dosen-grid {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Philosopher', serif;
    font-size: 2.5rem;
    color: var(--hitam);
}

.section-header p {
    color: #718096;
    font-size: 1.1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.card-dosen {
    background: var(--putih);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.card-dosen:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(245, 158, 11, 0.15);
    border-color: var(--orange);
}

.card-dosen .card-image {
    height: 240px;
    width: 100%;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-dosen .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.card-dosen .card-image .placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Philosopher', serif;
    font-size: 3rem;
    color: var(--putih);
}

.card-dosen .card-image .badge-status {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    z-index: 2;
}

.badge-status.aktif {
    background: #48bb78;
}
.badge-status.pensiun {
    background: #ed8936;
}
.badge-status.pindah {
    background: #a0aec0;
}

.badge-status i {
    font-size: 8px;
    margin-right: 4px;
}

.card-dosen .card-body {
    padding: 24px;
}

.card-dosen .card-body .nama {
    font-family: 'Philosopher', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hitam);
    margin-bottom: 4px;
}

.card-dosen .card-body .jabatan {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.85rem;
}

.card-dosen .card-body .departemen {
    color: #718096;
    font-size: 0.85rem;
    margin: 8px 0 16px;
}

.card-dosen .card-body .btn-profil {
    display: inline-block;
    background: var(--orange-gradient);
    color: var(--putih);
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.card-dosen .card-body .btn-profil:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--hitam);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
    text-align: center;
    border-top: 4px solid var(--orange);
}

.footer .footer-brand {
    font-family: 'Philosopher', serif;
    font-size: 1.5rem;
    color: var(--putih);
}

.footer .footer-brand .highlight {
    color: var(--orange);
}

.footer p {
    font-size: 0.9rem;
    margin-top: 10px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-stats {
        gap: 25px;
        flex-wrap: wrap;
    }
    .search-box {
        border-radius: 20px;
        padding: 16px;
    }
    .search-box form {
        flex-direction: column;
    }
    .search-box input {
        width: 100%;
    }
    .navbar .container {
        flex-direction: column;
        text-align: center;
    }
    .grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0 40px;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero-stats .stat-number {
        font-size: 2rem;
    }
    .navbar-brand .brand-text {
        font-size: 1.2rem;
    }
    .card-dosen .card-image {
        height: 180px;
    }
}
/* ============================================
   HERO DENGAN FOTO GEDUNG + LAPISAN ORANGE BLUR
   ============================================ */

.hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

/* ============================================
   HERO DENGAN FOTO GEDUNG + LAPISAN ORANGE BLUR
   ============================================ */

.hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
}

/* ===== BACKGROUND FOTO GEDUNG ===== */
.hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/gedung-stkipmelawi.png') center center / cover no-repeat;
    z-index: 0;
}

/* ===== LAPISAN ORANGE BLUR ===== */
.hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245, 158, 11, 0.70);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1;
}

/* ===== GARIS DEKORATIF BAWAH ===== */
.hero .garis-bawah {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #f59e0b, #f6ad55, #f59e0b, transparent);
    z-index: 2;
    opacity: 0.8;
}

/* ===== KONTEN HERO ===== */
.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-content {
    text-align: center;
    color: #ffffff;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-family: 'Philosopher', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.hero h1 .highlight {
    color: #fff3cd;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto 30px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

/* ===== HERO STATS ===== */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 24px;
    border-radius: 16px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 120px;
    transition: all 0.3s ease;
}

.hero-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.hero-stats .stat-number {
    font-family: 'Philosopher', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff3cd;
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   RESPONSIVE HERO
   ============================================ */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
        min-height: 340px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-stats {
        gap: 12px;
    }

    .hero-stats .stat-item {
        padding: 10px 16px;
        min-width: 80px;
    }

    .hero-stats .stat-number {
        font-size: 2rem;
    }

    .hero-stats .stat-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0 30px;
        min-height: 280px;
    }

    .hero .hero-overlay {
        background: rgba(245, 158, 11, 0.80);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 8px;
    }

    .hero-stats .stat-item {
        padding: 8px 12px;
        min-width: 65px;
        border-radius: 10px;
    }

    .hero-stats .stat-number {
        font-size: 1.5rem;
    }

    .hero-stats .stat-label {
        font-size: 0.6rem;
    }
	    .sidebar {
            width: 260px;
            background: linear-gradient(180deg, #d35400, #f59e0b);
            padding: 30px 0;
            position: fixed;
            height: 100vh;
            overflow-y: auto;
            color: white;
            z-index: 100;
        }

        .sidebar::-webkit-scrollbar { width: 4px; }
        .sidebar::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); }
        .sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 10px; }

        .sidebar .brand {
            text-align: center;
            padding: 0 20px 30px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .sidebar .brand .logo-img {
            height: 50px;
            width: auto;
            display: block;
            margin: 0 auto 10px;
        }

        .sidebar .brand .logo {
            font-family: 'Philosopher', serif;
            font-size: 1.2rem;
            color: white;
        }

        .sidebar .brand .logo small {
            display: block;
            font-size: 0.6rem;
            color: rgba(255,255,255,0.7);
            font-weight: 300;
        }

        .sidebar .menu { padding: 10px 0; }
        .sidebar .menu .menu-label {
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: rgba(255,255,255,0.4);
            padding: 0 24px;
            margin-bottom: 10px;
        }

        .sidebar .menu a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 24px;
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
        }

        .sidebar .menu a:hover {
            background: rgba(255,255,255,0.1);
            color: white;
        }

        .sidebar .menu a.active {
            background: rgba(255,255,255,0.15);
            color: white;
            border-left-color: white;
        }

        .sidebar .menu a i {
            width: 20px;
            text-align: center;
            font-size: 1rem;
        }

        .sidebar .menu a .badge {
            margin-left: auto;
            background: rgba(255,255,255,0.2);
            color: white;
            padding: 2px 10px;
            border-radius: 50px;
            font-size: 0.65rem;
            font-weight: 600;
        }

        .sidebar .menu a .badge-danger {
            background: #e53e3e;
            color: white;
        }
}