/* =================== DETAIL PROVINSI PAGE STYLES =================== */

/* =================== RESET =================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
}

/* =================== HEADER SECTION =================== */
.page-header {
    background: white;
    padding: 20px;
    margin-top: 80px;
    border-bottom: 1px solid #e5e7eb;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: #dc3545;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title i {
    color: #dc3545;
    font-size: 32px;
}

/* =================== MAIN CONTENT =================== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* =================== QUICK NAVIGATION =================== */
/* =================== QUICK NAVIGATION =================== */
.quick-nav-section {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    padding: 40px 30px;
    border-radius: 16px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2);
}

.quick-nav-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    text-align: center;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.quick-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    text-decoration: none;
    color: #111827;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    height: 100%;
    width: 100%;
}

.quick-nav-card:hover {
    background: white;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #ef4444;
}

.quick-nav-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 12px;
    color: white;
    font-size: 28px;
    overflow: hidden;
}

.quick-nav-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-nav-label {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #111827;
}

/* =================== DESCRIPTION SECTION =================== */
.description-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 50px;
    border: 1px solid #e5e7eb;
}

.description-box h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #111827;
}

.description-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
}

/* =================== SECTION =================== */
.section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.section-title i {
    color: #dc3545;
    font-size: 24px;
}

/* =================== GRID =================== */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* =================== CARD =================== */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #dc3545;
    transform: translateY(-4px);
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f3f4f6;
}

.card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.card-type {
    font-size: 12px;
    color: #dc3545;
    font-weight: 600;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 12px;
}

.card-link {
    color: #dc3545;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-link:hover {
    color: #b71c1c;
}

/* =================== EMPTY STATE =================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.empty-state i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 16px;
}

.empty-state p {
    color: #9ca3af;
    font-size: 15px;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 900px) {
    .quick-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 16px;
        margin-top: 70px;
    }

    .page-title {
        font-size: 24px;
    }

    .page-title i {
        font-size: 28px;
    }

    .main-content {
        padding: 24px 16px;
    }

    .quick-nav-section {
        padding: 30px 20px;
        margin-bottom: 40px;
    }

    .quick-nav-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .quick-nav-grid {
        grid-template-columns: repeat(3, 1fr); /* Ensure 3 columns on tablets too */
        gap: 16px;
    }

    .quick-nav-card {
        padding: 16px;
        gap: 10px;
    }

    .quick-nav-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .quick-nav-label {
        font-size: 12px;
    }

    .section-title {
        font-size: 18px;
    }

    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }

    .card-image {
        height: 150px;
    }

    .card-body {
        padding: 12px;
    }

    .description-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 20px;
    }

    .page-title i {
        font-size: 24px;
    }

    .quick-nav-section {
        padding: 20px 16px;
        margin-bottom: 30px;
    }

    .quick-nav-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
        gap: 12px;
    }

    .quick-nav-card {
        padding: 15px 10px;
        gap: 8px;
        width: 100%;
    }

    .quick-nav-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .quick-nav-label {
        font-size: 11px;
    }

    .section-title {
        font-size: 16px;
    }

    .items-grid {
        grid-template-columns: 1fr;
    }

    .card-image {
        height: 160px;
    }

    .main-content {
        padding: 16px;
    }

    .description-box {
        padding: 16px;
    }
}
