/* ——————————————————————————
   CUSTOM STYLE UNTUK PILKADES (DIPERBAIKI)
   —————————————————————————— */

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

/* Body tanpa padding-top (karena navbar tidak fixed) */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Navbar Custom - Biru Toska */
.navbar-custom {
    background: linear-gradient(90deg, #0fb8ad, #1ac3c9, #2ee0d1);
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-brand {
    color: white !important;
    font-weight: 700;
    font-size: 1.25rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.navbar-custom .navbar-brand:hover {
    color: white !important;
    opacity: 0.9;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    background: rgba(0, 0, 0, 0.1);
    color: white !important;
}

/* Dropdown tetap kontras */
.navbar-custom .dropdown-menu {
    background: white;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.75rem;
    padding: 0.5rem 0;
}

.navbar-custom .dropdown-item {
    color: #333;
    padding: 0.5rem 1.5rem;
}

.navbar-custom .dropdown-item:hover {
    background: #f0f9ff;
    color: #1ac3c9;
}

/* Tombol Login Admin */
.navbar-custom .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.navbar-custom .btn-outline-light:hover {
    background: white;
    color: #0d47a1;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid #e9ecef;
}

.footer .text-muted {
    font-size: 0.9rem;
}

/* Card & Container */
.card {
    border: none;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* Hero Section - TANPA margin-top negatif */
.hero-section {
    background: linear-gradient(rgba(13, 71, 161, 0.9), rgba(23, 107, 229, 0.8)), url('../images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 5rem 0;
    margin-top: 0; /* <-- INI YANG DIUBAH */
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-weight: 700;
    font-size: 3rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    max-width: 700px;
}

/* Alert Info */
.alert-info {
    background: #e3f2fd;
    border-color: #bbdefb;
    color: #0d47a1;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
}

/* Table */
.table th {
    background: #f8f9fa;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-custom .navbar-nav {
        margin-top: 1rem;
    }
    /* Hapus padding-top di body untuk mobile juga */
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.25rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
}