/**
 * Gaya CSS Kustom Website Pondok Pesantren Nurul Jannah Natuna
 * Skema Warna: Emerald Green (#064e3b), Gold Accent (#d97706), Light Gray (#f8fafc)
 */

:root {
    --primary-color: #064e3b;
    --primary-hover: #04392b;
    --accent-color: #d97706;
    --accent-hover: #b45309;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-color: #334155;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.6;
}

/* --- Topbar Styling --- */
.topbar {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.875rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.topbar a:hover {
    color: #fef08a;
}

/* --- Navbar Styling --- */
.navbar-brand img {
    height: 48px;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-link {
    font-weight: 500;
    color: #1e293b !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* --- Running Text Styling --- */
.running-text-container {
    background-color: #fef3c7;
    border-bottom: 1px solid #fde68a;
    padding: 6px 0;
    font-size: 0.9rem;
    color: #78350f;
}

.running-text-badge {
    background-color: var(--accent-color);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* --- Hero Banner Section --- */
.hero-section {
    position: relative;
    background-color: var(--dark-bg);
}

.hero-img {
    height: 520px;
    object-fit: cover;
    filter: brightness(0.45);
}

.carousel-caption {
    bottom: 20%;
    z-index: 10;
}

/* --- Cards & Components --- */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.section-title {
    position: relative;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* --- Footer Styling --- */
.footer {
    background-color: var(--dark-bg);
    color: #94a3b8;
    padding-top: 4rem;
    padding-bottom: 2rem;
    font-size: 0.9rem;
}

.footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 3rem;
    padding-top: 1.5rem;
}