html,
body {
    overflow-y: auto;
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE and Edge */
* {
    -ms-overflow-style: none;
}

/* Navbar */
.navbar {
    background-color: transparent !important;
    padding: 1rem 2rem;
    z-index: 1000;
    margin-right: 30rem;
    transition: top 0.3s;
}

.navbar-brand span {
    font-weight: 700;
    font-size: 1.25rem;
}

.navbar-nav .nav-link {
    color: #111 !important;
    font-weight: 400;
    margin-left: 3rem;
    justify-content: center;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #c5a200 !important;
}
.navbar,
.navbar-nav .nav-link,
.navbar-brand span {
    font-family: "Montserrat", sans-serif;
}

.offcanvas-header,
.offcanvas-body {
    background-color: transparent;
}

.offcanvas .nav-link {
    color: #111;
}

.offcanvas .nav-link:hover {
    color: #c5a200;
}
.navbar-toggler {
    border: none;
    box-shadow: none;
    position: absolute;
    top: 50%;
    right: -320px;
    transform: translateY(-50%); /* Posisi di tengah vertikal */
}

/* tulisanberanda */
.hero-section {
    background-image: url("../assets/img/bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
}

.hero-content {
    max-width: 600px;
    margin-left: 2rem;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 730;
    line-height: 1.4;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 1.5rem;
}

.hero-content .highlight {
    color: #ae9518;
}

.hero-content .camp-name {
    color: #111;
}

/* button */
.hero-button {
    background-color: #101010;
    color: white;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: background 0.4s ease;
}

.hero-button:hover {
    background-color: #8f7714;
}

.hero-underline {
    width: 150px;
    height: 10px;
    background-color: #111;
    border-radius: 50px;
}

.hero-subtext {
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 200;
    color: #ae9518;
    margin-top: 7rem;
    margin-left: 0.2rem;
}
/* pesan */
.pesan-logo {
    position: absolute;
    top: 1.5rem;
    right: -25rem;
    z-index: 2050;
}

.pesan-logo img {
    width: 30px;
    height: 30px;
}
.section-bawah {
    background-color: #1a1a1a;
    color: white;
    background-size: cover;
}

.btn-gold {
    background: linear-gradient(
        90deg,
        #ae9518 0%,
        rgba(255, 255, 255, 0.5) 100%
    );
    color: rgb(11, 11, 11);
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: background 0.9s ease;
}

.btn-gold:hover {
    background: linear-gradient(
        90deg,
        #8f7714 0%,
        rgba(255, 255, 255, 0.5) 100%
    );
}
.ratio iframe {
    border-radius: 1rem;
}
.fasilitas-section {
    background-image: url("../assets/img/BgF.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
}

.fasilitas-content {
    max-width: 600px;
    margin-left: 2rem;
}
.popup-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 500px;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.popup-header {
    text-align: center;
    margin-bottom: 20px;
}

.popup-header h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    color: #4e6c50;
    margin: 0;
}

.popup-body {
    padding: 0 15px;
}

.popup-description {
    text-align: left;
}

.popup-description pre {
    font-family: "Montserrat", sans-serif;
    white-space: pre-wrap;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #000;
}

.booking-section {
    background-image: url("../assets/img/bgB.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
}

.booking-content {
    max-width: 600px;
    margin-left: 2rem;
}

.booking-wrapper {
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    display: flex;
}

/* Tulisan Styling (default: desktop) */
.text-booking {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    color: #000;
    font-size: 2rem;
    line-height: 1.3;
    margin-left: -700px;
    margin-top: -150px;
}

/* Tablet: 768px - 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    .booking-wrapper {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .text-booking {
        margin-left: -800px;
        margin-top: -300px;
        font-size: 1.8rem;
        text-align: left;
    }
}

/* HP: <768px */
@media (max-width: 767px) {
    .booking-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .text-booking {
        margin-left: -350px;
        margin-top: -150px;
        font-size: 1.5rem;
    }
}
/* Deskripsi default (desktop) */
.text-booking-desc {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    max-width: 500px;
    line-height: 1.6;
    margin-top: 1rem;
    margin-bottom: 2rem;
    margin-left: -700px;
}

/* Responsif Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .text-booking-desc {
        font-size: 1rem;
        text-align: left;
        padding: 0;
        margin-left: -400px;
        margin-top: 80px;
    }
}

/* Responsif HP */
@media (max-width: 767px) {
    .text-booking-desc {
        text-align: center;
        font-size: 0.95rem;
        padding: 0 1rem;
        margin-left: -400px;
        margin-top: 45px;
    }
}
.btn-download {
    background: linear-gradient(
        125deg,
        #4e6c50 45%,
        rgba(255, 255, 255, 0.5) 100%
    );
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: background 0.4s ease;
    z-index: 2;
    cursor: pointer;
    text-decoration: none;
}

/* Hover effect */
.btn-download:hover {
    background-color: #3e5941;
}

/* Wrapper agar tombol bisa center */
.booking-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

/* =========================
   Mobile: max 767px
========================= */
@media (max-width: 767px) {
    .btn-download {
        margin-left: -175px;
        margin-top: 150px;
    }
}

/* =========================
  Tablet: 768px–1024px
========================= */
@media (min-width: 768px) and (max-width: 1024px) {
    .btn-download {
        margin-left: -450px;
    }
}

/* =========================
   Desktop: >1024px
========================= */
@media (min-width: 1025px) {
    .btn-download {
        margin-left: -1000px;
        margin-top: 100px;
    }
}

.ulasan-section {
    background-color: #fcfcfc;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
}

.ulasan-content {
    max-width: 600px;
    margin-left: 2rem;
}

.custom-hp-img {
    width: 420px;
    height: auto;
    margin-top: 35px;
    margin-left: -600px;
    position: relative;
}

/* Responsive untuk layar kecil (HP) */
@media (max-width: 768px) {
    .custom-hp-img {
        width: 220px;
        margin-left: -200px;
        margin-top: 138px;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .custom-hp-img {
        width: 300px;
        margin-left: -300px;
        margin-top: 40px;
    }
}

/* Container styling */
.fasilitas-section {
    margin-top: 100px;
    padding: 40px 0;
}

/* Cards container */
.cards {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 50px;
}

/* Card styling */
.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.card h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    margin-top: 10px;
}

/* Image Container */
.image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover effect */
.card:hover {
    transform: scale(1.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card:hover .image-container img {
    transform: scale(1.1);
}

/* Detail Button */
.detail-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.image-container:hover .detail-button {
    opacity: 1;
}

/* Popup Styling */
.popup {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.4s;
}

.popup-content {
    background: white;
    margin: 10% auto;
    padding: 20px;
    width: 400px;
    border-radius: 15px;
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: red;
}

/* Animasi popup */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.card-logo {
    width: 50px;
    height: 50px;
    margin: 10px auto 0;
    display: block;
}
.comment-carousel {
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
}

.comment-card {
    display: inline-block;
    width: 300px;
    margin: 0 10px;
    transition: transform 0.3s ease;
    scroll-snap-align: center;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.comment-card:hover {
    transform: scale(1.05);
}

.comment-carousel::-webkit-scrollbar {
    height: 8px;
    display: none;
}

/* Efek zoom untuk card di tengah */
.comment-card.center {
    transform: scale(1.1);
    z-index: 1;
}

/* Styling untuk tombol panah */
.carousel-container {
    position: relative;
    padding: 0 50px; /* Tambahkan padding untuk memberi ruang bagi tombol */
}

.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    z-index: 10; /* Pastikan tombol di atas elemen lain */
}

.arrow-btn.left {
    left: 0; /* Posisi di luar area scrollable */
}

.arrow-btn.right {
    right: 0; /* Posisi di luar area scrollable */
}

.arrow-btn.visible {
    display: flex;
}

.arrow-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.card-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
.add-feedback {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.add-feedback {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.feedback-icon {
    width: 100px;
    height: 100px;
}

.feedback-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
}

.feedback-btn {
    background-color: #e6dca5;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    transition: background-color 0.3s;
}

.feedback-btn:hover {
    background-color: #d8ce8b;
}
