/* ======= RESET DASAR ======= */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    padding-top: 30px;
}

/*====== AGAR CARD RESPONSIF TIDAK BERANTAKAN KETIKA DI MINIMIZE ======*/
.container {
    max-width: 95%; /* Atur agar tidak terlalu lebar */
}

.brand-logo {
    margin-left: 40px;
    margin-right: auto;
}

nav ul {
    padding-right: 40px; /* Memberikan jarak dengan sisi kanan */
}

.row {
    margin-left: 0;
    margin-right: 0;
}

/* Memberi ruang agar konten tidak tertutup navbar */
main {
    margin-top: 70px;
}

/* ======= STYLE BOOK NOW ======= */
.booknow {
    background-color: #0d47a1;
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    margin-top: 30px;
}

.booknow a {
    color: #ffeb3b;
    font-weight: bold;
    text-decoration: none;
}

.booknow a:hover {
    text-decoration: underline;
}

/* ======= STYLE BUTTON ======= */
.button, .contact-button {
    background-color: #4CAF50;
    color: white;
    padding: 15px 32px;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover, .contact-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

/* ======= FOOTER ======= */
.footer {
    text-align: center;
    padding: 20px;
}

/* ======= TEKS RAPI ======= */
p {
    font-size: 18px;
    text-align: justify;
    line-height: 1.6; /* Memberikan jarak antar baris agar mudah dibaca */
    max-width: 800px; /* Batas maksimum lebar teks agar tidak terlalu lebar */
    margin: 0 auto; /* Memposisikan di tengah */
text-indent: 30px;
}

.text-container {
    text-align: justify;
}

.text-container p {
    max-width: 800px;
}

/* ======= STYLE LINK ======= */
a {
    text-decoration: none;
}

.green-text:hover {
    color: rgb(46, 46, 46);
    text-decoration: underline;
}

/* Menghilangkan garis atau border pada elemen koleksi */
ul.collection, .collection-item {
    list-style: none;
    border: none;
    outline: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

/* ======= SIDENAV ======= */
.sidenav li a {
    color: black !important;
}

/* ======= NAVBAR FIXED AGAR TETAP DI ATAS ======= */
.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ======= RESPONSIF KONTEN ======= */
.about .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.about .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.about .col {
    flex: 1 1 300px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .about .row {
        flex-direction: column;
        align-items: center;
    }
    .about .col {
        width: 90%;
        max-width: 400px;
    }
}

/* ======= GAMBAR RESPONSIF ======= */
img.responsive-img {
    border-radius: 10px;
    width: 400px;
    transition: transform 0.3s ease-in-out;
    padding-right: 10px;
    padding-bottom: 20px;
}

img.responsive-img:hover {
    transform: scale(1.05);
}

/* ======= CARD STYLE ======= */
.tour-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.8);
    text-align: center;
    transition: transform 0.3s ease-in-out;
    border: 2px solid rgba(255, 165, 0, 0.8);
    margin-bottom: 20px;
    width: 100%;
    max-width: 350px;
    margin: 20px auto;
}

.tour-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(255, 140, 0, 1);
}

/* ======= GAMBAR TOUR RESPONSIF ======= */
.tour-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* --- RESPONSIVE DESIGN --- */
@media screen and (max-width: 1200px) {
    .tour-card {
        max-width: 100%;
    }
    
    .tour-image {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        max-height: 500px !important;
    }
}

/* ======= STYLE LIST TOUR ======= */
.tour-list {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    color: #555;
    text-align: left;
    margin: 10px 15px;
}

/* ======= TOMBOL TOUR ======= */
.tour-button {
    display: block;
    width: 80%;
    margin: 10px auto;
    background-color: #ff9900;
    color: white;
    padding: 10px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
}

.tour-button:hover {
    background-color: #cc7a00;
}

/* Jarak antar row */
.row {
    margin-bottom: 10px;
}
