* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fa;
    color: #08424d;
    line-height: 1.6;
}

/* Heading khusus card */
.trip-title,
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(244, 251, 251);
    padding: 1rem 4rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo span {
    color: #ff6600;
}

.logo img {
    margin-left: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}
nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}
nav a:hover {
    color: #001eff;
}
.header-buttons .btn {
    background: #08424D;
    border: none;
    padding: 0.6rem 1.2rem;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s;
}
.header-buttons .btn:hover {
    background: #cc5200;
}
.btn-secondary {
    background: transparent;
    border: 1px solid #ff6600;
    padding: 0.5rem 1rem;
    color: #ff6600;
    cursor: pointer;
}
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.2s ease-in-out;
}

.chat-whatsapp:hover {
    background: #1ebe5d;
    transform: scale(1.05);
}

.chat-whatsapp img {
    width: 24px;
    height: 24px;
}


/* ===== Glassmorphism Sidebar ===== */

.sidebar-glass {
    position: fixed;
    top: 0;
    right: -320px; /* hidden */
    width: 300px;
    height: 100%;
    padding: 2rem 1.7rem;
    z-index: 2000;

    /* Glass effect */
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Rounded corner */
    border-radius: 24px 0 0 24px;

    /* Border faint */
    border-left: 1px solid rgba(255, 255, 255, 0.25);

    /* Animation */
    transition: right 0.35s ease;
}

.sidebar-glass ul {
    list-style: none;
    margin-top: 50px;
    padding-left: 0;
}

.sidebar-glass ul li {
    margin-bottom: 1.4rem;
}

.sidebar-glass ul li a {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;

    /* White glow */
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.close-btn {
    font-size: 1.9rem;
    cursor: pointer;
    text-align: right;
    color: #fff;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
    z-index: 1500;
    display: none;
}

/* Hamburger Icon */
.menu-toggle {
    display: none;
    font-size: 2.3rem;
    cursor: pointer;
    color: #08424D;
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
}

.hero-search {
    justify-content: center;
}

/* FILTER BAR */

.filter-wrapper {
  display: flex;
  justify-content: center;
  margin-top: -40px;
  position: relative;
  z-index: 20;
}

.filter-bar {
    display: flex;
    gap: 12px;
    background: rgba(255,255,255,0.9);
    padding: 14px 20px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);

    backdrop-filter: blur(8px);  /* efek kaca premium */
}

.filter-item {
  position: relative;
}

.filter-container {
    position: absolute;
    bottom: -25px;      /* Naik ke bawah slider */
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: auto;
}

.filter-bar select {
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #d1d1d1;
    font-size: 15px;
    color: #08424D;
    background: white;
}

.filter-bar .filter-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 10px;
    background: #08424D;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.filter-bar .filter-btn:hover {
    background: #0d6f6f;
}

.filter-btn .arrow {
  font-size: 12px;
  transition: 0.2s;
}

.filter-panel {
  position: absolute;
  top: 50px;
  left: 0;
  width: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  padding: 15px;
  display: none;
  animation: fadeIn 0.2s ease;
  z-index: 999;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.filter-panel h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.filter-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-panel ul li {
  margin-bottom: 8px;
}

.filter-panel label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

    @media(max-width: 768px) {
  .filter-bar {
      flex-wrap: wrap;
      justify-content: center;
      width: 90%;
  }
  .filter-bar select {
      flex: 1 1 45%;
  }
}

/* HERO */
.hero {
    text-align: center;
    padding: 2rem;
    background: #ddd;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: visible;
  background: transparent;
}

.hero-slider .slider-inner {
  position: relative;
  max-width: calc(100% - 8rem);
  margin: 0 auto;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
}

.slider-container {
  display: flex;
  transition: transform 0.8s ease-in-out;
  height: 100%;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  max-width: 750px;
  padding: 20px;
  color: white;
  z-index: 10;

  display: flex;
  flex-direction: column;
  justify-content: center;      /* penting */
  align-items: center;          /* penting */
  gap: 15px;
}

.slide {
  flex: 1 0 100%;
  position: relative;
}

.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  filter: contrast(105%) saturate(110%);
}

.slide-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
  text-align: center;
}

.slide-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
    text-align: center;
    
}

.btn-readmore {
  display: inline-block;
  padding: 10px 20px;
  background: #ff6600;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-readmore:hover {
  background: #cc5200;
}

@media (max-width: 768px) {
  .slide-content h1 {
    font-size: 1.6rem;
  }
  .slide-content p {
    font-size: 1rem;
  }
  .btn-readmore {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .hero-slider .slider-inner {
    max-width: calc(100% - 2rem);
    border-radius: 12px;
  }
  .prev, .next {
    font-size: 1.5rem;
  }
}

.search-box input {
  border: none;
  outline: none;
  padding: 8px 12px;
  border-radius: 8px;
}

.search-box button {
  background-color: #1a4f46;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
}

.section-container {
    max-width: calc(100% - 8rem);
    margin: 0 auto;
    padding: 0 20px
}

.kategori-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;   
    max-width: 1400px;
    margin: 0 auto;
}

.kategori-card.hidden {
    display: none;
}

/* ========== FIX GRID TOUR KATEGORI ========== */
/* Default Mobile → 2 kolom */
.kategori-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    padding: 0 10px;
}

/* Tablet → 3 kolom */
@media (min-width: 768px) {
    .kategori-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop → 6 kolom */
@media (min-width: 1200px) {
    .kategori-grid {
        grid-template-columns: repeat(6, 1fr);
        max-width: 1400px;
        margin: 0 auto;
}
}

@media(max-width: 768px) {
    .section-container {
        max-width: calc(100% - 2rem);
    }
}

.tab-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 40px auto;
  max-width: 1200px;
}

.tab {
  background-color: #fff;
  border-radius: 12px;
  padding: 10px 20px;
  font-weight: 500;
  color: #013d47;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid #e6e6e6;
}

.tab:hover,
.tab.active {
  background-color: #013d47;
  color: #fff;
}

/* CARDS */

.popular-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 🟦 DESKTOP: 4 kolom */
  gap: 10px;
  padding: 20px;
}
@media (max-width: 1024px) {
  .popular-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .popular-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trip-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: 0.25s;
  cursor: pointer;
  height: 100%;                    /* biar sama tinggi */
  display: flex;
  flex-direction: column;
  position: relative;   /* wajib */
  justify-content: space-between; /* penting */

}

.trip-card img {
  width: 100%;
  height: 220px;              /* 🔥 Tinggi gambar dipendekkan */
  object-fit: cover;
}

.trip-footer {
    padding: 0 20px 20px; /* Atur padding bawah dan samping */
}

/* Badge Harga di atas gambar */
.trip-price {
     position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    color: #222;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
}

.trip-body {
  padding: 12px 16px 16px !important; /* lebih rapat */
}

.trip-location {
  font-size: 13px;
  color: #666;
}

/* Tombol */

.trip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* SLIDER */
.card-slider {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-slider img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.slider-dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.slider-dots span {
  width: 9px;
  height: 9px;
  background: #ffffffa9;
  border-radius: 50%;
}

.slider-dots .active {
  background: #0a7cff;
}

/* CONTENT */
.trip-body {
  padding: 10px 20px 22px;
}

.badge-box {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
  margin-top: 12px;
  
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    background: #e8f0ff;
    color: #3366ff;
    border-radius: 8px;
    font-size: 12px;
    margin-right: 4px;
    margin-left: 4px;
}

.badge-minpesan {
  background: #ffe9e9;
  color: #b91c1c;
}

/* Judul rata kiri */
.trip-title {
    font-size: 18px;
    font-weight: 700;
    margin: 6px 0 6px 0;
    color: #013b39;
    text-align: left;
    margin-right: 1rem;
    margin-left: 1rem;
}

/* Deskripsi singkat */
.trip-desc {
    font-size: 14px;
    color: #5a5a5a;
    margin-bottom: 12px;
    margin-left: 4px;
    line-height: 1.4;
    text-align: left;
    margin-right: 1rem;
    margin-left: 1rem;
}


.trip-location {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.price-text {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.btn-view {
  display: inline-block;
  background: #0a74ff;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: .2s;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
}

.btn-view:hover {
  background: #005bd1;
}

.trip-category, .story-grid, .destination-grid, .activity-grid, .testimonial-section, .blog-grid {
    display: grid;
    gap: 1rem;
    padding: 2rem;
}
.layanan h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.layanan p {
  margin-bottom: 30px;
  color: #555;
}

.card {
  background-color: #fff;
  text-align: center;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255, 175, 175, 0.05);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

@media (max-width: 992px) {
  .trip-category {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .trip-category {
    grid-template-columns: 1fr 1fr;
  }

  .card {
    padding: 1rem;
    font-size: 0.95rem;
  }
}


 @media (max-width: 576px) {
  .trip-desc {
    display: none;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
  }

  .trip-title {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .trip-info {
    padding: 12px;
  }

  .trip-card {
    border-radius: 14px;
  }
  }


.card img {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  height: 180px;
  object-fit: cover;
}

.trip-category {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem;
}
.category-card, .story-card, .destination-card, .activity-card, .blog-card {
    background: white;
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.category-card:hover, .story-card:hover, .destination-card:hover,  .activity-card:hover, .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.destination-container {
  display: flex;
  gap: 15px;
  width: 90%;
  max-width: 1250px;
  margin: 0 auto;
}

/* CLEAR BUTTON */
.clear-btn {
  margin-left: 10px;
  padding: 6px 12px;
  background: #ddd;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.clear-btn:hover {
  background: #ccc;
}

/* FOOTER */
footer {
    background:#0b5b5b;
    color: rgb(243, 242, 245);
    padding: 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: #f0af1d;
    text-decoration: none;
}

/* RESPONSIVE MENU */
@media(max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 60px;
        right: 0;
        padding: 2rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
        animation: fadeSlide 0.3s ease forwards;
    }
    nav ul.show {
        display: flex;
    }
   .menu-toggle {
        position: absolute;
        display:block;
        right: 1rem;  /* geser sampai pinggir */
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.8rem;
        cursor: pointer;
        user-select: none;
        transition: 0.3s ease;
    }
/* ANIMASI */
    @keyframes fadeSlide {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

@media (max-width: 768px) {
    header {
        padding-left: 5px !important;
    }

    .logo {
        margin-left: 5px !important;
        padding-left: 5px !important;
    }

    .logo img {
        display: block;
        margin-left: 5px !important;
    }
}

.card-opentrip .tanggal {
    font-size: 13px;
    color: #03359a; /* abu lembut */
    margin-top: -2px;
    margin-bottom: 10px;
}

.tanggal {
    font-size: 13px;
    color: #0b64e1; /* abu gelap */
    margin: 4px 0 12px;
}

/* Tanggal */
.trip-date {
    font-size: 14px;
    color: #1e0488;
    margin-bottom: 16px;
}