/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BODY */
body{
    font-family:Arial, sans-serif;
    background:#eef2ff;
    color:#333;
}

/* HEADER */
.header{
    background:#5b2c83;
    color:white;
    text-align:center;
    padding:30px;
}

.header h1{
    margin:0;
    font-size:40px;
}

.header p{
    margin-top:10px;
}

/* NAVIGASI */
.navigasi{
    background:#2f2f2f;
    padding:15px;
    text-align:center;
}

.navigasi a{
    color:white;
    text-decoration:none;
    margin:15px;
    font-weight:bold;
}

.navigasi a:hover{
    color:#ffd700;
}
/* HERO */
.hero{
    text-align:center;
    padding:70px 20px;
}

.hero h2{
    font-size:42px;
    color:#5b2c83;
    margin-bottom:20px;
}

.hero p{
    max-width:750px;
    margin:auto;

    font-size:18px;
    line-height:1.8;
    color:#555;
}

/* CONTAINER */
.container{
    width:90%;
    margin:auto;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

    padding-bottom:70px;
}

/* CARD */
.card{
    background:rgba(255,255,255,0.9);

    backdrop-filter:blur(10px);

    border-radius:25px;

    overflow:hidden;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.1);

    transition:0.4s;
}

.card:hover{
    transform:
    translateY(-12px)
    scale(1.02);

    box-shadow:
    0 15px 35px rgba(0,0,0,0.2);
}

/* IMAGE */
.card img{
    width:100%;
    height:230px;
    object-fit:cover;
}

/* CONTENT */
.content{
    padding:28px;
}

/* KATEGORI */
.kategori{
    display:inline-block;

    background:
    linear-gradient(45deg,#5b2c83,#8b5bcf);

    color:white;

    padding:8px 16px;

    border-radius:30px;

    font-size:13px;
    font-weight:bold;

    margin-bottom:15px;
}

/* TANGGAL */
.tanggal{
    color:gray;
    margin-bottom:15px;
    font-size:14px;
}

/* JUDUL */
.content h2{
    color:#5b2c83;

    margin-bottom:15px;

    font-size:26px;

    line-height:1.4;
}

/* PARAGRAF */
.content p{
    line-height:1.8;
    color:#555;

    margin-bottom:25px;
}

/* BUTTON */
button{
    background:
    linear-gradient(45deg,#5b2c83,#7d4ab1);

    color:white;

    border:none;

    padding:13px 24px;

    border-radius:30px;

    font-size:15px;
    font-weight:bold;

    cursor:pointer;

    transition:0.3s;
}

button:hover{
    transform:scale(1.05);

    background:
    linear-gradient(45deg,#7d4ab1,#5b2c83);
}

/* FOOTER */
.footer{
    background:#5b2c83;

    color:white;

    text-align:center;

    padding:28px;

    margin-top:40px;
}

/* RESPONSIVE */
@media(max-width:768px){

    .overlay h1{
        font-size:38px;
    }

    .overlay p{
        font-size:17px;
    }

    .hero h2{
        font-size:32px;
    }

    .navbar a{
        display:block;
        margin:12px;
    }

    .container{
        width:95%;
    }

}