/* ================= GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Tambahan wajib agar padding tidak merusak lebar di HP */
}

body {
    overflow-x: hidden; /* Mencegah layar goyang kiri-kanan di HP */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ================= HERO ================= */
.hero {
    margin-top: 60px;
    height: 500px;
    padding-top: 90px;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
                url("/asset/themes/domain_1/ddddddxvryxvxvryxvxvry.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.stars {
    color: #f1c40f;
    font-size: 1rem;
}

.price {
    display: inline-block;
    margin-top: 8px;
    font-weight: bold;
    color: #f4a261;
}

.meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-top: 8px;
    padding: 0px 20px 20px 20px; /* Ditambah padding bawah agar rapi */
    color: #666;
    width: 100%;
}

.order {
    font-weight: 600;
    color: #555;
}

/* ================= INFO SECTION ================= */
.info-section {
    padding: 60px 20px;
}

.info-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.info-text h2 {
    font-size: 36px;
    color: #0d47a1;
    margin-bottom: 20px;
}

.info-text p {
    font-size: 16px;
    color: #555;
    max-width: 500px;
    margin-bottom: 30px;
}

.info-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn.primary {
    background: #1e88e5;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn.primary:hover {
    background: #0d47a1;
    transform: translateY(-2px);
}

.btn.outline {
    border: 2px solid #1e88e5;
    color: #1e88e5;
}

.btn.outline:hover {
    background: #1e88e5;
    color: white;
    transform: translateY(-2px);
}

.info-image img {
    max-width: 100%;
    /* scale: 0.9; */
    border-radius: 12px;
    border: 8px solid #bbdefb;
}

/* ================= TOURS ================= */
.tours {
    padding: 60px 80px;
    text-align: center;
    background: #e3f2fd;
}

.tours h2 {
    color: #0d47a1;
    font-size: 32px;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.tour-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(13, 71, 161, 0.15);
}

.tour-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.tour-card h3 {
    margin: 15px;
    color: #0d47a1;
}

.tour-card p {
    color: #777;
    padding: 0 15px;
}

/* Override price inside tour card agar tidak kacau */
.tour-card .price {
    display: inline-block;
    margin: 15px;
    background: #1e88e5;
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: bold;
}

.btn-view {
    margin-top: 40px;
    padding: 12px 30px;
    background: #1e88e5;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.btn-view:hover {
    background: #0d47a1;
}

/* ================= WHY CHOOSE US ================= */
.why-choose {
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.title {
    font-size: 36px;
    font-weight: 800;
    color: #0b5d3b;
    margin-bottom: 15px;
}

.title .arrow {
    color: #ff7a00;
    font-weight: 900;
    margin: 0 10px;
}

.subtitle {
    max-width: 750px;
    margin: 0 auto 60px;
    color: #777;
    font-size: 16px;
    line-height: 1.7;
}

.card-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.card {
    border: 2px solid #ff7a00;
    padding: 40px 25px;
    text-align: left;
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.icon {
    font-size: 40px;
    color: #ff7a00;
    margin-bottom: 25px;
}

.card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #000;
}

.card p {
    color: #777;
    line-height: 1.6;
    font-size: 15px;
}

.more-btn {
    margin-top: 20px;
    padding: 10px 20px;
    border: 1.5px solid #ff7a00;
    background: transparent;
    color: #ff7a00;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.more-btn:hover {
    background: #ff7a00;
    color: #fff;
}

/* ================= POPUP ================= */
.popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #fff;
    width: 90%;
    max-width: 450px;
    max-height: 80vh;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.popup-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    border-bottom: 1px solid #eee;
}

.popup-body {
    padding: 20px 30px;
    overflow-y: auto;
}

.close {
    font-size: 26px;
    cursor: pointer;
    font-weight: bold;
}

.popup-content h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.popup-content p {
    color: #555;
    line-height: 1.6;
}

/* ================= HOME GALLERY ================= */
.home-gallery {
    padding: 50px 20px 80px 20px;
}

.gallery-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.gallery-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0d47a1;
}

.gallery-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.gallery-section {
    padding: 40px 5%;
    text-align: center;
}

.gallery-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    padding: 10px;
}

.gallery-item {
    overflow: hidden;
    max-height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 40px;
    padding: 20px;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gallery-btn {
    display: inline-block;
    margin-top: 45px;
    padding: 14px 36px;
    background: #ff9800;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s ease;
}

.gallery-btn:hover {
    background: #fb8c00;
    transform: translateY(-3px);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    border: 3px solid white;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from {transform: scale(0.5)} 
    to {transform: scale(1)}
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}

/* ================= REVIEWS ================= */
.review-section {
    background: #9fd3ff;
    padding: 60px 0;
}

.review-section h2 {
    font-size: 34px;
    margin: 0 40px 30px;
    color: #0a1f44;
}

.review-wrapper {
    position: relative;
    overflow: hidden;
}

.review-slider {
    display: flex;
    gap: 20px;
    margin: 0 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.review-slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 calc((100% - 60px) / 4);
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    min-height: 160px;
    scroll-snap-align: start;
}

.review-card p {
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 12px;
}

.review-card strong {
    color: #0f172a;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    font-size: 26px;
    background: rgba(255, 255, 255, 0.068);
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,.2);
}

.nav.prev { left: 10px; }
.nav.next { right: 10px; }

.dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
}

.dots span.active {
    background: #0a1f44;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1023px) {

    .hero {
        height: 350px;
        padding-top: 60px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .info-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 16px;
    }

    .info-text h2 {
        font-size: 26px;
        text-align: center;
    }

    .info-text p {
        text-align: center;
        font-size: 15px;
        margin: 0 auto 25px;
    }

    .info-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .tours {
        padding: 40px 20px;
    }

    .tour-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose {
        padding: 40px 15px;
    }

    .title {
        font-size: 26px;
    }

    .title .arrow {
        display: none;
    }

    .card-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .card {
        padding: 20px;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-title {
        font-size: 28px;
    }

 

    .review-slider {
        margin: 0 20px;
    }

    .nav-btn {
        font-size: 24px;
        padding: 10px;
    }
}

@media (max-width: 767px) {
    .card-wrapper {
        grid-template-columns: 1fr;
    }
      .tour-grid {
        grid-template-columns: 1fr;
    }
       .review-card {
        flex: 0 0 calc(95%); /* Tampilan 1 kartu lebih lebar di HP agar nyaman dibaca */
    }
    .gallery-item {
        max-height: 150px; /* Diperbaiki agar tidak terlalu pendek (110px terlalu kecil) */
    }
}