/* =======================================================
   STYLE SOFT & BRIGHT (Lavender Light) - DUSUN BANARAN
   ======================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg-soft: #faf8ff;           /* Putih keunguan (sangat cerah & soft) */
    --bg-card: #ffffff;           /* Putih bersih untuk kartu */
    --primary-accent: #8b5cf6;    /* Ungu cerah (tombol & highlight) */
    --primary-hover: #7c3aed;
    --text-dark: #2e1065;         /* Ungu sangat gelap untuk teks judul */
    --text-muted: #6b7280;        /* Abu-abu untuk paragraf */
    --border-color: #e9e4f5;      /* Garis tepi ungu pastel */
    --card-shadow: 0 10px 30px rgba(139, 92, 246, 0.05);
}

body { 
    background-color: var(--bg-soft); 
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

/* Tipografi */
h1, h2, h3, h4, h5, h6 { font-weight: 800; letter-spacing: -0.5px; color: var(--text-dark); }
p { line-height: 1.8; color: var(--text-muted); }

/* =======================================================
   1. NAVBAR (Putih Bersih dengan Border Soft)
   ======================================================= */
.nav-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}
.nav-custom .navbar-brand { color: var(--text-dark); font-size: 1.4rem; font-weight: 800; }
.nav-custom .navbar-brand i { color: var(--primary-accent); }
.nav-custom .nav-link {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 12px;
    transition: color 0.3s;
}
.nav-custom .nav-link:hover { color: var(--primary-accent); }

.btn-outline-custom {
    border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
    font-weight: 700;
    transition: all 0.3s;
}
.btn-outline-custom:hover {
    background: var(--primary-accent);
    color: white;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.2);
}

/* =======================================================
   2. SLIDESHOW (Overlay Gradasi Ungu Soft)
   ======================================================= */
#heroCarousel { width: 100%; overflow: hidden; }
.slide-wrap { position: relative; width: 100%; height: 500px; }
.slide-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.slide-overlay {
    position: absolute; inset: 0;
    /* Gradasi ungu lembut agar teks putih tetap terbaca */
    background: linear-gradient(to right, rgba(46, 16, 101, 0.85) 0%, rgba(139, 92, 246, 0.4) 60%, rgba(139, 92, 246, 0.1) 100%);
    z-index: 1;
}

.carousel-caption {
    top: 50%; bottom: auto;
    transform: translateY(-50%);
    left: 8%; right: auto; 
    width: 60%; 
    text-align: left; 
    z-index: 2;
}

.carousel-caption h2 { 
    font-size: clamp(1.8rem, 3vw, 2.8rem); 
    font-weight: 800; 
    color: #fff; 
    margin-bottom: 15px; 
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.carousel-caption p { 
    font-size: clamp(1rem, 1.5vw, 1.2rem); 
    color: #f3f4f6; 
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

/* =======================================================
   3. SECTION TITLE
   ======================================================= */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    color: var(--text-dark);
    font-weight: 800;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 60px; height: 4px;
    background: var(--primary-accent);
    border-radius: 2px;
}

/* =======================================================
   4. KARTU (Card) PUTIH CERAH
   ======================================================= */
.card-potensi, .stat-card, .card {
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    color: var(--text-dark);
}
.card-potensi:hover, .stat-card:hover {
    transform: translateY(-8px);
    border-color: #d8b4fe; /* Ungu pastel saat di-hover */
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.1);
}

/* Kotak Ikon Statistik */
.icon-box {
    width: 55px; height: 55px; border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; 
    background: #f3e8ff !important; /* Latar ungu sangat muda */
    color: var(--primary-accent) !important;
}

.stat-card h3 { font-weight: 800; font-size: 2rem; color: var(--text-dark); }

/* =======================================================
   5. KARTU POTENSI UNGGULAN (Kanan)
   ======================================================= */
.potensi-unggulan-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.08) !important;
}
.potensi-unggulan-card::before {
    content: '';
    position: absolute; top: -50px; right: -50px;
    width: 150px; height: 150px;
    background: #f3e8ff; /* Cahaya ungu pastel di pojok */
    border-radius: 50%; opacity: 0.8;
    filter: blur(10px);
}

/* Ikon Lingkaran */
.icon-circle {
    width: 80px; height: 80px;
    background: #f3e8ff;
    border: 2px solid #e9d5ff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px auto;
    color: var(--primary-accent);
    font-size: 2.5rem;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.1);
}

/* Animasi Melayang */
.floating-icon { animation: float 4s ease-in-out infinite; display: inline-block; }
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* =======================================================
   6. GAMBAR & TOMBOL
   ======================================================= */
.img-cover { 
    width: 100%; height: 220px; object-fit: cover; 
    border-top-left-radius: 20px; border-top-right-radius: 20px; 
}

/* Tombol Utama (Ungu Soft) */
.btn-success {
    background: var(--primary-accent);
    border: none;
    font-weight: 700;
    border-radius: 50px; /* Tombol bulat panjang */
    padding: 12px 28px;
    color: white;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.2);
}
.btn-success:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Badge Elegan */
.badge.bg-success {
    background-color: #f3e8ff !important;
    color: var(--primary-accent) !important;
    border: 1px solid #e9d5ff;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
}

.badge.bg-light {
    background-color: #ffffff !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--border-color) !important;
}

/* Teks Muted */
.text-muted { color: var(--text-muted) !important; }

/* =======================================================
   7. FOOTER
   ======================================================= */
footer.bg-dark {
    background-color: #ffffff !important;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted) !important;
}