*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background: linear-gradient(to bottom right, #fff7f8, #fdf0f5);
    color: #333;
    padding: 20px;
}

/* HEADER */
header{
    background: linear-gradient(135deg, #ffb6c1, #ffc8dd);
    padding: 25px;
    text-align: center;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.logo{
    font-size: 38px;
    font-weight: 700;
    color: white;
}

header h1{
    color: white;
    font-size: 20px;
    margin-top: 8px;
}

/* MENU */
.menu-container{
    background: white;
    padding: 15px;
    border-left: 2px solid #ffd6e0;
    border-right: 2px solid #ffd6e0;
}

.sidebar ul{
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
}

.sidebar ul li a{
    text-decoration: none;
    color: #ff4f81;
    font-weight: 600;
    transition: 0.3s;
    padding: 10px 18px;
    border-radius: 30px;
}

.sidebar ul li a:hover{
    background: #ff4f81;
    color: white;
}

/* SLOGAN */
.slogan{
    background: #ffe5ec;
    padding: 14px;
    font-weight: 600;
    color: #ff4f81;
    border-left: 2px solid #ffd6e0;
    border-right: 2px solid #ffd6e0;
}

/* MAIN */
main{
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
    background: white;
    padding: 20px;
    border-left: 2px solid #ffd6e0;
    border-right: 2px solid #ffd6e0;
}

/* CONTENT */
.content{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card{
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover{
    transform: translateY(-5px);
}

.card img{
    min-width: 220px;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 20px;
}

.text h2{
    color: #ff4f81;
    margin-bottom: 10px;
}

.text p{
    line-height: 1.7;
}

/* RIGHT SIDEBAR */
.right-sidebar{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.iklan,
.menu-bawah{
    background: #fff0f3;
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align:center;
}

.iklan h2,
.menu-bawah h3{
    color: #ff4f81;
    margin-bottom: 15px;
}

.iklan img{
    width: 100%;
    border-radius: 15px;
    margin-bottom: 10px;
}

.menu-bawah ul{
    list-style: none;
}

.menu-bawah ul li{
    padding: 10px;
    border-bottom: 1px solid #ffc8dd;
}

.menu-bawah ul li a{
    text-decoration: none;
    color: #ff4f81;
    font-weight: 500;
}

.menu-bawah ul li a:hover{
    color: #ff85a2;
}

/* FOOTER */
footer{
    background: linear-gradient(135deg, #ffb6c1, #ffc8dd);
    color: white;
    text-align: center;
    padding: 18px;
    border-radius: 0 0 20px 20px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

    main{
        grid-template-columns: 1fr;
    }

    .card{
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .card img{
        width: 100%;
        height: 250px;
    }

}

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

    body{
        padding: 10px;
    }

    header{
        padding: 18px;
    }

    .logo{
        font-size: 28px;
    }

    header h1{
        font-size: 16px;
    }

    .menu-container{
        padding: 10px;
    }

    .sidebar ul{
        gap: 10px;
    }

    .sidebar ul li a{
        padding: 8px 14px;
        font-size: 13px;
    }

    .slogan{
        font-size: 13px;
        padding: 10px;
    }

    main{
        padding: 12px;
        gap: 15px;
    }

    .card{
        padding: 12px;
        gap: 15px;
    }

    .card img{
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .text h2{
        font-size: 20px;
    }

    .text p{
        font-size: 14px;
        line-height: 1.6;
    }

    .iklan,
    .menu-bawah{
        padding: 14px;
    }

    footer{
        font-size: 12px;
        padding: 14px;
    }

}
