/* Style header dan navigasi */
header {
    background-color: rgba(51, 51, 51, 0.7); /* Background dengan transparansi */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
    position: fixed; /* Header tetap di atas */
    top: 0;
    width: 100%;
    z-index: 1000; /* Supaya header berada di atas elemen lainnya */
    backdrop-filter: blur(10px); /* Efek blur di belakang header */
}

header .logo img {
    height: 50px;
}

nav ul {
    list-style-type: none;
    margin: 10px;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: rgb(186, 100, 0);
}

/* Menu toggle styling */
.menu-toggle {
    display: none; /* Sembunyikan toggle menu di layar besar */
    flex-direction: column;
    cursor: pointer;
    margin-right: 20px; /* Memberi jarak dari sisi kanan */
    padding: 8px; /* Menambahkan padding untuk ruang dalam */
    border: 2px solid rgba(255, 255, 255, 0.5); /* Border semi-transparan */
    border-radius: 8px; /* Membuat sudut membulat pada toggle button */
    transition: all 0.3s ease; /* Transisi saat hover */
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Warna latar saat hover */
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Media query untuk layar kecil (smartphone) */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    header .logo img {
        height: 40px; /* Ukuran logo lebih kecil */
        margin-bottom: 10px; /* Beri jarak antara logo dan navigasi */
    }

    nav {
        display: none; /* Sembunyikan menu default di layar kecil */
        width: 100%;
    }

    nav.active {
        display: block; /* Tampilkan menu saat toggle diaktifkan */
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 70px;
        left: 0; /* Mengatur posisi menu agar berada di kiri tanpa border */
        right: 0; /* Mengatur posisi menu agar berada di kanan tanpa border */
        border-radius: 0; /* Tidak ada border pada menu */
        padding: 15px 0; /* Padding di dalam menu */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Tambahkan bayangan */
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
        margin-top: 10px;
    }

    nav ul li {
        margin: 20px 0;
    }

    nav ul li a {
        font-size: 16px;
    }

    .menu-toggle {
        display: flex; /* Tampilkan tombol toggle di layar kecil */
        margin-right: 20px; /* Jarak dari sisi kanan */
    }
}

.profile {
    background-color: #f9f9f9;
    padding: 50px 0;
    margin-top: 60px; /* Memberikan jarak dari header */
}

.profile-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.profile-details h3 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
}

.profile-details p {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive untuk layar kecil */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
    }

    .profile-pic {
        margin-bottom: 20px;
    }

    .profile-details h3 {
        font-size: 1.5rem;
    }

    .profile-details p {
        font-size: 1rem;
    }
}


.sejarah {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 1100px;
}

.sejarah h2 {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #fa2638;
    padding-bottom: 5px;
}

.sejarah p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .sejarah {
        padding: 20px;
    }

    .sejarah h2 {
        font-size: 1.5rem;
    }

    .sejarah p {
        font-size: 0.9rem;
    }
}

/* Lokasi Section */
.location-section {
    text-align: center;
    margin: 20px 0;
    background-color: #fff;
    padding: 40px 0;
    color: #333;
}

.location-section h2 {
    color: #000;
    font-size: 36px;
}

.maps-container {
    position: relative;
    width: 80%;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.maps-container iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 10px 10px 0 0; /* Hanya bagian atas yang membulat */
}

.view-button {
    display: inline-block;
    margin-top: 10px; /* Jarak antara peta dan tombol */
    padding: 10px 20px;
    background-color: #fa2638; /* Warna merah */
    color: #fff;
    border: none;
    border-radius: 0 0 10px 10px; /* Bagian bawah tombol membulat */
    font-size: 16px;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color 0.3s ease;
}

.view-button:hover {
    background-color: #d62828; /* Warna hover */
}

/* Footer Styles */
/* Buat halaman menggunakan Flexbox untuk layout */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    font-family: Arial, sans-serif;
}

/* Section lainnya harus bisa berkembang */
.team-section {
    flex-grow: 1;
    padding: 50px 0;
    text-align: center;
}
.footer-logos {
    display: flex;
    justify-content: center;
    gap: 20px; /* Kurangi spasi antar logo */
}

.footer-logos img {
    height: 40px; /* Ukuran logo lebih kecil */
    transition: transform 0.3s ease;
}

.footer-logos img:hover {
    transform: scale(1.1);
}

/* Footer akan selalu berada di bagian bawah */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    position: relative;
    bottom: 0;
}

.footer-content {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 10px;
    font-size: 12px;
    margin-top: 10px;
    color: #bbb;
}
