/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    overflow-x:hidden;
    background:#fff;
}

/* HERO */
.hero-modern{
    position:relative;
    overflow:hidden;

    min-height:850px;

    background:
    url('image/gedung_dprd_kota.webp')
    center top / cover
    no-repeat;

    padding:
    20px
    20px
    80px; /* penting */
}

/* OVERLAY */
.hero-overlay{
    position:absolute;
    inset:0;

    z-index:1;

    background:
    linear-gradient(
        90deg,
        rgba(255,255,255,0.94) 0%,
        rgba(255,255,255,0.88) 40%,
        rgba(249,115,22,0.20) 100%
    );
}

/* NAVBAR */
.hero-nav{
    position:relative;
    z-index:5;

    background:#fff;

    border-radius:0 0 24px 24px;

    padding:20px 30px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    box-shadow:0 10px 25px rgba(0,0,0,0.05);
}

.two-column-layout{
    display:grid;
    grid-template-columns:1fr 2fr;
    gap:35px;
    align-items:start;
}

.logo{
    font-size:34px;
    font-weight:900;
    color:#1e293b;
}

.logo span{
    color:#F97316;
}

.hero-nav ul{
    display:flex;
    gap:25px;
    list-style:none;
}

.hero-nav a{
    text-decoration:none;
    color:#334155;
    font-weight:700;
}

/* HERO CONTAINER */
.hero-container{
    position:relative;
    z-index:5;

    display:grid;
    grid-template-columns:1fr 1fr;

    align-items:center;

    min-height:80vh;
}

/* TEXT */
.hero-text{
    padding:50px 40px;
}

.hero-text h1{
    font-size:62px;
    line-height:1.05;
    color:#1e293b;
    font-weight:900;

    margin-bottom:30px;
}

.hero-text p{
    font-size:20px;
    line-height:1.8;
    color:#475569;

    margin-bottom:40px;

    max-width:650px;
}

/* ================= LEFT BOX ================= */
.program-box{
    background:#fff;
    border-radius:18px;
    padding:28px;
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
}

.program-list-vertical{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.program-item{
    display:flex;
    gap:16px;
    align-items:flex-start;
}

.icon-box{
    min-width:58px;
    height:58px;
    border-radius:16px;
    background:linear-gradient(135deg,#16a34a,#22c55e);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    color:#fff;
}

.program-info h3{
    font-size:20px;
    color:#0f2b63;
    margin-bottom:6px;
}

.program-info p{
    font-size:15px;
    color:#555;
    margin-bottom:10px;
    line-height:1.6;
}

.badge{
    display:inline-block;
    padding:5px 10px;
    background:#e8fbe8;
    color:#15803d;
    font-size:13px;
    border-radius:8px;
    font-weight:700;
}

.more-link{
    display:inline-block;
    margin-top:25px;
    color:#0f2b63;
    text-decoration:none;
    font-weight:700;
}

/* ================= RIGHT BOX ================= */
.news-box{
    background:#fff;
    border-radius:18px;
    padding:28px;
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.news-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    border:1px solid #eee;
    transition:0.3s;
}

.news-card:hover{
    transform:translateY(-6px);
    box-shadow:0 10px 20px rgba(0,0,0,0.08);
}

.news-card img{
    width:100%;
    height:190px;
    object-fit:cover;
}

.news-content{
    padding:18px;
}

.news-content small{
    color:#888;
    display:block;
    margin-bottom:10px;
}

.news-content h3{
    font-size:20px;
    color:#0f2b63;
    margin-bottom:10px;
    line-height:1.4;
}

.news-content p{
    font-size:15px;
    color:#555;
    line-height:1.6;
    margin-bottom:14px;
}

.news-content a{
    text-decoration:none;
    font-weight:700;
    color:#0f2b63;
}

/* BUTTON */
.hero-buttons{
    display:flex;
    flex-direction:column;
    gap:20px;

    max-width:420px;
}

.btn-aspirasi {
    background: orange;
    color: white;
    border: none;
    padding: 10px 16px;
    margin-bottom: 15px;
    cursor: pointer;
    border-radius: 6px;
}

.btn-primary{
    background:#F97316;
    color:#fff;

    padding:22px;

    border-radius:22px;

    text-align:center;
    text-decoration:none;

    font-size:24px;
    font-weight:700;

    box-shadow:0 10px 20px rgba(249,115,22,0.25);
}

.btn-secondary{
    border:2px solid #FDBA74;

    color:#F97316;

    padding:22px;

    border-radius:22px;

    text-align:center;
    text-decoration:none;

    font-size:24px;
    font-weight:700;

    background:rgba(255,255,255,0.7);
}

/* IMAGE */
.hero-image{
    position:relative;
    z-index:4;

    display:flex;
    justify-content:center;
    align-items:flex-end;
}

.hero-image img{
    width:100%;
    max-width:620px;
}

/* QUOTE */
.hero-quote{
    position:relative;
    z-index:5;

    max-width:520px;

    margin-left:40px;
    margin-top:-40px;

    color:#334155;
}

.quote-icon{
    font-size:70px;
    color:#FB923C;
}

.hero-quote p{
    font-size:22px;
    line-height:1.8;
}

/* ================= MULTI SVG WAVE ================= */

.hero-wave-wrap{
    position:absolute;
    left:0;
    bottom:-40px;

    width:100%;
    height:260px;

    overflow:hidden;

    z-index:5;
}

/* semua svg */
.wave{
    position:absolute;
    left:0;
    bottom:0;

    width:100%;
}

.wave svg{
    display:block;
}

/* belakang */
.wave-back{
    z-index:1;
}

.wave-back path{
    opacity:1;
}

/* tengah */
.wave-middle{
    bottom:-10px;
    z-index:2;
}

/* depan */
.wave-front{
    bottom:-20px;
    z-index:3;
}

.hero-image{
    position:relative;
    z-index:2;
}

.hero-image img{
    position:relative;
    z-index:2;

    margin-bottom:-120px;
}

/* KINERJA */
#kinerja{
    position:relative;
    z-index:10;

    margin-top:10px;

    padding:0 8% 80px;
}

.stats{
    background:#fff;

    padding:25px;

    border-radius:24px;

    box-shadow:0 20px 40px rgba(0,0,0,0.08);

    display:grid;
    grid-template-columns:repeat(4,1fr);

    gap:20px;
}

.stats-header{
    grid-column:1/-1;
}

.section-title{
    text-align:center;
    font-size:36px;
    margin-bottom:40px;
    color:#EA580C;
    font-weight:800;
}

.card{
    background:#fff7ed;

    padding:30px;

    border-radius:18px;

    text-align:center;
}

.card h3{
    font-size:36px;
    color:#EA580C;

    margin-bottom:10px;
}

.card p{
    color:#555;
}

/* ================= TABLE ================= */
table{
    width:100%;
    border-collapse:collapse;
    overflow:hidden;
    border-radius:12px;
}

table th,
table td{
    padding:15px;
    border-bottom:1px solid #eee;
    text-align:left;
}

table th{
    background:#F97316;
    color:#fff;
}

table tr:hover{
    background:#fff7ed;
}
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}
.modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
}

.modal-content button {
    background: orange;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 6px;
}

/* FOOTER */
.footer{
    background:#0f172a;

    color:#fff;

    padding:60px 8% 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);

    gap:30px;
}

.footer-col h3,
.footer-col h4{
    margin-bottom:15px;
}

.footer-col p,
.footer-col a{
    color:#cbd5e1;
    text-decoration:none;
}

.footer-col ul{
    list-style:none;
}

.footer-col ul li{
    margin-bottom:10px;
}

.footer-btn{
    display:inline-block;

    background:#F97316;
    color:#fff;

    padding:10px 18px;

    border-radius:10px;

    margin-top:10px;
}

.socials{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.socials a{
    display:flex;
    align-items:center;
    gap:10px;
}

.footer-bottom{
    margin-top:40px;

    padding-top:20px;

    border-top:1px solid rgba(255,255,255,0.1);

    text-align:center;

    color:#94a3b8;
}

/* MOBILE */
@media(max-width:768px){

    .hero-modern{
        min-height:auto;
        padding-bottom:0;
        overflow:hidden;
    }

    .hero-nav{
        flex-direction:column;
        gap:15px;
    }

    .hero-nav ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero-container{
        grid-template-columns:1fr;
    }

    .hero-text{
        padding:40px 10px 10px;
        text-align:center;
    }

    .hero-text h1{
        font-size:30px;
    }

    .hero-text p{
        font-size:18px;
    }

    .hero-buttons{
        max-width:100%;
    }

    .btn-primary,
    .btn-secondary{
        font-size:20px;
        padding:18px;
    }

    /* FOTO */
    .hero-image{
        margin-top:20px;

        position:relative;
        z-index:2;
    }

    .hero-image img{
        max-width:420px;

        position:relative;
        z-index:2;

        /* INI PENTING */
        margin-bottom:-55px;
    }

    .hero-quote{
        margin:20px;
        position:relative;
        z-index:6;
    }

    .hero-quote p{
        font-size:18px;
    }


}

/* ================= MOBILE AKTIVITAS ================= */

@media(max-width:768px){

    #aktivitas-section{
        padding:60px 20px;
    }

    /* layout jadi 1 kolom */
    .two-column-layout{
        display:flex;
        flex-direction:column;
        gap:25px;
    }

    /* box */
    .program-box,
    .news-box{
        width:100%;
        padding:22px;
    }

    /* title */
    .section-title-left{
        font-size:26px;
        margin-bottom:20px;
    }

    /* program item */
    .program-item{
        gap:14px;
    }

    .program-info h3{
        font-size:18px;
    }

    .program-info p{
        font-size:14px;
    }

}

/* ================= MOBILE NEWS FIX ================= */

@media(max-width:768px){

    /* GRID BERITA */
    .news-grid{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:18px;
    }

    /* CARD */
    .news-card{
        width:100%;
        border-radius:16px;
        overflow:hidden;
    }

    /* IMAGE */
    .news-card img{
        width:100%;
        height:180px;
        object-fit:cover;
    }

    /* CONTENT */
    .news-content{
        padding:15px;
    }

    .news-content small{
        font-size:12px;
        margin-bottom:8px;
    }

    /* JUDUL */
    .news-content h3{
        font-size:18px;
        line-height:1.4;
        margin-bottom:8px;

        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    /* EXCERPT */
    .news-content p{
        font-size:14px;
        line-height:1.6;

        display:-webkit-box;
        -webkit-line-clamp:3;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .news-content a{
        font-size:14px;
    }
}

@media(max-width:768px){

    .hero-modern{
        min-height:auto;
        padding-bottom:90px;
        overflow:hidden;
    }

    /* container utama */
    .hero-container{
        grid-template-columns:1fr;
        position:relative;
        z-index:2;
    }

    /* text */
    .hero-text{
        padding:40px 15px 10px;
        text-align:center;
    }

    .hero-text h1{
        font-size:44px;
        line-height:1.15;
    }

    .hero-text p{
        font-size:18px;
        line-height:1.7;
    }

    /* buttons */
    .hero-buttons{
        max-width:100%;
    }

    .btn-primary,
    .btn-secondary{
        font-size:18px;
        padding:16px;
    }

    /* FOTO */
    .hero-image{
        position:relative;
        z-index:2;

        display:flex;
        justify-content:center;

        margin-top:10px;
    }

    .hero-image img{
        width:100%;
        max-width:320px;

        position:relative;
        z-index:2;

        margin-bottom:-35px;
    }

    /* QUOTE */
    .hero-quote{
        position:relative;
        z-index:6;

        margin:20px 20px 0;
    }

    .hero-quote p{
        font-size:17px;
        line-height:1.7;
    }

    /* ================= SVG WAVE ================= */

    .hero-wave-wrap{
        position:absolute;

        left:0;
        bottom:-5px;

        width:100%;
        height:120px;

        overflow:hidden;

        z-index:5;
    }

    .wave{
        position:absolute;
        left:0;
        bottom:0;

        width:100%;
        height:auto;
    }

    /* layer belakang */
    .wave-back{
        bottom:-5px;
        opacity:1;
    }

    /* tengah */
    .wave-middle{
        bottom:-10px;
    }

    /* depan */
    .wave-front{
        bottom:-15px;
    }

    .wave svg{
        width:100%;
        height:260px;
        display:block;
    }

    /* sections */
    .stats{
        grid-template-columns:1fr;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }
}