
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f5f7fa;
    color:#1f2937;
}

/* ================= NAVBAR ================= */
header{
    background:white;
    padding:15px 5%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ================= MOBILE MENU ================= */
.menu-toggle{
    display:none;
    font-size:28px;
    cursor:pointer;
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo img{
    height:42px;
}

nav ul{
    list-style:none;
    display:flex;
    gap:30px;
}

nav a{
    color:black;
    text-decoration:none;
    font-size:15px;
    transition:0.3s;
}

nav a:hover{
    color:#3b82f6;
}

/* Mobile */
@media(max-width:768px){

    nav{
        position:absolute;
        top:70px;
        right:5%;
        background:white;
        width:220px;
        border-radius:12px;
        box-shadow:0 10px 30px rgba(0,0,0,0.1);
        display:none;
    }

    nav ul{
        flex-direction:column;
        padding:20px;
        gap:15px;
    }

    nav a{
        color:#111827;
    }

    .menu-toggle{
        display:block;
    }
}

/* ================= HERO ================= */
.hero-wrapper{
    padding:40px 15% 0 15%; /* jarak kanan kiri sama seperti section */
}

.hero{
    border-radius:20px;
    overflow:hidden;
}

.hero img{
    width:100%;
    display:block;
}

/* ================= SEO TEXT (HIDDEN) ================= */
.seo-text{
    position:absolute;
    left:-9999px;
    width:1px;
    height:1px;
    overflow:hidden;
}

/* ================= SECTION ================= */
.section{
    padding:70px 15% 0 15%;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
    font-size:28px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 30px rgba(0,0,0,0.1);
}

.card h3{
    margin-bottom:10px;
}

/* Grid khusus kategori */
.kategori-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:30px;
    margin-top:40px;
}

/* Mobile jadi 1 kolom */
@media(max-width:768px){
    .kategori-grid{
        grid-template-columns:1fr;
    }
}

/* Styling card */
.kategori-card{
    padding:30px;
    border-radius:16px;
    background:white;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    transition:0.3s;
}

.kategori-card:hover{
    transform:translateY(-5px);
}

/* Tombol */
.btn-kategori{
    display:inline-block;
    margin-top:20px;
    padding:10px 25px;
    background:#3b82f6;
    color:white;
    text-decoration:none;
    border-radius:6px;
    transition:0.3s;
}

.btn-kategori:hover{
    background:#2563eb;
}

.kategori-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:30px;
    margin-top:40px;
}

.kategori-content{
    display:flex;
    align-items:center;
    gap:30px;
}

.kategori-icon{
    flex-shrink:0;
}

.kategori-icon img{
    width:80px;
    height:80px;
    object-fit:contain;
}

.kategori-text{
    flex:1;
}

/* Mobile */
@media(max-width:768px){

    .kategori-grid{
        grid-template-columns:1fr;
    }

    .kategori-content{
        flex-direction:column;
        text-align:center;
    }

    .kategori-icon img{
        width:65px;
        height:65px;
    }
}

/* ================= PRODUK ================= */
.product-card img{
    width:100%;
    aspect-ratio: 4 / 3;
    object-fit:contain;
    background:#f3f4f6;
    border-radius:10px;
    padding:10px;
    margin-bottom:15px;
}

.product-card{
    text-align:center;
}

.product-card button{
    margin-top:10px;
    padding:8px 20px;
    background:#3b82f6;
    border:none;
    color:white;
    border-radius:5px;
    cursor:pointer;
}

.product-card button:hover{
    background:#3b82f6;
}

.btn-detail{
    display:inline-block;
    margin-top:15px;
    padding:10px 25px;
    background:#3b82f6;
    color:white;
    text-decoration:none;
    border-radius:6px;
    transition:0.3s;
}

.btn-detail:hover{
    background:#2563eb;
}

/* ================= ABOUT ================= */
.about{
    background:#1f2937;
    color:white;
    text-align:center;
    padding:70px 5%;
}

/* ================= CTA ================= */
.cta{
    background:white;
    color:black;
    text-align:center;
    padding:70px 5%;
}

.cta button{
    margin-top:20px;
    padding:12px 30px;
    background:#3b82f6;
    border:none;
    color:white;
    border-radius:6px;
    cursor:pointer;
}

.cta button:hover{
    background:#2563eb;
}

/* ===== SECTION BLOG ===== */
.section-blog {
    padding: 80px 15%;
    background: #f8fafc;
}

.section-blog .blog-container {
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.section-blog h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 25px;
    color: #111827;
}

.section-blog p {
    font-size: 17px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px;
    text-align: justify;
}

/* ===== BLOG ORDERED LIST ===== */
.section-blog ol,
.section-blog ul {
    margin: 30px 0;
    padding-left: 40px; /* bikin agak masuk ke dalam */
}

.section-blog ol li,
.section-blog ul li {
    margin-bottom: 20px;
}

.section-blog ol li h3,
.section-blog ul li h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #111827;
}

.section-blog ol li p,
.section-blog ul li p {
    margin-bottom: 0;
}

/* Marker styling */
.section-blog ol li::marker {
    font-weight: 700;
    color: #2563eb;
}

.section-blog ul li::marker {
    color: #2563eb;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .section-blog {
        padding: 50px 5%;
    }

    .section-blog .blog-container {
        padding: 30px;
    }

    .section-blog h1 {
        font-size: 24px;
    }

    .section-blog p {
        font-size: 15px;
    }
}

/* ================= FOOTER ================= */
footer{
    background:#0f172a;
    color:white;
    padding:40px 5%;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.footer-title{
    margin-bottom:15px;
    font-size:18px;
}

.footer ul{
    list-style:none;
}

.footer ul li{
    margin-bottom:8px;
}

.footer-bottom{
    text-align:center;
    margin-top:30px;
    font-size:14px;
    opacity:0.7;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
    nav ul{
        gap:15px;
        font-size:14px;
    }
    
    .hero-wrapper{
        padding:25px 5% 0 5%;
    }

    .section{
        padding:50px 5% 0 5%;
    }
}