/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}
/* Gaya umum untuk perangkat desktop */
header {
    background-color: #27ae60;
    color: white;
    padding: 10px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img.logo {
    width: 95px;
    height: 95px;
    border-radius: 50%;
}

header h1 {
    margin: 0;
    font-size: 28px;
    flex: 1;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/* Gaya untuk perangkat mobile */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    header img.logo {
        margin-bottom: 10px;
    }

    header h1 {
        font-size: 24px;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 5px 0;
    }

    .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .gallery-item {
        flex: 1 1 100px; /* Atur lebar item galeri */
        max-width: 150px; /* Batas maksimal lebar item galeri */
    }
}

@media screen and (max-width: 480px) {
    header h1 {
        font-size: 20px;
    }

    nav ul li a {
        font-size: 14px;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-top: 20px;
    }
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-weight: 600;
    color: #2c3e50;
}

/* Header */
header {
    background: linear-gradient(135deg, #2980b9, #2c3e50);
    color: white;
    padding: 20px 0;
    text-align: center;
    position: relative;
}

.logo {
    width: 60px;
    border-radius: 50%;
    margin-left: 20px;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
    font-weight: 500;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    transition: background-color 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
}

.hero-image {
    width: 100%;
    height: auto;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
}

.cta-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

.cta-btn:hover {
    background-color: #c0392b;
    transition: background-color 0.3s;
}

/* Section */
.section {
    padding: 60px 0;
    text-align: center;
}

.bg-light {
    background-color: #ecf0f1;
}

.activities {
    display: flex;
    flex-wrap: wrap; /* Membuat kartu membungkus ke baris berikutnya jika tidak muat di satu baris */
    justify-content: center; /* Menyelaraskan kartu ke tengah */
    gap: 20px; /* Jarak antar kartu */
}

.activity-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px; /* Lebar kartu */
    text-align: left;
    flex: 1 1 auto; /* Membuat kartu fleksibel dan responsif */
    max-width: 100%; /* Menyesuaikan lebar kartu dengan ukuran layar */
}

.activity-card h3 {
    margin-top: 0;
    font-size: 1.2rem; /* Ukuran font judul */
}



/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.gallery-item {
    flex: 1 1 22%;
    margin: 10px;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.gallery-item p {
    margin-top: 10px;
    color: #333;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
}

footer p {
    margin: 0;
}

footer a {
    color: #e74c3c;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Tambahkan ke file style.css */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    display: none; /* Sembunyikan tombol secara default */
    z-index: 1000;
    text-align: center;
}

.scroll-to-top:hover {
    background-color: #0056b3;
}
