/* Gallery section */
#gallery {
    padding: 40px;
    background: #191970; /* sama kayak section home */
    border-radius: 30px;
    width: 80%;
    margin: 40px auto;
    text-align: center;
}

/* Judul gallery */
.gallery-title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 40px;
    font-family: 'Arial', sans-serif;
}

/* Container item gallery */
.gallery-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Setiap item */
.gallery-item {
    flex: 1;
    min-width: 250px; /* biar gak terlalu kecil di layar sempit */
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.frame {
    width: 100%;
    max-width: 300px;
    height: 200px;
    background: #2f2f5e;
    border: 3px solid #fff;
    border-radius: 20px;
    margin-bottom: 15px;

    /* Biar konten (img) rapi */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* supaya gambar tidak keluar dari bingkai */
}

.frame img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* gambar tetap proporsional dan menutupi bingkai */
    border-radius: 20px;
}
/* Judul dalam item */
.gallery-item h2 {
    font-size: 3.5rem;
    color: #fff;
    margin: 10px 0;
}

/* Deskripsi dalam item */
.gallery-item p {
    font-size: 1.5rem;
    color: #fff;
    max-width: 80%;
}

/* Responsif: layar kecil (mobile) */
@media (max-width: 768px) {
    .gallery-container {
        flex-direction: column;
        align-items: center;
    }

    .gallery-item {
        margin-bottom: 30px;
    }
}
