/* 1. Kontainer Card Utama */
/* custom scrollbar none */
::-webkit-scrollbar {
    display: none;
}


html {
    scrollbar-width: none;
    scroll-behavior: smooth;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sembunyikan scrollbar biar clean */
.overflow-x-auto::-webkit-scrollbar {
    display: none;
}

.overflow-x-auto {
    -ms-overflow-style: none;
    /* IE dan Edge */
    scrollbar-width: none;
    /* Firefox */
    scroll-behavior: smooth;
    /* biar halus pas digeser */
}



.animate-fadeIn {
    animation: fadeIn 0.25s ease;
}

.menu li>*:active,
.menu li>*:focus {
    background-color: transparent !important;
    color: #01B3C9 !important;
    /* warna hover kamu */
}

.card-wisata {
    position: relative;
    width: 350px;
    /* lebih kecil dari 350px */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-wisata:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* 2. Gambar Latar Belakang */
.card-wisata img {
    width: 100%;
    height: 280px;
    /* proporsional untuk tampilan mini */
    object-fit: cover;
    display: block;
}

/* 3. Overlay Teks (Glass Effect) */
.card-wisata-text {
    position: absolute;
    bottom: 12px;

    /* Efek kaca buram lembut */
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.3);

    /* Styling container teks */
    transition: background 0.3s ease;
}

.card-wisata:hover .card-wisata-text {
    background: rgba(255, 255, 255, 0.123);
}

/* 4. Judul Card */
.card-wisata-text h2 {
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}


.nav-link {
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 4px;
    /* kasih jarak antara teks dan underline */
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    /* pindahin garis sedikit ke bawah */
    left: 50%;
    width: 0%;
    height: 2px;
    background-color: #01B3C9;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 70%;
}

/* CARD UTAMA (biarin ini tetep) */
.card-wisata-2 {
    position: relative;
    width: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
    /* biar ketengah di semua layar */
}

.card-wisata-2:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* GAMBAR */
.card-wisata-2 img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* OVERLAY TEXT */
.card-wisata-2-text {
    position: absolute;
    bottom: 12px;
    width: 80%;
    text-align: center;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease;
    padding: 6px 0;
}

.card-wisata-2:hover .card-wisata-text {
    background: rgba(255, 255, 255, 0.123);
}

/* TEKS */
.card-wisata-2-text h2 {
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-size: 1.25rem;
}

/* ===============================
   RESPONSIVE SECTION
   =============================== */

/* HP KECIL (max 480px) */
@media (max-width: 480px) {
    .card-wisata-2 {
        width: 100%;
        /* biar isi layar hp tapi masih ada jarak */
        height: auto;
    }

    .card-wisata-2 img {
        height: 260px;
        /* gambar disesuaikan */
    }

    .card-wisata-2-text h2 {
        font-size: 1rem;
        /* teks agak kecil */
    }
}

/* TABLET (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .card-wisata-2 {
        width: 300px;
    }

    .card-wisata-2 img {
        height: 250px;
    }

    .card-wisata-2-text h2 {
        font-size: 1.1rem;
    }
}

/* LAPTOP (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .card-wisata-2 {
        width: 330px;
    }

    .card-wisata-2 img {
        height: 270px;
    }

    .card-wisata-2-text h2 {
        font-size: 1.2rem;
    }
}

/* DESKTOP BESAR (1025px ke atas) */
@media (min-width: 1025px) {
    .card-wisata2 {
        width: 350px;
    }
}