/* =====================================================
   HALAMAN POTENSI DESA
===================================================== */


/* =========================
   HERO
========================= */

.potential-hero {
    position: relative;

    min-height: 390px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        url('../images/hero-sirnamekar.jpg')
        center / cover no-repeat;

    color: white;
}


.potential-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 48, 25, .95),
            rgba(13, 96, 52, .72),
            rgba(7, 53, 29, .28)
        );
}


.potential-hero-content {
    position: relative;

    z-index: 2;

    max-width: 820px;
}


.potential-badge {
    display: inline-block;

    margin-bottom: 18px;

    padding: 8px 16px;

    border:
        1px solid rgba(255,255,255,.28);

    border-radius: 30px;

    background:
        rgba(255,255,255,.13);

    font-size: 13px;

    font-weight: 600;
}


.potential-hero h1 {
    margin-bottom: 14px;

    font-family:
        'Poppins',
        sans-serif;

    font-size:
        clamp(40px,6vw,61px);

    font-weight: 800;

    line-height: 1.15;
}


.potential-hero p {
    max-width: 700px;

    margin-bottom: 20px;

    color:
        rgba(255,255,255,.82);

    font-size: 16px;

    line-height: 1.8;
}


.potential-breadcrumb {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 13px;
}


.potential-breadcrumb a {
    color: white;

    font-weight: 600;
}


.potential-breadcrumb span {
    color:
        rgba(255,255,255,.65);
}


/* =========================
   GAMBAR UTAMA
========================= */

.potential-main-image {
    position: relative;
}


.potential-main-image > img {
    width: 100%;

    height: 500px;

    object-fit: cover;

    border-radius: 25px;

    box-shadow:
        var(--shadow);
}


.potential-image-label {
    position: absolute;

    right: -18px;

    bottom: 28px;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 18px 22px;

    border-radius: 14px;

    background: white;

    box-shadow:
        var(--shadow);
}


.potential-image-label i {
    color:
        var(--primary);

    font-size: 25px;
}


.potential-image-label strong,
.potential-image-label small {
    display: block;
}


.potential-image-label small {
    color:
        var(--text);
}


/* =========================
   POTENSI FEATURE
========================= */

.potential-feature-card {
    height: 100%;

    padding: 30px;

    border:
        1px solid var(--border);

    border-radius: 18px;

    background: white;

    transition: .3s;
}


.potential-feature-card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow);
}


.potential-feature-card.featured {
    border: none;

    background:
        linear-gradient(
            145deg,
            var(--primary),
            var(--primary-dark)
        );

    color: white;
}


.potential-feature-icon {
    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 20px;

    border-radius: 14px;

    background:
        var(--primary-light);

    color:
        var(--primary);

    font-size: 25px;
}


.featured .potential-feature-icon {
    background:
        rgba(255,255,255,.15);

    color: white;
}


.potential-feature-card h4 {
    font-size: 18px;

    font-weight: 700;
}


.potential-feature-card p {
    margin: 0;

    color:
        var(--text);

    font-size: 14px;

    line-height: 1.7;
}


.featured p {
    color:
        rgba(255,255,255,.76);
}


/* =========================
   PROSES PRODUKSI
========================= */

.process-wrapper {
    display: grid;

    grid-template-columns:
        1fr auto 1fr auto 1fr auto 1fr;

    align-items: center;

    gap: 18px;
}


.process-card {
    position: relative;

    height: 100%;

    padding: 30px 22px;

    border:
        1px solid var(--border);

    border-radius: 18px;

    background: white;

    text-align: center;

    transition: .3s;
}


.process-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        var(--shadow);
}


.process-number {
    position: absolute;

    right: 15px;

    top: 7px;

    color: #edf2ef;

    font-size: 40px;

    font-weight: 800;
}


.process-icon {
    width: 60px;

    height: 60px;

    margin:
        0 auto 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        var(--primary-light);

    color:
        var(--primary);

    font-size: 25px;
}


.process-card h4 {
    font-size: 17px;

    font-weight: 700;
}


.process-card p {
    margin: 0;

    color:
        var(--text);

    font-size: 13px;

    line-height: 1.7;
}


.process-arrow {
    color:
        #94bba2;

    font-size: 24px;
}


/* =========================
   PRODUK UNGGULAN
========================= */

.product-highlight-section {
    background:
        linear-gradient(
            135deg,
            #074122,
            #146d3a
        );
}


.product-highlight-box {
    padding: 25px;
}


.product-highlight-image {
    width: 100%;

    height: 450px;

    object-fit: cover;

    border-radius: 24px;

    box-shadow:
        0 25px 55px
        rgba(0,0,0,.18);
}


.product-highlight-box p {
    color:
        rgba(255,255,255,.76);

    line-height: 1.9;
}


.product-benefit-list {
    display: grid;

    gap: 12px;

    margin-top: 25px;
}


.product-benefit-list div {
    display: flex;

    align-items: center;

    gap: 10px;

    color:
        rgba(255,255,255,.86);

    font-size: 14px;

    font-weight: 600;
}


.product-benefit-list i {
    color:
        #9ce0b4;
}


/* =========================
   PENGEMBANGAN POTENSI
========================= */

.development-card {
    height: 100%;

    padding: 32px;

    border:
        1px solid var(--border);

    border-radius: 18px;

    background: white;

    text-align: center;

    transition: .3s;
}


.development-card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow);
}


.development-card > i {
    width: 64px;

    height: 64px;

    margin:
        0 auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    background:
        var(--primary-light);

    color:
        var(--primary);

    font-size: 27px;
}


.development-card h4 {
    margin-bottom: 10px;

    font-size: 19px;

    font-weight: 700;
}


.development-card p {
    margin: 0;

    color:
        var(--text);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================
   CTA
========================= */

.potential-cta-section {
    padding:
        20px 0 90px;
}


.potential-cta-box {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 50px;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            #edf8f1,
            #dcefe4
        );

    border:
        1px solid #d5e9dc;
}


.potential-cta-box > div {
    max-width: 760px;
}


.potential-cta-box span {
    display: block;

    margin-bottom: 9px;

    color:
        var(--primary);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


.potential-cta-box h2 {
    margin-bottom: 12px;

    font-family:
        'Poppins',
        sans-serif;

    font-size:
        clamp(27px,4vw,38px);

    font-weight: 700;
}


.potential-cta-box p {
    margin: 0;

    color:
        var(--text);

    line-height: 1.7;
}


.potential-cta-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    flex-shrink: 0;

    padding: 14px 23px;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    color: white;

    font-weight: 700;

    transition: .3s;
}


.potential-cta-btn:hover {
    color: white;

    transform:
        translateY(-3px);

    box-shadow:
        0 10px 25px rgba(20,80,42,.18);
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width: 991px) {

    .potential-main-image > img {
        height: 430px;
    }


    .potential-image-label {
        right: 15px;
    }


    .process-wrapper {
        grid-template-columns:
            repeat(2,1fr);
    }


    .process-arrow {
        display: none;
    }


    .potential-cta-box {
        flex-direction: column;

        align-items: flex-start;
    }

}


@media(max-width: 576px) {

    .potential-hero {
        min-height: 340px;
    }


    .potential-hero h1 {
        font-size: 37px;
    }


    .potential-main-image > img {
        height: 350px;
    }


    .potential-image-label {
        position: relative;

        right: auto;

        bottom: auto;

        margin:
            -35px 18px 0;
    }


    .process-wrapper {
        grid-template-columns: 1fr;
    }


    .product-highlight-image {
        height: 330px;
    }


    .potential-cta-box {
        padding: 32px 23px;
    }


    .potential-cta-btn {
        width: 100%;
    }

}