/* ===== RESET & VARIABEL TEMA CERAH ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #f8fafc;        /* latar utama putih kebiruan */
    --bg-secondary: #ffffff;       /* putih bersih */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --text-primary: #0f172a;       /* gelap */
    --text-secondary: #334155;     /* abu gelap */
    --accent-blue: #2563eb;         /* biru terang */
    --accent-orange: #f97316;       /* oranye */
    --accent-teal: #0d9488;         /* toska */
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --radius: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span {
    font-weight: 300;
    opacity: 0.8;
    color: var(--text-secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-blue);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #dbeafe 0%, #ffffff 100%);
    padding: 5rem 0;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--text-primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===== BUTTON ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* ===== STATS CARDS ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-blue);
}

.stat-card i {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card p {
    color: var(--text-secondary);
}

/* ===== SECTION ===== */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    border-radius: 2px;
}

/* ===== CARD & GRID ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-box {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.info-box:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
}

.info-box h3 {
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.info-box h3 i {
    margin-right: 0.5rem;
}

/* ===== FORM ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* ===== TABEL ===== */
.table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

th {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: var(--text-primary);
    font-weight: 600;
    padding: 1rem;
    text-align: left;
}

td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-secondary);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: #f1f5f9;
}

/* ===== BADGE ===== */
.badge {
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

.badge.active {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.badge.inactive {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ===== HALAMAN PETA ===== */
.map-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.map-card h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.map-image {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    cursor: zoom-in;
    transition: transform 0.3s;
}

.map-image:hover {
    transform: scale(1.01);
}

.map-metadata {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    border-left: 4px solid var(--accent-blue);
}

.metadata-label {
    color: var(--accent-blue);
    font-weight: 600;
}

.diagram-lokasi {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.diagram-item {
    background: #dbeafe;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    border: 1px solid var(--accent-blue);
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* ===== HALAMAN TERMINAL ===== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.photo-card {
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow);
}

.photo-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.photo-card p {
    margin-top: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.tarif-highlight {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    font-weight: 600;
    display: inline-block;
}

/* ===== HALAMAN TRAYEK ===== */
.warna-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-right: 1rem;
}

.warna-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #94a3b8;
}

/* ===== FOOTER ===== */
footer {
    background: #e2e8f0;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #cbd5e1;
    color: var(--text-secondary);
}