/* =============================================================
   STYLE UTAMA - Website Profil Nurhasan Nugroho
   Tema: Biru - Putih (Akademik & Profesional)
   ============================================================= */

:root {
    --primary-blue: #0b3d91;
    --primary-blue-dark: #072a66;
    --primary-blue-light: #1e5fc4;
    --accent-gold: #d4a017;
    --soft-blue-bg: #f4f8ff;
    --text-dark: #1a1f2b;
    --text-muted: #5c6577;
    --white: #ffffff;
    --radius: 10px;
    --shadow-soft: 0 8px 24px rgba(11, 61, 145, 0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-blue-dark);
}

a { text-decoration: none; }

.text-primary-blue { color: var(--primary-blue) !important; }
.bg-soft-blue { background-color: var(--soft-blue-bg); }

/* ================= NAVBAR ================= */
.navbar-custom {
    background-color: var(--white);
    box-shadow: 0 2px 12px rgba(11, 61, 145, 0.08);
    padding-top: 12px;
    padding-bottom: 12px;
    transition: var(--transition);
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    color: var(--primary-blue-dark);
    font-size: 1.15rem;
    line-height: 1.2;
}

.navbar-custom .navbar-brand small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
}

.navbar-custom .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 6px;
    position: relative;
    padding: 8px 10px !important;
}

.navbar-custom .nav-link.active,
.navbar-custom .nav-link:hover {
    color: var(--primary-blue);
}

.navbar-custom .nav-link.active::after {
    content: "";
    position: absolute;
    left: 10px; right: 10px; bottom: 0;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.btn-primary-custom {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
}
.btn-primary-custom:hover {
    background-color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
    color: #fff;
}

.btn-outline-primary-custom {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 600;
    border-radius: 6px;
    background: transparent;
}
.btn-outline-primary-custom:hover {
    background-color: var(--primary-blue);
    color: #fff;
}

/* ================= HERO ================= */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 55%, var(--primary-blue-light) 100%);
    color: #fff;
    padding: 130px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -180px; right: -120px;
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(212, 160, 23, 0.08);
    bottom: -100px; left: -80px;
}

.hero-section .badge-role {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    display: inline-block;
}

.hero-section h1 {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 800;
}

.hero-section p.lead {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
}

.hero-photo-frame {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 6px solid rgba(255,255,255,0.25);
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.hero-photo-frame img {
    width: 100%; height: 100%; object-fit: cover;
}

/* ================= SECTION ================= */
.section-padding { padding: 80px 0; }

.section-title-wrap { margin-bottom: 50px; }

.section-eyebrow {
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.8rem;
}

.section-title {
    font-size: 2rem;
    margin-top: 6px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 4px;
    margin-top: 14px;
}

/* ================= CARD ================= */
.card-custom {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
}
.card-custom:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(11, 61, 145, 0.15);
}

.card-custom .card-img-top {
    height: 190px;
    object-fit: cover;
}

.card-custom .card-body { padding: 22px; }

.icon-box {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: var(--soft-blue-bg);
    color: var(--primary-blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.badge-custom {
    background: var(--soft-blue-bg);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
}

/* ================= STATS ================= */
.stat-box {
    text-align: center;
    padding: 24px;
}
.stat-box .stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-blue);
}
.stat-box .stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* ================= TIMELINE (Pendidikan) ================= */
.timeline-item {
    border-left: 3px solid var(--soft-blue-bg);
    padding: 0 0 30px 28px;
    position: relative;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -9px; top: 2px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--soft-blue-bg);
}

/* ================= FOOTER ================= */
.footer-custom {
    background: var(--primary-blue-dark);
    color: rgba(255,255,255,0.75);
    padding: 60px 0 20px;
}
.footer-custom h5 { color: #fff; }
.footer-custom a { color: rgba(255,255,255,0.75); }
.footer-custom a:hover { color: var(--accent-gold); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    padding-top: 20px;
    font-size: 0.88rem;
}
.social-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: inline-flex; align-items: center; justify-content: center;
    margin-right: 8px;
    transition: var(--transition);
}
.social-icon:hover { background: var(--accent-gold); color: #fff; }

/* ================= FORMS ================= */
.form-control-custom {
    border: 1px solid #dbe3f0;
    border-radius: 8px;
    padding: 12px 16px;
}
.form-control-custom:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.1);
}

/* ================= GALLERY ================= */
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
}
.gallery-item img {
    width: 100%; height: 230px; object-fit: cover;
    transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(7,42,102,0.85), transparent 60%);
    display: flex; align-items: flex-end;
    padding: 16px;
    color: #fff;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ================= UTILITIES ================= */
.sticky-top-custom { top: 90px; }
.back-to-top {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-soft);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-blue-dark); color: #fff; }

.breadcrumb-section {
    background: var(--soft-blue-bg);
    padding: 100px 0 30px;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section { padding: 110px 0 60px; text-align: center; }
    .hero-photo-frame { margin-top: 30px; width: 220px; height: 220px; }
}
@media (max-width: 576px) {
    .hero-section h1 { font-size: 1.9rem; }
    .section-title { font-size: 1.6rem; }
}
