/* --- RESET & DASAR --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    text-align: center;
    color: #333;
}

/* --- HEADER DENGAN LORENG & LOGO --- */

header {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('img/bg-pp.webp');
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    color: white;
    border-bottom: none;
}

.header-konten {
    display: flex;
    justify-content: center; /* Logo & Teks di tengah */
    align-items: center;    /* Sejajar secara vertikal */
    gap: 25px;              /* Jarak antara logo dan tulisan */
}

.logo-header {
    height: 120px; /* Ukuran logo lebih gagah */
    width: auto;
    filter: drop-shadow(2px 2px 10px rgba(0,0,0,0.7));
}

.teks-header {
    text-align: left;
}

.teks-header h1 {
    margin: 0;
    font-size: 2.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
}

.teks-header p {
    margin: 5px 0 0 0;
    font-size: 1.2rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.9);
}

/* --- GALERI FOTO --- */
.galeri {
    padding: 50px 20px;
}

.foto-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bingkai-foto {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.foto-container img {
    width: 300px;
    height: 200px;
    object-fit: cover; /* Agar foto tidak gepeng di galeri */
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.foto-container img:hover {
    filter: brightness(80%);
    transform: scale(1.02);
}

/* --- VIDEO DOKUMENTASI --- */
.video-kegiatan {
    margin-top: 20px;
    padding-bottom: 60px;
}

video, iframe {
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    max-width: 95%; /* Agar pas di layar HP */
}

video {
    width: 640px; 
    height: 360px;
    object-fit: cover; /* Ganti 'fill' ke 'cover' agar video orangnya tidak gepeng */
    border-radius: 10px;
}

/* --- MODAL / ZOOM FOTO --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.isi-foto {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 80%;
    margin-top: 50px;
    border: 5px solid white;
    animation: zoomEfek 0.3s;
}

@keyframes zoomEfek {
    from {transform: scale(0.5)} 
    to {transform: scale(1)}
}

.tombol-tutup {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}

#caption {
    color: #ccc;
    margin-top: 15px;
}