/* --- Variables & Reset --- */
:root {
    --primary-teal: #11787a;
    --primary-orange: #ff7f32;
    --accent-gold: #d4af37;
    --bg-light: #f0fdfc;
    --text-main: #333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header / Navbar --- */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding-top: 20px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    display: flex;
    flex-direction: column;
    line-height: 1;
    z-index: 101;
}

.logo span {
    font-weight: 800;
    font-size: 1.2rem;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo small {
    font-size: 0.6rem;
    margin-left: 28px;
    opacity: 0.8;
}

.nav-pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    border-radius: 50px;
    display: flex;
    gap: 30px;
    backdrop-filter: blur(5px);
}

.nav-pill a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-pill a:hover {
    color: var(--primary-orange);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

/* FIX UKURAN ICON HEADER */
.navbar-container .icon-circle.nav-icon {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 0 !important;
    padding: 0;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.navbar-container .icon-circle.nav-icon i {
    font-size: 0.9rem !important;
    color: white !important;
}

.navbar-container .icon-circle.nav-icon .text-xs {
    font-size: 0.6rem !important;
    margin-left: 3px;
}

.search-icon {
    font-size: 1.1rem;
    margin-left: 10px;
    cursor: pointer;
}

/* Hamburger Menu & Mobile Overlay */
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 200;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-teal);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 20px;
    display: flex;
    justify-content: flex-end;
}

.close-btn {
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.mobile-links {
    list-style: none;
    padding: 40px;
    text-align: center;
}

.mobile-links li {
    margin-bottom: 25px;
}

.mobile-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-links .separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

/* --- Hero Section --- */
.hero {
    height: 90vh;
    min-height: 600px;
    width: 100%;
    background-image: url('https://images.unsplash.com/photo-1565259972688-2944b2052b6d?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center bottom;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(17, 120, 122, 0.5), rgba(0, 0, 0, 0.1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    margin-top: -50px;
    padding: 0 15px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-start {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-teal);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.shine-star {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

.awards-container {
    position: absolute;
    bottom: 80px;
    right: 15%;
    z-index: 10;
    display: flex;
    gap: 20px;
}

.award-wreath {
    width: 90px;
    height: 90px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.award-wreath::before {
    content: '';
    position: absolute;
    width: 105%;
    height: 105%;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.4);
}

.wreath-content {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-weight: 800;
    font-size: 0.8rem;
}

.wreath-content small {
    font-size: 0.5rem;
    text-transform: uppercase;
    font-weight: 400;
}

.wreath-icon {
    margin-top: 3px;
    font-size: 1.2rem;
}

/* --- Search Pill --- */
.search-section {
    position: relative;
    z-index: 50;
    margin-top: -35px;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.search-pill {
    background-color: var(--primary-teal);
    border-radius: 50px;
    padding: 8px 10px 8px 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(17, 120, 122, 0.4);
}

.search-group {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    padding-right: 20px;
    cursor: pointer;
    font-weight: 500;
}

.search-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    margin-right: 20px;
}

.btn-search {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-search:hover {
    background-color: #e66012;
}

/* --- Carousel --- */
.popular-tours-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f3fcfb 0%, #ffffff 100%);
}

.section-header-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.title-wrapper h2 {
    font-size: 2.2rem;
    color: var(--primary-teal);
    font-weight: 700;
}

.star-decor {
    color: var(--primary-orange);
    font-size: 1.5rem;
    vertical-align: super;
}

.orange-bar {
    height: 5px;
    width: 120px;
    background-color: var(--primary-orange);
    border-radius: 5px;
}

.carousel-window {
    overflow: hidden;
    padding: 20px 10px 40px 10px;
    margin: 0 -10px;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: max-content;
}

.tour-card {
    width: 350px;
    flex-shrink: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

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

.card-image-wrap {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.tour-card:hover .card-image-wrap img {
    transform: scale(1.05);
}

.rating-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(30, 30, 30, 0.75);
    backdrop-filter: blur(4px);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.rating-badge i {
    color: #FFD700;
    margin-right: 5px;
}

.card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.star-row {
    color: var(--primary-orange);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.card-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f3f3f3;
    padding-top: 15px;
    margin-top: auto;
}

.price-block {
    display: flex;
    flex-direction: column;
}

.currency {
    font-weight: 800;
    font-size: 1.05rem;
    color: #111;
}

.unit {
    font-size: 0.75rem;
    color: #888;
}

.btn-book {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

.btn-book.filled {
    background-color: var(--primary-orange);
    color: white;
    border: none;
}

.btn-book.outline {
    background-color: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.carousel-nav {
    display: flex;
    gap: 15px;
}

.nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--primary-teal);
    background: transparent;
    color: var(--primary-teal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.nav-btn:hover:not(:disabled) {
    background-color: var(--primary-teal);
    color: white;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Jakarta Highlight --- */
.jakarta-highlight {
    background-color: #008080;
    padding: 80px 0;
    overflow: hidden;
    color: white;
    background-image: repeating-radial-gradient(circle at 0 0, transparent 0, #008080 10px), repeating-linear-gradient(#00757555, #00757555);
}

.highlight-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.left-content {
    display: flex;
    gap: 30px;
    flex: 1;
}

.vertical-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 10px;
}

.vertical-nav .pill {
    width: 12px;
    height: 35px;
    background: white;
    border-radius: 20px;
}

.vertical-nav .circle {
    width: 12px;
    height: 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.city-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1;
}

.city-desc {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
    font-weight: 300;
}

.btn-itinerary {
    display: inline-block;
    background-color: var(--primary-orange);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.right-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.right-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* --- Map Section --- */
.java-map-section {
    background: linear-gradient(to bottom, #ffffff 0%, #dcfce7 100%);
    padding: 50px 0 100px 0;
    overflow: hidden;
    min-height: 600px;
}

.map-container {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-base {
    width: 90%;
    max-width: 1000px;
    opacity: 0.8;
    filter: grayscale(100%) contrast(1.5) drop-shadow(0 0 0 2px #0f5132);
}

.map-marker {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.map-marker .label {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f4c4c;
    margin-bottom: 2px;
    white-space: nowrap;
}

.map-marker .dot {
    width: 10px;
    height: 10px;
    background-color: #a88d55;
    border: 1px solid #0f4c4c;
    border-radius: 50%;
    z-index: 2;
}

.line-shape {
    background-color: #0f4c4c;
}

.shape-vertical,
.shape-vertical-up {
    width: 1px;
    height: 30px;
}

.shape-l-down-right {
    width: 1px;
    height: 20px;
    position: relative;
}

.shape-l-down-right::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 15px;
    height: 1px;
    background-color: #0f4c4c;
}

.shape-l-malang {
    width: 1px;
    height: 40px;
    position: relative;
}

.shape-l-malang::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: #0f4c4c;
}

.bottom-aligned {
    flex-direction: column-reverse;
}

.bottom-aligned .label {
    margin-top: 2px;
    margin-bottom: 0;
}

/* Coordinat Peta */
.m-jakarta {
    top: 20%;
    left: 24%;
    align-items: flex-start;
}

.m-jakarta .dot {
    margin-left: 14px;
    margin-top: -5px;
}

.m-bandung {
    top: 25%;
    left: 30%;
}

.m-bandung .shape-vertical {
    height: 45px;
}

.m-pekalongan {
    top: 28%;
    left: 43%;
}

.m-pekalongan .shape-vertical {
    height: 35px;
}

.m-semarang {
    top: 28%;
    left: 51%;
}

.m-semarang .shape-vertical {
    height: 45px;
}

.m-purwokerto {
    top: 52%;
    left: 39%;
}

.m-purwokerto .shape-vertical-up {
    height: 30px;
}

.m-yogyakarta {
    top: 58%;
    left: 53%;
}

.m-yogyakarta .shape-vertical-up {
    height: 35px;
}

.m-malang {
    top: 32%;
    left: 63%;
    align-items: flex-start;
}

.m-malang .shape-l-malang {
    height: 60px;
}

.m-malang .dot {
    margin-left: 39px;
    margin-top: -5px;
}

.m-surabaya {
    top: 32%;
    left: 73%;
}

.m-surabaya .shape-vertical {
    height: 40px;
}

.m-banyuwangi {
    top: 48%;
    left: 86%;
}

.m-banyuwangi .shape-vertical {
    height: 25px;
}

/* --- Why Choose Us --- */
.why-choose-us {
    padding: 80px 0 100px 0;
    background: linear-gradient(to bottom, #ffffff, #f9fcfc);
    text-align: center;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 60px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-circle {
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover .icon-circle {
    transform: translateY(-10px);
}

.icon-circle i {
    font-size: 3rem;
    color: #008080;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.feature-item p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
    max-width: 250px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 768px) {

    /* Navbar Mobile Layout */
    .navbar-container {
        position: relative;
        justify-content: center;
        height: 60px;
    }

    .desktop-menu {
        display: none !important;
    }

    /* Hide Desktop Menu */
    .hamburger {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: max-content;
    }

    .logo small {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: 500px;
        height: 80vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .awards-container {
        display: none;
    }

    /* Search */
    .search-pill {
        flex-direction: column;
        width: 100%;
        border-radius: 20px;
        padding: 20px;
        align-items: stretch;
        gap: 15px;
    }

    .search-divider {
        display: none;
    }

    .btn-search {
        justify-content: center;
        width: 100%;
    }

    /* Carousel */
    .section-header-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .carousel-nav {
        align-self: flex-end;
    }

    .tour-card {
        width: 280px;
    }

    .carousel-track {
        gap: 15px;
    }

    /* Highlight & Map & Features */
    .highlight-layout,
    .features-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 30px;
    }

    .vertical-nav {
        flex-direction: row;
    }

    .vertical-nav .pill {
        height: 12px;
        width: 35px;
    }

    .map-container {
        height: 300px;
    }

    .map-marker {
        transform: scale(0.8);
    }

    .map-marker .label {
        font-size: 0.6rem;
    }
}

/* --- Related Tour Card V3 (Vertical Overlapping) --- */
.related-tour-item {
    margin-bottom: 30px;
}

.related-tour-card-v3 {
    background: #fff;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.related-tour-card-v3:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.related-tour-card-v3__image-wrap {
    position: relative;
    height: 280px;
    width: 100%;
    overflow: hidden;
}

.related-tour-card-v3__image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.related-tour-card-v3:hover .related-tour-card-v3__image {
    transform: scale(1.1);
}

.related-tour-card-v3__badges {
    position: absolute;
    top: 25px;
    left: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.related-tour-card-v3__badge {
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
}

.related-tour-card-v3__badge--discount {
    background: #f44336; /* Vibrant red */
}

.related-tour-card-v3__badge--tag {
    background: #008080; /* Teal theme */
}

.related-tour-card-v3__content {
    background: #fff;
    border-radius: 35px 35px 0 0;
    margin-top: -40px;
    position: relative;
    padding: 28px 25px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    z-index: 3;
}

.related-tour-card-v3__stars {
    color: #F7921E; /* Project orange for stars */
    font-size: 15px;
    margin-bottom: 15px;
}

.related-tour-card-v3__title {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin-bottom: 18px;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.related-tour-card-v3__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.related-tour-card-v3__title a:hover {
    color: #008080;
}

.related-tour-card-v3__divider {
    height: 1px;
    background: #eef2f6;
    margin-bottom: 20px;
}

.related-tour-card-v3__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #1a314a;
    font-weight: 700;
    margin-bottom: 25px;
}

.related-tour-card-v3__meta i {
    color: #008080;
    font-size: 20px;
}

.related-tour-card-v3__price-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.related-tour-card-v3__price-icon {
    width: 44px;
    height: 44px;
    background: #008080;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}

.related-tour-card-v3__price-details {
    display: flex;
    flex-direction: column;
}

.related-tour-card-v3__price-old {
    font-size: 13px;
    text-decoration: line-through;
    color: #94a3b8;
    margin-bottom: 1px;
}

.related-tour-card-v3__price-current {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.related-tour-card-v3__price-unit {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.related-tour-card-v3__btn {
    background: #f7921e; /* Core orange */
    color: #fff;
    padding: 16px 20px;
    border-radius: 18px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(247, 146, 30, 0.25);
    margin-top: auto;
}

.related-tour-card-v3__btn:hover {
    background: #e07f15;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(247, 146, 30, 0.35);
    color: #fff;
}

@media (max-width: 991px) {
    .related-tour-card-v3__image-wrap {
        height: 280px;
    }
}

@media (max-width: 576px) {
    .related-tour-card-v3__title {
        font-size: 18px;
    }
    .related-tour-card-v3__price-current {
        font-size: 20px;
    }
}