:root {
    /* Palet Granodiorit Lebak - sama dengan profil */
    --potensi-primary: #6B7280;   /* Granodiorit Grey */
    --potensi-secondary: #3B5E4A; /* Moss Green Geosite */
    --potensi-bg: #F2F4F5;       /* Quartz White */
    --text-dark: #1F2937;     /* Biotite Black */
    --text-muted: #6B7280;    /* Granodiorit Grey */
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: var(--potensi-bg);
    color: var(--text-dark);
}

.potensi-nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(8px);
    z-index: 10;
}

.potensi-nav .container {
    max-width: 1200px;
    margin: auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--potensi-primary), var(--potensi-secondary));
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    gap: 18px;
    font-weight: 500;
    color: var(--text-muted);
}

/* Hero menggunakan styling dari profil.css */
.hero-potensi {
    /* Background gambar hero dari assets/images */
    background-image: url('../images/gambar-hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    height: 300px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-potensi::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Overlay gelap untuk kontras teks - menggunakan Biotite Black */
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.75) 0%, rgba(107, 114, 128, 0.65) 100%);
    z-index: 1;
}

.hero-potensi .container {
    max-width: var(--saphira-content-width, calc(100vw - 400px));
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.section-card {
    background: var(--potensi-bg);
    border-radius: 0;
    padding: 32px;
    border: 1px solid rgba(107, 114, 128, 0.15);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.08);
    margin-bottom: 28px;
}

.section-card h2 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--potensi-secondary);
}

.section-card h2 i {
    color: var(--potensi-primary);
}

.filter-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.filter-chip {
    padding: 6px 12px;
    border-radius: 0;
    border: 1px solid rgba(107, 114, 128, 0.2);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    background: #ffffff;
    transition: all 0.3s ease;
}

.filter-chip:hover {
    border-color: var(--potensi-secondary);
    background: var(--potensi-bg);
}

.filter-chip.active {
    background: var(--potensi-secondary);
    color: white;
    border-color: var(--potensi-secondary);
    box-shadow: 0 4px 12px rgba(59, 94, 74, 0.2);
}

.potensi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.potensi-card {
    border-radius: 0;
    border: 1px solid rgba(107, 114, 128, 0.15);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.potensi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(31, 41, 55, 0.12);
    border-color: var(--potensi-secondary);
}

.potensi-photo {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.potensi-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid;
}

.status-belum { 
    background: rgba(220, 38, 38, 0.1); 
    color: #dc2626; 
    border-color: rgba(220, 38, 38, 0.3);
}
.status-sedang { 
    background: rgba(217, 119, 6, 0.1); 
    color: #D97706; 
    border-color: rgba(217, 119, 6, 0.3);
}
.status-sudah { 
    background: rgba(59, 94, 74, 0.1); 
    color: #3B5E4A; 
    border-color: rgba(59, 94, 74, 0.3);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.info-card {
    padding: 20px;
    border-radius: 0;
    background: #ffffff;
    border: 1px solid rgba(107, 114, 128, 0.15);
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.1);
    border-color: var(--potensi-secondary);
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 20px 0;
}

@media (max-width: 1200px) {
    .hero-potensi .container,
    .profil-content {
        max-width: 100%;
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    /* Hero layout jadi column di mobile */
    .hero-potensi .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .hero-content {
        width: 100%;
    }
    
    .stats-grid {
        width: 100%;
        min-width: auto;
        max-width: 100%;
    }

    .section-card {
        padding: 24px;
    }
    
    .potensi-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

