/* =========================================
   1. RESET & GLOBAL STYLES
========================================= */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0b1622;
    padding-top: 80px;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 0 16px;
}

.section {
    padding: 70px 0;
}

section {
    scroll-margin-top: 100px;
    /* Jarak scroll agar tidak tertutup navbar */
}

.bg-light {
    background: #eef5ff;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 600;
    color: #0a3d62;
}

/* Tombol Global */
.btn {
    display: inline-block;
    background: #ff7a00;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: .3s;
}

.btn:hover {
    background: #ff5500;
    box-shadow: 0 8px 20px rgba(255, 122, 0, .4);
    transform: translateY(-3px);
}

/* =========================================
   2. NAVBAR & MENU
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(12px);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo img {
    height: 45px;
    object-fit: contain;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: .3s;
}

.menu a:hover {
    color: #0a3d62;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #0a3d62;
    transition: .3s;
}

.menu a:hover::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    background: #f1f3f5;
    border-radius: 30px;
    padding: 3px;
    margin-left: auto;
    transform: translateX(15px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.lang-btn {
    padding: 6px 14px;
    font-size: 13px;
    text-decoration: none;
    color: #555;
    border-radius: 20px;
    transition: all 0.25s ease;
}

.lang-btn.active {
    background: #1c7ed6;
    color: white;
    box-shadow: 0 3px 8px rgba(28, 126, 214, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #0a3d62;
    border-radius: 2px;
}

/* =========================================
   3. HERO SECTION
========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 80, 150, 0.45), rgba(0, 0, 0, 0.45)), url("images/padar.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.hero-content {
    max-width: 750px;
    background: rgba(0, 0, 0, 0.35);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* =========================================
   4. TRUST BADGE
========================================= */
.trust-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.trust-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 600;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.trust-card {
    background: white;
    padding: 35px 25px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .3s;
}

.trust-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .15);
}

/* =========================================
   5. ABOUT SECTION
========================================= */
.about {
    padding: 80px 20px;
    background: #f8fbff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 15px;
    align-items: center;
}

.about-text {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1c3d5a;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #4b5563;
    text-align: justify;
}

.about-action {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
}

.about-btn {
    display: inline-block;
    background: #1c7ed6;
    color: white;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.about-btn:hover {
    background: #1864ab;
}

.about-image {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* =========================================
   6. DESTINASI & PAKET GRID
========================================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

@media (min-width: 900px) {
    #destinasi .grid {
        grid-template-columns: repeat(4, 1fr);
    }

    #paket .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
    text-align: center;
    transition: .3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .15);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: .4s;
}

.card:hover img {
    transform: scale(1.08);
}

#paket {
    background: linear-gradient(180deg, #ffffff, #eef5ff);
}

.package-box {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    text-align: center;
    transition: .3s;
}

.package-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
}

.price {
    font-size: 24px;
    color: #ff7a00;
    margin: 10px 0;
}

/* ==================================
   EFEK KARTU BEST SELLER
================================== */

/* 1. Membuat kotak paket sedikit lebih menonjol */
.best-seller-card {
    position: relative;
    /* Wajib ada agar pitanya tidak terbang ke mana-mana */
    border: 2px solid #ff7a00;
    /* Bingkai oranye agar beda dari yang lain */
}

/* 2. Pita melayang di pojok kanan atas */
.best-seller-badge {
    position: absolute;
    top: -16px;
    right: -16px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    /* Gradasi merah-oranye mencolok */
    color: white;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(255, 65, 108, 0.4);
    z-index: 10;
    transform: rotate(5deg);
    /* Dimiringkan sedikit agar lebih estetik */
    animation: pulse-badge 2s infinite;
    /* Efek denyut jantung */
}

/* 3. Animasi denyut pelan agar mata pengunjung tertuju ke sini */
@keyframes pulse-badge {
    0% {
        transform: scale(1) rotate(5deg);
    }

    50% {
        transform: scale(1.05) rotate(5deg);
    }

    100% {
        transform: scale(1) rotate(5deg);
    }
}

/* Penyesuaian khusus di layar HP agar pita tidak keluar layar */
@media (max-width: 768px) {
    .best-seller-badge {
        right: 10px;
        /* Digeser agak ke dalam */
        top: -12px;
    }
}

/* =========================================
   7. TRIP EXPERIENCE (ACCORDION)
========================================= */
.trip-experience {
    padding: 90px 20px;
    background: linear-gradient(180deg, #f8fbff, #eef5ff);
    text-align: center;
}

.trip-experience h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.trip-subtitle {
    color: #666;
    margin-bottom: 40px;
}

.accordion {
    max-width: 800px;
    margin: auto;
    text-align: left;
}

.accordion-item {
    margin-bottom: 20px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    background: white;
    transition: 0.3s;
}

.accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    color: white;
    background: linear-gradient(135deg, #1c7ed6, #339af0);
}

.accordion-header:hover {
    filter: brightness(1.1);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    background: white;
    padding: 0 24px;
    border-left: 2px solid #1c7ed6;
}

.accordion-content p {
    position: relative;
    padding-left: 20px;
    margin: 18px 0;
    line-height: 1.7;
    color: #555;
}

.accordion-content p::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #1c7ed6;
    border-radius: 50%;
}

.accordion-content strong {
    color: #1c7ed6;
    font-weight: 600;
}

.trip-note {
    margin-top: 30px;
    font-size: 14px;
    color: #777;
}

/* =========================================
   8. SPESIAL TRIP
========================================= */
.special-trips {
    padding: 100px 20px;
    background: #f9fafb;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
}

.trip-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.trip-row.reverse {
    flex-direction: row-reverse;
}

.trip-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.trip-image::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.trip-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform .6s ease;
    display: block;
}

.trip-row:hover .trip-image img {
    transform: scale(1.08);
}

.trip-content {
    flex: 1;
}

.trip-content h3 {
    font-size: 32px;
    margin-bottom: 8px;
    color: #1c3d5a;
    line-height: 1.3;
}

.trip-duration {
    display: inline-block;
    margin-bottom: 20px;
    color: #1c7ed6;
    /* Warna biru yang lebih elegan */
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    /* Sedikit renggang agar berkesan premium */
}

.trip-content p {
    margin-bottom: 25px;
    color: #4b5563;
    /* Abu-abu gelap, tidak bikin mata cepat lelah */
    line-height: 1.8;
    /* Spasi antar baris sangat lega */
    text-align: justify;
    /* Rata Kanan-Kiri yang bikin rapi */
    font-size: 16px;
}

.trip-highlights {
    margin-bottom: 30px;
    padding-left: 20px;
}

.trip-highlights li {
    margin-bottom: 12px;
    /* Jarak antar titik (bullet) dijauhkan */
    color: #4b5563;
    line-height: 1.6;
    font-size: 15px;
}

.trip-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0 25px 0;
}

.trip-facts span {
    background: #f0edeb;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #0a3d62;
    font-weight: 500;
}

.trip-price {
    font-size: 20px;
    margin-bottom: 25px;
    color: #333;
}

.trip-price strong {
    font-size: 22px;
}

.trip-btn {
    display: inline-block;
    background: #ff7a00;
    color: white;
    padding: 12px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.trip-btn:hover {
    background: #e56d00;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 122, 0, .4);
}

/* =========================================
   9. FASILITAS
========================================= */
.facility-section {
    padding: 80px 0;
    background: url("images/hero.jpg") center/cover no-repeat;
    position: relative;
}

.facility-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .45);
    z-index: 0;
}

.facility-section .container {
    position: relative;
    z-index: 2;
}

.facility-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 50px;
    color: white;
}

/* Base Fasilitas (Mobile First) */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
}

.facility-card {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .3s;

    /* Konfigurasi Kotak Kecil HP */
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 6px;
    text-align: center;
}

.facility-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
}

.facility-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.facility-card h3 {
    font-size: 11px;
    line-height: 1.2;
}

/* Override Fasilitas Desktop (Tanpa !important) */
@media (min-width: 900px) {
    .facility-grid {
        gap: 25px;
        max-width: 1050px;
        align-items: start;
    }

    .facility-card {
        aspect-ratio: auto;
        flex-direction: row;
        justify-content: flex-start;
        padding: 20px 25px;
        height: auto;
        min-height: 90px;
        border-radius: 14px;
        text-align: left;
    }

    .facility-icon {
        font-size: 36px;
        margin-bottom: 0;
        margin-right: 20px;
    }

    .facility-card h3 {
        font-size: 16px;
    }
}

/* =========================================
   10. TESTIMONI & CTA
========================================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.testimonial-box {
    position: relative;
    padding: 35px 30px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff, #f5f9ff);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transition: .35s;
}

.testimonial-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .15);
}

.quote {
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 60px;
    color: #ff7a00;
    opacity: .25;
    font-family: serif;
}

.traveler {
    font-weight: 600;
    color: #0a3d62;
    font-size: 14px;
}

.cta {
    text-align: center;
    padding: 100px 20px;

    /* Pisahkan pengaturannya agar mudah digeser-geser */
    background-image: linear-gradient(rgba(0, 80, 150, .45), rgba(0, 0, 0, .55)), url("images/komodo2.jpg");
    background-size: cover;
    background-repeat: no-repeat;

    /* ========================================================
       RUMUS MENGGESER GAMBAR ADA DI SINI:
       background-position: [Kiri-Kanan] [Atas-Bawah];
    ======================================================== */
    background-position: 60% 20%;

    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.cta h2 {
    font-size: 34px;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.cta .btn {
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 10px;
}

.cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 122, 0, .45);
}

/* =========================================
   11. WHATSAPP FLOATING BUTTON
========================================= */
.wa-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: .3s;
    animation: wa-pulse 2s infinite;
}

.wa-float img {
    width: 28px;
}

.wa-float:hover {
    transform: scale(1.1);
    background: #20ba5a;
    animation: none;
}

.wa-tooltip {
    position: absolute;
    right: 50px;
    /* Posisi awal ditarik ke dalam */
    top: 50%;
    transform: translateY(-50%);
    background: #25D366;
    color: white;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
}

.wa-float:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
    /* Meluncur keluar */
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =========================================
   12. FOOTER
========================================= */
footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* =========================================
   13. GLOBAL MOBILE RESPONSIVE (MAX 768px)
========================================= */
@media (max-width: 768px) {

    /* Typografi & Grid Umum */
    .hero h1 {
        font-size: 28px;
    }

    .grid {
        grid-template-columns: 1fr !important;
    }

    .cta h2 {
        font-size: 26px;
    }

    /* Navbar */
    .menu,
    .lang-switch {
        display: flex
        align-item: center
        gap: 15px;
    }

    .hamburger {
        display: flex;
    }

    .menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 20px;
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    /* About Section */
    .about {
        padding: 60px 20px;
    }

    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .about-text h2 {
        font-size: 26px;
        line-height: 1.3;
        text-align: center;
    }

    .about-text p {
        font-size: 15px;
    }

    .about-action {
        text-align: center;
        margin-top: 10px;
    }

    .about-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0;
    }

    /* Special Trip */
    .special-trips {
        padding: 60px 15px;
    }

    .trip-row,
    .trip-row.reverse {
        flex-direction: column;
        gap: 20px;
        text-align: left;
        background: #ffffff;
        padding: 20px;
        /* Padding dalam kotak diperlebar sedikit */
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    }

    .trip-image {
        width: 100%;
        border-radius: 16px;
    }

    .trip-image img {
        width: 100%;
        height: 220px;
    }

    .trip-content {
        padding: 0 5px;
    }

    /* Memberi napas di sisi kiri-kanan teks */

    .trip-content h3 {
        font-size: 24px;
        margin-bottom: 8px;
        line-height: 1.3;
        color: #1c3d5a;
    }

    .trip-duration {
        font-size: 14px;
        margin-bottom: 18px;
        display: inline-block;
    }

    .trip-content p {
        font-size: 15px;
        line-height: 1.7;
        /* Spasi antar baris lebih lega */
        color: #4b5563;
        /* Warna abu-abu gelap yang nyaman di mata */
        text-align: justify;
        /* Rata kanan-kiri agar sangat rapi */
        margin-bottom: 20px;
    }

    .trip-highlights {
        padding-left: 20px;
        margin-bottom: 25px;
    }

    .trip-highlights li {
        font-size: 14px;
        line-height: 1.6;
        color: #4b5563;
        margin-bottom: 10px;
        /* Jarak antar titik diperjauh agar mudah dibaca */
        text-align: left;
    }

    .trip-facts {
        gap: 8px;
        margin: 10px 0 20px 0;
    }

    .trip-facts span {
        font-size: 12px;
        padding: 8px 14px;
    }

    .trip-price {
        font-size: 16px;
        margin-bottom: 16px;
        font-weight: 600;
    }

    .trip-btn {
        display: block;
        text-align: center;
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }

    /* WhatsApp */
    .wa-tooltip {
        display: none;
    }
}

/* ========================================================
   PENYESUAIAN GAMBAR CTA KHUSUS MOBILE (HP)
======================================================== */
@media (max-width: 768px) {
    .cta {
        /* Geser fokus gambar lebih ke kiri (kepala komodo) saat di HP */
        /* Silakan ubah angka 15% ini jika kurang pas (misal: 10% atau 20%) */
        background-position: 15% 50%;
    }
}