*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', serif;
}

body {
    font-family: 'Open Sans', serif;
    background-color: white;
    color: black;
}

.section-title,
.section-subtitle,
h1, h2, h3, h4, h5, h6,
.nav-links a,
.footer-text,
.contact-text,
.contact-link,
.input-field,
.btn-secondary {
    font-family: 'Open Sans', serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scrolling and white sides */
}

body {
    overflow-x: hidden; /* Prevent horizontal scrolling and white sides */
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #223544;
    padding: 15px 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 70px; /* Sesuaikan ukuran logo */
    width: auto; /* Biarkan lebar menyesuaikan */
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;

}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #d0d0d0;
}

/* Search Bar di Header */
.search-container {
    display: flex;
    align-items: center;
    position: relative;
}
.search-icon {
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    color: white;
    transition: color 0.3s;
}
.search-icon:hover {
    color: #ddd;
}
.search-box {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    background: white;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 220px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}
.search-box input {
    width: 100%;
    padding: 5px;
    border: none;
    outline: none;
    font-size: 14px;
}
.close-search {
    cursor: pointer;
    font-size: 16px;
    margin-left: 8px;
    color: #999;
    transition: color 0.3s;
}
.close-search:hover {
    color: #333;
}
.destination-card {
    display: block;
}
@media (max-width: 768px) {
    .search-icon {
        font-size: 18px;
        padding: 8px;
    }
    .search-box {
        width: 180px;
        top: 35px;
    }
}


.swiper-container {
    width: 100%;
    padding: 10px 0;
    height: auto;
    overflow: visible !important; /* Changed from hidden to visible to show pagination */
    visibility: visible !important; /* Pastikan slider terlihat */
    position: relative; /* Added to position pagination relative to container */
}


.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 250px; /* Tinggi tetap agar gambar seragam */
    object-fit: cover; /* Memastikan gambar tidak terdistorsi */
    border-radius: 10px;
}

@media (max-width: 768px) {
    .swiper-slide img {
        height: 200px; /* Sesuaikan tinggi untuk layar kecil */
    }
}

@media (max-width: 480px) {
    .swiper-slide img {
        height: 180px; /* Ukuran lebih kecil di HP */
    }
}

/* Gaya tombol slider */
.swiper-button-next, 
.swiper-button-prev {
    background-color: rgba(0, 0, 0, 0.6); /* Warna semi-transparan */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Bentuk bulat */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-in-out;
}

/* Efek hover */
.swiper-button-next:hover, 
.swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
}

/* Penyesuaian posisi tombol agar berada di luar gambar */
.swiper-button-next {
    right: -20px; /* Geser lebih keluar */
}

.swiper-button-prev {
    left: -20px; /* Geser lebih keluar */
}

/* Responsif: Atur ulang posisi di layar kecil */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-next {
        right: 0;
    }

    .swiper-button-prev {
        left: 0;
    }
}

/* Posisi pagination lebih dekat ke slider */
.swiper-pagination {
    position: absolute !important;
    bottom: 15px !important; /* Position inside the image */
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    background: rgba(0, 0, 0, 0.3) !important; /* Semi-transparent background for visibility */
    padding: 5px 10px !important;
    border-radius: 10px !important;
}

/* Ubah ukuran dan warna titik-titik pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.8); /* Warna putih transparan */
    opacity: 0.7;
    transition: 0.3s ease-in-out;
}

.swiper-pagination-bullet-active {
    background-color: #fa8231; /* Warna aktif lebih mencolok */
    opacity: 1;
}

/* Responsif: Sesuaikan ukuran pagination untuk layar kecil */
@media (max-width: 768px) {
    .swiper-pagination {
        bottom: 5px; /* Lebih dekat ke slider */
    }

    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .swiper-pagination {
        bottom: 3px; /* Semakin dekat di layar kecil */
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}


.ubud-description {
    text-align: center !important;
    font-size: 18px;
    color: #555;
    margin: 40px auto; /* Memberikan jarak antara swiper dan destination grid */
    max-width: 1200px;
    padding: 0 80px;
}
/* Responsif untuk tablet */
@media (max-width: 1024px) {
    .ubud-description {
        max-width: 800px;
        padding: 0 30px;
    }
}

/* Responsif untuk HP */
@media (max-width: 768px) {
    .ubud-description {
        max-width: 90%; /* Gunakan persentase agar lebih fleksibel */
        padding: 0 20px;
        font-size: 14px; /* Ukuran font lebih kecil agar lebih rapi */
    }
}

/* Responsif untuk layar sangat kecil */
@media (max-width: 480px) {
    .ubud-description {
        max-width: 95%;
        padding: 0 10px;
        font-size: 13px;
    }
}


/* Section Destinasi */
.destination {
    padding: 60px 0;
    text-align: center;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 29px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}



/* Tombol Navigasi (Prev & Next) */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 5px;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .prev, .next {
        font-size: 18px;
        padding: 8px 12px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background:#223544;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }
 
 .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: block;
    padding: 10px;
    transition: color 0.3s ease-in-out;
 }  
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
    }
}
/* Footer */
.footer {
    background-color: #223544;
    color: #ffffff;
    padding: 50px 5%;
    font-family: Arial, sans-serif;
}

/* Footer Atas */
.footer-top .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

/* Logo & Deskripsi */
.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-brand .logo img {
    width: 200px;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
}

/* Kontak */
.footer-contact {
    flex: 1;
    min-width: 250px;
}

.contact-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
}

.contact-text {
    font-size: 14px;
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-item ion-icon {
    font-size: 18px;
    margin-right: 8px;
    color: #fa8231;
}

.contact-link {
    color: white;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Form Subscribe */
.footer-form {
    flex: 1;
    min-width: 250px;
}

.form-text {
    font-size: 14px;
    margin-bottom: 10px;
}

.form-wrapper {
    display: flex;
    gap: 10px;
}

.input-field {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
}

.btn-secondary {
    background-color: #fa8231;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #e36b1e;
}

/* Footer Bawah */
.footer-bottom {
    text-align: center;
    background-color: #1a2b3a;
    padding: 15px;
    margin-top: 30px;
}

.copyright {
    font-size: 14px;
}
.footer-bottom .copyright a {
    color: white;
  }
  
.footer-bottom-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-bottom-link {
    color: white;
    font-size: 14px;
    text-decoration: none;
}

.footer-bottom-link:hover {
    text-decoration: underline;
}

/* Responsif untuk Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .footer-top .container {
        flex-direction: column;
        text-align: center;
    }

    .form-wrapper {
        flex-direction: column;
    }

    .btn-secondary {
        width: 100%;
    }
}

/* Responsif untuk Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .footer {
        padding: 40px 10px;
    }

    .footer-bottom-list {
        flex-direction: column;
        gap: 10px;
    }
}

