/*
Theme Name: Tour Hopping Island
Theme URI: https://tourhoppingisland.com/
Author: Tokowebpedia Indonesia
Description: Tema estetik, clean, dan premium untuk Tour Hopping Island .
Version: 4.0 Final
Text Domain: tour-hopping-island
*/

/* =========================================
   1. PENGATURAN DASAR & TIPOGRAFI
   ========================================= */
body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2D3748;
    background-color: #FAFAFB; /* Putih keabu-abuan terang untuk kesan clean */
    -webkit-font-smoothing: antialiased;
}

.text-emerald { color: #007b5e; }
.bg-emerald { background-color: #007b5e; }
.text-orange { color: #fd7e14; }

/* =========================================
   2. NAVBAR CLEAN (HEADER)
   ========================================= */
.navbar-clean {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.navbar-nav {
    display: flex; 
    flex-direction: row; 
    align-items: center;
    list-style: none; 
    margin: 0; 
    padding: 0; 
    gap: 30px;
}
.navbar-nav li a {
    text-decoration: none !important; 
    color: #4A5568 !important; 
    font-weight: 600; 
    font-size: 0.95rem; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease; 
    padding: 8px 0;
}
.navbar-nav li a:hover, 
.navbar-nav li.current-menu-item a {
    color: #007b5e !important; 
    font-weight: 700;
}

@media (max-width: 991px) {
    .navbar-nav { flex-direction: column; align-items: flex-start; gap: 15px; padding: 15px 0; }
}

/* =========================================
   3. TOMBOL (BUTTONS) CLEAN
   ========================================= */
.btn-emerald {
    background-color: #007b5e; color: white; border: none; font-weight: 600;
    padding: 10px 24px; transition: 0.3s ease;
}
.btn-emerald:hover { 
    background-color: #005943; color: white; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 123, 94, 0.2); 
}

.btn-outline-emerald {
    background-color: transparent; color: #007b5e; border: 1px solid #007b5e; font-weight: 600;
    padding: 10px 24px; transition: 0.3s ease;
}
.btn-outline-emerald:hover { 
    background-color: #007b5e; color: white; transform: translateX(-3px); 
}

.btn-orange, .btn-detail {
    background-color: #fd7e14; color: white; border: none; font-weight: 600;
    padding: 10px 24px; transition: 0.3s ease;
}
.btn-orange:hover, .btn-detail:hover { 
    background-color: #e36a0f; color: white; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(253, 126, 20, 0.2); 
}

.btn-pesan-wa {
    background-color: #007b5e; color: white; font-weight: bold;
}
.btn-pesan-wa:hover {
    background-color: #005943; color: white;
}

/* =========================================
   4. KARTU ESTETIK (CLEAN CARDS)
   ========================================= */
.card-clean {
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.card-clean:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0, 123, 94, 0.1);
}
.card-img-wrap {
    overflow: hidden; 
    border-radius: 24px 24px 0 0;
}
.card-img-wrap img {
    transition: transform 0.8s ease;
}
.card-clean:hover .card-img-wrap img {
    transform: scale(1.05); /* Zoom halus saat di-hover */
}

/* Label Kecil Estetik (Badge) */
.badge-soft-green {
    background-color: #e6fffa; color: #007b5e;
    padding: 6px 14px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; display: inline-block;
}

/* =========================================
   5. HERO SECTION & BANNER
   ========================================= */
.hero-clean {
    position: relative;
    background-color: #0f172a;
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed;
    height: 85vh; /* Bisa dioverride di inline style jika butuh lebih pendek */
}
.section-title-clean {
    font-weight: 800; color: #1A202C; letter-spacing: -1px; margin-bottom: 15px;
}

/* =========================================
   6. TIPOGRAFI ARTIKEL & HALAMAN BACA
   ========================================= */
/* Memberikan ruang bernapas di kiri-kanan teks */
.article-wrapper, .page-wrapper {
    padding-left: 8% !important;
    padding-right: 8% !important;
}
@media (max-width: 768px) {
    .article-wrapper, .page-wrapper {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

.article-body, .page-content {
    font-size: 1.125rem; /* 18px */
    line-height: 1.85;
    color: #334155;
}
.article-body p, .page-content p {
    margin-bottom: 1.6rem;
}
.article-body h2, .article-body h3, .article-body h4,
.page-content h2, .page-content h3, .page-content h4 {
    color: #0f172a; font-weight: 700; margin-top: 2.5rem; margin-bottom: 1.2rem; line-height: 1.4;
}
.article-body h2, .page-content h2 { font-size: 1.8rem; }
.article-body h3, .page-content h3 { font-size: 1.5rem; }

/* Format Gambar di Artikel */
.article-body img, .page-content img {
    max-width: 100%; height: auto; border-radius: 12px; margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Format Kutipan (Blockquote) */
.article-body blockquote, .page-content blockquote {
    background: #f8fafc; border-left: 5px solid #007b5e;
    padding: 1.5rem 2rem; margin: 2.5rem 0; border-radius: 0 12px 12px 0;
    font-style: italic; color: #475569; font-size: 1.2rem;
}

/* Tautan (Link) di dalam teks */
.article-body a, .page-content a {
    color: #007b5e; text-decoration: underline; text-decoration-thickness: 2px;
    text-underline-offset: 4px; transition: all 0.3s ease;
}
.article-body a:hover, .page-content a:hover {
    color: #fd7e14; text-decoration-color: #fd7e14;
}

/* =========================================
   7. DAFTAR (LIST) CENTANG HIJAU (Khusus Page / Syarat & Ketentuan)
   ========================================= */
.page-content ul {
    list-style: none; padding-left: 0; margin-bottom: 1.5rem;
}
.page-content ul li {
    position: relative; padding-left: 2rem; margin-bottom: 0.8rem;
}
.page-content ul li::before {
    content: '✓'; position: absolute; left: 0; top: 0;
    color: #007b5e; font-weight: bold; background: #e6fffa;
    width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: 0.85rem;
}
.page-content ol {
    padding-left: 1.5rem; margin-bottom: 1.5rem;
}
.page-content ol li {
    margin-bottom: 0.8rem; padding-left: 0.5rem;
}
.page-content strong {
    color: #1A202C; font-weight: 700;
}

/* =========================================
   8. PAGINATION (NAVIGASI HALAMAN)
   ========================================= */
.pagination-clean .nav-links {
    display: flex; gap: 10px; align-items: center; justify-content: center;
}
.pagination-clean .page-numbers {
    display: inline-block; padding: 8px 16px; background: #ffffff; color: #4A5568;
    border-radius: 12px; font-weight: 600; text-decoration: none;
    border: 1px solid rgba(0,0,0,0.05); transition: all 0.3s ease;
}
.pagination-clean .page-numbers:hover {
    background: #f0fdf4; color: #007b5e; border-color: #007b5e;
}
.pagination-clean .page-numbers.current {
    background: #007b5e; color: #ffffff; border-color: #007b5e;
}

/* =========================================
   9. UTILITIES & ANIMASI (Termasuk Footer)
   ========================================= */
.transition-all { transition: all 0.3s ease; }
.transition-color { transition: color 0.3s ease; }

.hover-emerald:hover { color: #007b5e !important; }

/* Efek hover oranye untuk tautan Footer */
.transition-orange {
    transition: color 0.3s ease, opacity 0.3s ease;
}
.transition-orange:hover {
    color: #fd7e14 !important;
    opacity: 1 !important;
}

/* =========================================
   11. DROPDOWN SUBMENU OTOMATIS (PAKET TOUR)
   ========================================= */
/* Tambahkan panah kecil di samping teks Paket Tour */
.navbar-nav .menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 0.8em;
    vertical-align: middle;
    margin-left: 4px;
    opacity: 0.7;
}

/* Sembunyikan kotak submenu sebelum di-hover */
.navbar-nav .menu-item-has-children {
    position: relative;
}
.navbar-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 240px;
    list-style: none;
    padding: 12px 0;
    margin: 0;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px); /* Muncul dari bawah ke atas */
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Munculkan kotak dengan halus saat disentuh kursor */
.navbar-nav .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Format teks di dalam dropdown */
.navbar-nav .sub-menu li {
    padding: 0;
}
.navbar-nav .sub-menu li a {
    display: block;
    padding: 10px 24px !important;
    color: #4A5568 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-transform: none !important; /* Huruf normal, tidak besar semua */
    transition: all 0.2s ease !important;
}

/* Efek saat teks dipilih (Hover Estetik) */
.navbar-nav .sub-menu li a:hover {
    background-color: #f8fafc;
    color: #007b5e !important;
    padding-left: 28px !important; /* Efek teks bergeser sedikit ke kanan */
}

/* =========================================
   RESPONSIVE HP (MOBILE MODE DROPDOWN)
   ========================================= */
@media (max-width: 991px) {
    .navbar-nav .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 5px 0 10px 15px;
        display: none; /* Disembunyikan dulu di HP */
    }
    .navbar-nav .menu-item-has-children:hover .sub-menu {
        display: block; /* Muncul jika tombol ditekan di HP */
    }
    .navbar-nav .sub-menu li a {
        padding: 8px 0 !important;
    }
    .navbar-nav .sub-menu li a:hover {
        padding-left: 5px !important; /* Reset efek geser di HP */
        background: transparent;
    }
}

