/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Gaya untuk Body */
body {
    background-color: #ffffff;
    color: #333;
    text-align: center;
}



/* Header */
header {
    background-color: #007bff;
    color: white;
    padding: 20px;
    font-size: 24px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 15px 20px;
    color: rgb(32, 11, 218);
}

.navbar .logo {
    font-size: 20px;
    font-weight: bold;
}

.logo img {
    height: 80px; /* Sesuaikan ukuran logo */
    width: auto;  /* Menjaga proporsi gambar */
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 16px;
    padding: 8px 12px;
    transition: 0.3s;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    font-size: 24px;
    cursor: pointer;
    display: none;
}

/* Responsive untuk HP */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background: #ffffff;
        width: 200px;
        border-radius: 5px;
    }

    .nav-links li {
        display: block;
        text-align: center;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }
}



/* Slideshow */
.slideshow-container {
    width: 100%;
    max-width: 600px; /* Ubah ukuran maksimum gambar */
    height: auto; /* Biarkan tinggi menyesuaikan */
    position: relative;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: auto; /* Sesuaikan tinggi otomatis */
    object-fit: contain; /* Menjaga proporsi gambar tanpa terpotong */
    border-radius: 10px;
}

/* Animasi fade */
.fade {
    animation: fadeEffect 2s ease-in-out;
}

@keyframes fadeEffect {
    from {opacity: 0.4;}
    to {opacity: 1;}
}


/* Container */
.container {
    width: 80%;
    margin: 20px auto;
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Tombol */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    background-color: #28a745;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #218838;
}

/* Tabel */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #007bff;
    color: white;
}

/* Form */
form {
    margin-top: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.gallery {
    text-align: center;
    margin: 50px 0;
}

.gallery h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.gallery p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.gallery-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.gallery-item {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.1);
}
