@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Nanum+Gothic&display=swap');

* {
    padding: 0;
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

* {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: -1; /* Set z-index to -1 to move the background behind the content */
}

header {
    background: url(bglogo.jpg) center/cover no-repeat;
    text-align: center;
    position: relative;
    padding: 4rem 0;
    color: white;
    z-index: 1; /* Set z-index to 1 to move the header content in front of the background */
}

header img {
    max-width: 100%;
    max-height: auto;
    z-index: 2; /* Set z-index to 2 to move the logo in front of the background */
}

header h1 {
    font-size: 12px;
    margin-bottom: 1rem;
}

nav {
    background-color: rgba(5, 5, 5, 0.5);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: top 0.3s ease; /* Menambahkan transisi untuk efek yang lebih halus */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    margin: auto;
}

.navbar img {
    height: 40px;
    width: auto;
    float: left;
    margin-right: 20px;
}

.logo a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.menu {
    list-style-type: none;
    display: flex;
}

.menu li {
    margin: 0 1rem;
}

.menu li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: rgb(72, 220, 240);
}

/* Header Responsif */
@media only screen and (max-width: 768px) {
    header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: rgba(0, 0, 0, .5);
        z-index: -1; /* Set z-index to -1 to move the background behind the content */
    }

    header {
        padding: 2rem 0;
        
        
    }

    header h1 {
        font-size: 1rem;
    }

    nav {
        background-color: rgba(5, 5, 5, 0.5);
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        justify-content: center;
        transition: top 0.3s ease; /* Menambahkan transisi untuk efek yang lebih halus */
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 2px;
        justify-content: center;
    }

    .navbar img {
        height: 30px;
        width: auto;
        float: left;
        margin-right: 20px;
    }

    .logo a {
        text-decoration: none;
        color: white;
        font-size: 1.5rem;
        font-weight: bold;
    }

    .menu {
        list-style-type: none;
        display: flex;
        align-items: center;
        margin: 0;
    }

    .menu li {
        margin: 0 1rem;
        margin-left: auto;
    }

    .menu li a {
        text-decoration: none;
        color: white;
        transition: color 0.3s ease;
        font-size: 10px;
        justify-content: center;
    }

    .menu li a:hover {
        color: rgb(33, 236, 226);
    }
}

/* Sembunyikan menu dropdown secara default */
.destination-dropmenu {
    display: none;
}

/* Tampilkan menu dropdown saat kursor menyentuh elemen "Destination" */
li:hover .destination-dropmenu {
    display: block;
}

/* Tambahkan beberapa gaya untuk meningkatkan tampilan dropdown */
.destination-dropmenu {
    position: absolute;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5); /* Warna latar belakang dropdown */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Efek bayangan dropdown */
}

.destination-dropmenu li {
    display: block;
}

.destination-dropmenu a {
    color: #333; /* Warna teks dropdown */
    padding: 10px;
    text-decoration: none;
    display: block;
}

.destination-dropmenu a:hover {
    background-color: #f4f4f4; /* Warna latar belakang saat hovered */
}


main {
    max-width: 2000px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
}

.banner {
    overflow: hidden;
    position: relative; /* Menambahkan posisi relatif untuk tombol */
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 100%;
}

img {
    width: 100%;
    height: auto;
}

/* Gaya tombol slide */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border: none;
    outline: none;
    z-index: 1;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

/* Default styles */
.destination {
    margin-bottom: 2rem;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    background-color: rgb(218, 218, 218);
    padding: 2rem;
    flex-direction: column;
}

.destination h2 {
    width: 30%;
    text-align: center;
    background: rgba(19, 19, 19, 0.5);
    padding: 5px;
    margin-bottom: 1rem;
    color: white;
    border-radius: 10px;
    margin-top: 40px;
    margin-left: auto; /* Add this property */
    margin-right: auto; /* Add this property */
}

.destination-item {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-right: 20px;
    flex-direction: column;
}

.destination-item img:hover {
    transform: scale(1.1);
}

.image-container1 img {
    width: 50%; /* Adjusted width for responsiveness */
    height: auto;
    transition: transform 0.3s ease;
    float: left; /* Removed float for responsiveness */
    margin-right: 0; /* Removed margin-right for responsiveness */
    border-radius: 10px;
    margin-right: 20px;
    margin-bottom: 10px;

}

.image-container2 img {
    width: 50%; /* Adjusted width for responsiveness */
    height: auto;
    transition: transform 0.3s ease;
    float: right; /* Removed float for responsiveness */
    margin-right: 0; /* Removed margin-right for responsiveness */
    border-radius: 10px;
    margin-left: 20px;
    margin-bottom: 10px;

}

.image-container3 img {
    width: 50%; /* Adjusted width for responsiveness */
    height: auto;
    transition: transform 0.3s ease;
    float: left; /* Removed float for responsiveness */
    margin-right: 0; /* Removed margin-right for responsiveness */
    border-radius: 10px;
    margin-right: 20px;
    margin-bottom: 10px;

}

.image-container4 img {
    width: 30%; /* Adjusted width for responsiveness */
    height: auto;
    transition: transform 0.3s ease;
    float: right; /* Removed float for responsiveness */
    margin-right: 0; /* Removed margin-right for responsiveness */
    margin-top: 60px;

}

.contentparagraf {
    flex: 1;
    margin-left: 0;
    text-align: justify;
    font-size: 20px;
    word-spacing: 3px;
}

/* Media queries for responsiveness */
@media only screen and (max-width: 768px) {
    .destination h2 {
        width: 100%; /* Full width for smaller screens */
    }

    .destination-item {
        flex-direction: column; /* Stack items in a column for smaller screens */
        margin-right: 0; /* Remove right margin for smaller screens */
    }

    .image-container1 img {
        margin-bottom: 20px; /* Add margin at the bottom for spacing */
    }

    .image-container2 img {
        margin-bottom: 20px; /* Add margin at the bottom for spacing */
    }

    .image-container3 img {
        margin-bottom: 20px; /* Add margin at the bottom for spacing */
    }

    .image-container4 img {
        width: 80%;
        height: auto;  
    }

    .contentparagraf {
        font-size: 12px;
    }
}



















/*footer*/
footer {
    text-align: center;
    background-color: #f0f0f0; /* Ganti dengan warna latar belakang yang diinginkan */
}

.footer-container {
    display: flex;
    padding: 10px;
    background-color: #2c2c2c;
    color: #333;
    justify-content: center;
    align-items: center;
}

.footer img {
    max-width: 100%;
    height: auto;
}

.footer p {
    margin-top: 10px;
    color: white;
}



@media only screen and (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left, .footer-right {
        margin-bottom: 20px;
    }

}

/* CSS untuk ukuran layar sedang (misalnya, tablet) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .footer-container {
        justify-content: space-between;
    }

    .footer {
        width: 48%;
    }
}

/* CSS untuk ukuran layar besar (misalnya, desktop) */
@media only screen and (min-width: 1025px) {
    .footer-container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap; /* Allow items to wrap to the next line */
    }

    .footer-left {
        width: 48%;
    }

    .footer-right {
        justify-content: left;
        margin-right: 0%;
        margin-top: 0%;
        margin-bottom: 40px;
    }

    .footer p {
        margin-left: 20px;
        margin-right: 0%;
    }
}


/*tombol whatsapp balon*/
.floating-button {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 1000;
}

.floating-button a {
    display: flex;
    align-items: center;
    text-decoration: none;
    background-color: #4CAF50; /* Warna background hijau */
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease-in-out;
    color: black;
    font-weight: bold;
}

.floating-button a:hover {
    background-color: #45a049; /* Warna background hijau saat hover */
}

.whatsapp-icon {
    width: 40px; /* Sesuaikan ukuran ikon WhatsApp */
    height: auto;
    border-radius: 50%;
    margin-right: 10px; /* Jarak antara ikon dan teks */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
    font-weight: bold;
}

.floating-button:hover .whatsapp-icon {
    transform: scale(1.1);
}
