   
   /*  Styles.css  */

    :root {
        --primary: #2c786c;
        --secondary: #004445;
        --accent: #f8b400;
        --light: #faf5e4;
    }

    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        color: #333;
    }

    .text-primer {
        color: var(--primary);
    }
    
    .bg-primer {
        background-color: var(--primary);
        color: white;
    }

    /* Hero Section */
    .hero {
        background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../hero.webp');
        background-size: cover;
        background-position: center;
        height: 100vh;
        color: white;
    }

    /* Navbar Desktop & Mobile Default (selalu transparan) */
    .navbar {
        transition: all 0.3s;
        background-color: transparent !important;
        padding: 20px 0;
    }

    .navbar.scrolled {
        background-color: var(--secondary) !important;
        padding: 10px 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    /* Navbar Mobile - Perbaikan */
    @media (max-width: 991.98px) {
        .navbar-collapse {
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            max-width: 300px;
            height: 100vh;
            background-color: var(--secondary);
            padding: 20px;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1050;
            box-shadow: -5px 0 15px rgba(0,0,0,0.1);
            overflow-y: auto;
        }
        
        .navbar-collapse.show {
            transform: translateX(-100%);
            right: 0;
        }
        
        .navbar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1040;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .navbar-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        /* Pastikan body tidak scroll saat menu terbuka */
        body.navbar-open {
            overflow: hidden;
        }
        
        /* Overlay saat menu aktif */
        .navbar-collapse::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .navbar-collapse.show::before {
            opacity: 1;
        }
        
        .nav-item {
            margin: 15px 0;
        }
        
        .nav-link {
            padding: 10px 15px;
            border-radius: 5px;
            transition: all 0.3s;
            color: #fff !important;
        }
        
        .nav-link:hover {
            background-color: rgba(255,255,255,0.2);
        }
        
        /* Tombol close custom */
        .navbar-collapse .btn-close {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            background-color: var(--accent);
        }
        .navbar-collapse:not(.mobile-menu) .btn-close {
            display: none !important;
        }
    }

    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    /* Tombol Toggler */
    .navbar-toggler {
        border-color: rgba(255,255,255,0.5);
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.15rem rgba(248, 180, 0, 0.5);
    }

    /* Style untuk overlay saat navbar open */
    .navbar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 990;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .navbar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Navbar mobile */
    @media (max-width: 991.98px) {
        .navbar-collapse {
            position: fixed;
            top: 0;
            right: 0;
            width: 80%;
            max-width: 300px;
            height: 100vh;
            background: var(--secondary);
            padding: 20px;
            z-index: 1000;
            transform: translateX(100%);
            transition: transform 0.3s ease;
        }
        
        .navbar-collapse.show {
            transform: translateX(0);
        }
    }

    .btn-accent {
        background-color: var(--accent);
        color: var(--secondary);
        font-weight: bold;
    }

    .btn-accent:hover {
        background-color: #e0a800;
        color: var(--secondary);
    }

    .btn-primer {
        background-color: var(--secondary);
        color: whitesmoke;
        font-weight: bold;
    }

    .btn-primer:hover {
        background-color: var(--primary);
        color: var(--light);
    }

    .section-title {
        position: relative;
        margin-bottom: 3rem;
        color: var(--primary);
    }

    .section-title:after {
        content: "";
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: var(--accent);
    }

    .package-card {
        transition: all 0.3s;
        border: 2px solid rgba(0,0,0,0.2);
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
    }

    .package-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    }

    .package-img {
        height: 200px;
        object-fit: cover;
    }

    .route-img {
        height: 200px;
        object-fit: cover;
    }

    .price {
        color: var(--primary);
        font-weight: bold;
        font-size: 1.3rem;
    }

    .feature-icon {
        font-size: 2.5rem;
        color: var(--primary);
        margin-bottom: 1rem;
    }

    /* Galeri Styles */
    .gallery-item {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        transition: all 0.3s;
    }

    .gallery-img {
        transition: transform 0.5s;
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(44, 120, 108, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }

    .gallery-item:hover .gallery-img {
        transform: scale(1.1);
    }

    .gallery-overlay i {
        color: white;
        font-size: 2rem;
    }

    .filter-button {
        margin: 5px;
        transition: all 0.3s;
    }

    .filter-button:hover, .filter-button.active {
        background-color: var(--primary);
        color: white !important;
    }

    /* Rute Lain Styles - Updated */
    .route-card {
        transition: transform 0.3s, box-shadow 0.3s;
        border: none;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 10px;
        overflow: hidden;
        height: 100%; /* Tambahkan ini */
        display: flex; /* Tambahkan ini */
        flex-direction: column; /* Tambahkan ini */
    }

    .route-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .route-card .row {
        flex-grow: 1; /* Tambahkan ini */
        margin: 0; /* Hilangkan margin default */
    }

    .route-card .col-md-5 {
        padding: 0; /* Hilangkan padding default */
        min-height: 250px; /* Tinggi minimum */
    }

    .route-card .col-md-5 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .route-card .col-md-7 {
        display: flex;
        flex-direction: column;
        padding: 0; /* Hilangkan padding default */
    }

    .route-card .card-body {
        padding: 1.5rem;
        flex-grow: 1; /* Tambahkan ini */
        display: flex;
        flex-direction: column;
    }

    .route-card .list-group {
        flex-grow: 1; /* Tambahkan ini */
    }

    .route-card .badge {
        font-size: 0.75rem;
        padding: 0.35em 0.65em;
    }

    .route-card .list-group-item {
        padding: 0.5rem 0;
        border: none;
    }

    /* Responsive Adjustments */
    @media (max-width: 767.98px) {
        .route-card .col-md-5 {
            height: 200px;
            min-height: auto;
        }
        
        .route-card {
            flex-direction: column;
        }
    }

    @media (min-width: 768px) {
        .route-card {
            max-height: 320px; /* Tinggi maksimum untuk desktop */
        }
        
        .route-card .col-md-5 {
            height: 100%;
        }
    }

    /* Style untuk section kontak */
    .btn-social {
        width: 50px;
        height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
        font-size: 1.25rem;
    }

    .btn-social:hover {
        transform: translateY(-3px) scale(1.1);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    /* Animasi tombol WhatsApp */
    .btn-success {
        transition: all 0.3s;
        box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
    }

    .btn-success:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(25, 135, 84, 0.4);
        background-color: #1f9d55;
    }

    /* Card hover effect */
    .card {
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

    /* Text shadow untuk judul */
    .text-shadow {
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

    /* Efek hover tombol */
    .hover-grow {
        transition: all 0.3s ease;
    }
    .hover-grow:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        color: whitesmoke;
    }

    /* Custom outline button */
    .btn-outline-light {
        border-width: 2px;
        transition: all 0.3s;
    }
    .btn-outline-light:hover {
        background-color: rgba(255,255,255,0.1);
    }

    /* Hero section base styling */
    /* .hero h1, .hero p, .hero-buttons {
        opacity: 0;
        animation: fadeIn 1s ease-out forwards;
    }
    .hero p { animation-delay: 0.3s; }
    .hero-buttons { animation-delay: 0.6s; } */

    @keyframes fadeIn { to { opacity: 1; } }

    /* Ukuran tombol medium */
    .btn-md {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }

    /* Hero buttons spacing */
    .hero-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Subtitle responsive */
    .hero-subtitle {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.25rem;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .hero-buttons {
            flex-direction: column;
            gap: 0.75rem;
            width: 80%;
            margin: 0 auto;
        }
        
        .hero-buttons .btn {
            width: 100%;
        }
        
        .hero h1 {
            font-size: 2rem;
        }
        
        .hero-subtitle {
            font-size: 1rem;
        }
    }

    /* Efek hover tetap sama */
    .hover-grow {
        transition: all 0.3s ease;
    }
    .hover-grow:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    /* Galeri Styles */
    .gallery-item {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        transition: all 0.3s;
        margin-bottom: 15px;
    }

    .gallery-img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: transform 0.5s;
    }

    .gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(44, 120, 108, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }

    .gallery-item:hover .gallery-img {
        transform: scale(1.05);
    }

    .gallery-overlay i {
        color: white;
        font-size: 2rem;
    }

    /* Responsive Adjustments */
    @media (max-width: 992px) {
        .gallery-img {
            height: 250px;
        }
        #galleryModal .modal-dialog {
            max-width: 100%;
            width: auto;
        }
    }

    @media (max-width: 768px) {
        .gallery-img {
            height: 250px;
        }
        #galleryModal .modal-dialog {
            max-width: 100%;
            width: auto;
        }
    }

    /* Modal Gallery Styles */
    #galleryModal .modal-dialog {
        /* max-width: 90%; */
        margin: 1rem auto; /* Tambahkan ini untuk posisi tengah */
    }

    #galleryModal .modal-body img {
        max-height: 70vh;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }

    #galleryModal .modal-content {
        background-color: rgba(245, 245, 245, 0.950);
        color: var(--secondary);
        border: none;
        margin: 0 auto; /* Tambahkan ini */
    }

    #galleryModal .btn-close {
        filter: invert(1);
        opacity: 0.8;
        position: absolute;
        right: 15px;
        top: 15px;
        background: rgba(0,0,0,0.2);
        border-radius: 50%;
        padding: 0.5rem;
    }

    /* Responsive adjustment for mobile */
    @media (max-width: 576px) {
        #galleryModal .modal-dialog {
            max-width: 95%;
            margin: 0.5rem auto; /* Lebih rapat di mobile */
        }
        
        #galleryModal .modal-body img {
            max-height: 60vh; /* Sedikit lebih kecil di mobile */
        }
        
        #galleryModal .btn-close {
            right: 10px;
            top: 10px;
            padding: 0.4rem;
        }
    }

    /* Footer Styles */
    .brand-name {
        font-weight: 700;
        letter-spacing: 1px;
    }

    .btn-circle {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
    }

    .btn-circle:hover {
        transform: translateY(-3px) scale(1.1);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    .social-icons a {
        margin-right: 8px;
        margin-bottom: 8px;
    }

    .text-accent {
        color: var(--accent);
    }

    hr.bg-light {
        border-color: rgba(255,255,255,0.1);
    }

    /* Timeline Style */
    .route-timeline {
        position: relative;
        padding-left: 30px;
    }

    .timeline-item {
        position: relative;
        padding-bottom: 20px;
    }

    .timeline-point {
        position: absolute;
        left: -8px;
        top: 5px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        z-index: 2;
    }

    .timeline-content {
        padding-left: 15px;
        border-left: 2px solid #dee2e6;
    }

    .timeline-item:last-child .timeline-content {
        border-left: 2px dashed #dee2e6;
    }

    /* Modal Custom */
    #routeModal .modal-header {
        background: linear-gradient(to right, var(--primary), #004445);
    }

    #routeModal .modal-title {
        font-weight: 700;
        letter-spacing: 1px;
    }

    #routeModal .modal-body {
        padding: 1.5rem;
    }

    /* Responsive */
    @media (max-width: 767.98px) {
        .route-timeline {
            padding-left: 20px;
        }
        
        #routeModal .modal-body {
            padding: 1rem;
        }
    }

    /* Timeline Torean */
    .timeline-item {
        position: relative;
        padding-bottom: 25px;
    }

    .timeline-point {
        position: absolute;
        left: -10px;
        top: 5px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--primary);
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 0.7rem;
        font-weight: bold;
    }

    .timeline-content {
        padding-left: 25px;
        border-left: 3px solid var(--primary);
        position: relative;
    }

    .timeline-item:last-child .timeline-content {
        border-left-style: dashed;
    }

    /* Badge Kesulitan */
    .badge.bg-warning.text-dark {
        background-color: #ffc107 !important;
        color: #212529 !important;
    }

    /* Modal Torean Khusus */
    #toreanModal .modal-header {
        background: linear-gradient(to right, var(--primary), #004445);
    }

    #toreanModal .card-header {
        font-weight: 600;
    }

    /* tampilkan lebih banyak button */
    #load-more-btn {
        transition: all 0.3s;
    }

    #load-more-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .gallery-img {
        transition: transform 0.3s;
    }

    .gallery-img:hover {
        transform: scale(1.03);
    }

    /* Animasi untuk modal */
    .modal-content {
        transition: all 0.3s ease;
        border: none;
        overflow: hidden;
    }

    .modal-body img {
        transition: opacity 0.3s ease;
    }

    /* Efek hover untuk tombol navigasi */
    .btn-nav {
        transition: all 0.3s;
        opacity: 0.5;
    }

    .btn-nav:hover {
        opacity: 1;
        transform: scale(1.1);
    }

    /* Gradient untuk footer */
    .bg-dark-gradient {
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    }

    /* Responsive adjustments
    @media (max-width: 768px) {
        .modal-dialog {
            margin: 0.5rem;
        }
        .modal-body {
            max-height: 60vh;
        }
        .btn-nav {
            width: 40px !important;
            height: 40px !important;
        }
    } */