/* ===========================
   GLOBAL STYLES
=========================== */
body {
    background-image: url('../../assets/images/pattern.png');
    background-repeat: repeat;
    background-color: rgba(188, 188, 188, 0.2);
    background-blend-mode: overlay;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* ===========================
   NAVBAR STYLING
=========================== */
.navbar {
    width: 100%;
    margin: 0;
    padding: 0.5rem 1rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .container {
    width: 100%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.navbar img {
    max-height: 36px;
    display: block;
    object-fit: contain;
    margin: 0;
}

/* Tombol hamburger */
.navbar-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: none !important;
    outline: none;
    padding: 4px;
    margin-right: 0;
    background: none;
}

/* Ikon hamburger */
.navbar-toggler-icon {
    width: 26px;
    height: 26px;
    background-size: contain;
}

/* ===========================
   NAV LINK & DROPDOWN STYLING
=========================== */
.navbar-nav .nav-link {
    font-weight: 600;
}

.navbar-nav .nav-link.active {
    font-weight: 700;
}

/* Warna default & hover */
.navbar-light .navbar-nav .nav-link {
    color: #0056D2;
}
.navbar-light .navbar-nav .nav-link:hover {
    color: #3399FF;
}

/* Warna aktif */
.navbar-light .navbar-nav .nav-link.active {
    color: #66AAFF !important;
    font-weight: bold;
}

/* Animasi aktif */
.nav-link.active {
    font-weight: bold;
    opacity: 1;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Animasi dropdown */
.dropdown-menu.animate-slide {
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}
.dropdown.show .dropdown-menu.animate-slide {
    transform: translateY(0);
    opacity: 1;
}

/* ===========================
   RESPONSIVE MOBILE MENU
=========================== */
@media (max-width: 991.98px) {
    .navbar-collapse.collapse.show {
        background: rgba(255,255,255,0.97);
        position: fixed;
        top: 56px; /* tinggi navbar */
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100% - 56px);
        z-index: 999;
        padding-top: 1rem;
        padding-left: 0;
        padding-right: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .navbar-nav .nav-link {
        font-size: 1.1rem;
        text-align: center;
        padding: 0.8rem 1rem;
    }

    .dropdown-menu .dropdown-item {
        font-size: 1rem;
        padding: 0.7rem 1rem;
        text-align: center;
    }
}

/* Hilangkan ruang putih di kanan layar */
html, body {
    overflow-x: hidden !important;
}

/* ===========================
   HERO SECTION
=========================== */
#heroCarousel {
    margin-top: -1px;
}

.carousel-item {
    height: 70vh;
    min-height: 400px;
    background: no-repeat center center scroll;
    background-size: cover;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    bottom: 30%;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

.carousel-caption h5 {
    font-size: 2.5rem;
    font-weight: 700;
}

.carousel-caption p {
    font-size: 1.2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 100%;
    margin: 0 5px;
}

/* Responsive hero */
@media (max-width: 768px) {
    .carousel-item {
        height: 50vh;
    }

    .carousel-caption {
        bottom: 20%;
    }

    .carousel-caption h5 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}

/* ===========================
   CARD STYLING
=========================== */
.card {
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
}

/* ===========================
   FOOTER
=========================== */
footer {
    background-color: #0056b3;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* ===========================
   MISC STYLES
=========================== */
.bi {
    margin-right: 8px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(10deg);
}

.jumbotron {
    background-color: #f8f9fa;
    border-radius: 10px;
}

/* Kategori Styles */
.btn-group .btn {
    border-radius: 20px !important;
    margin: 0 5px 5px 0;
}

.badge.bg-primary {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 20px;
}

/* Language Switcher */
.language-switcher {
    margin-left: auto;
    padding: 0 15px;
}

.language-switcher a {
    color: #333;
    text-decoration: none;
    padding: 5px;
}

.language-switcher a.active {
    font-weight: bold;
    color: #007bff;
}

.language-switcher a:hover {
    text-decoration: underline;
}

/* Hotel Recommendations */
.hotel-card {
    transition: transform 0.2s;
}
.hotel-card:hover {
    transform: translateY(-3px);
}
.hotel-price {
    font-weight: bold;
    color: #28a745;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    transition: all 0.4s;
    font-size: 28px;
}

.back-to-top:hover {
    background: #0b5ed7;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/* Hilangkan rounded di halaman Hubungi Kami */
.contact-page .form-control,
.contact-page .btn {
    border-radius: 0 !important;
}

/* Statistik */
.stat-number {
    font-size: 5rem;
    font-weight: bold;
    color: #7AC943;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Gaya tambahan */
.cursor-pointer {
    cursor: pointer;
}

.active-thumb {
    border: 3px solid #0d6efd !important;
}

/* Deskripsi dan fasilitas */
.wisata-description, .wisata-facilities {
    white-space: pre-line;
    text-align: justify;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}
