:root{ --primary-brand:#06c290; --primary-contrast:#fff; }
.text-primary-brand{ color:var(--primary-brand)!important }
.bg-primary-brand{ background:var(--primary-brand)!important }
.btn-brand{ background:var(--primary-brand); color:var(--primary-contrast); border:none }
.btn-brand:hover{ filter:brightness(0.95); color:var(--primary-contrast) }
.hero{ background:linear-gradient(180deg, rgba(6,194,144,0.12), rgba(6,194,144,0)); padding:3rem 0; border-bottom:1px solid #eee }
.card-program .badge-cat{ background:var(--primary-brand) }
.price-badge{ background:#fff; color:#198754; border:1px solid #198754; font-weight:600; }

/* DataTables filter header styling */
table.dataTable thead.dt-filters th { padding: .3rem .5rem; }
table.dataTable thead.dt-filters input { width: 100%; }

/* Drag & drop categories */
.cat-tree{ list-style:none; padding-left:0; }
.cat-item{ margin:.35rem 0; }
.cat-row{ display:flex; align-items:center; gap:.5rem; padding:.5rem .6rem; border:1px solid #e6e6e6; border-radius:.75rem; background:#fff; }
.cat-handle{ cursor:grab; user-select:none; font-size:1.1rem; }
.cat-row .meta{ margin-left:auto; display:flex; gap:.5rem; align-items:center; }
.cat-children{ list-style:none; margin:.35rem 0 .35rem 1.6rem; padding-left:0; }
.sortable-ghost{ opacity:.35 }
.sortable-chosen{ background:#f7f7f7 }

.badge-soft-danger{ background: rgba(220,53,69,.12); color:#dc3545; border:1px solid rgba(220,53,69,.25);} 
.badge-soft-success{ background: rgba(25,135,84,.12); color:#198754; border:1px solid rgba(25,135,84,.25);} 
/* ===== FRONT HOME (Mega Sale style) ===== */

.site-header .nav-link { font-weight: 500; }
.site-header .nav-pill{
  padding: .35rem .75rem;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background: rgba(6,194,144,.08);
}

.mega-hero{
  margin-top: .5rem;
}

.mega-hero__card{
  border-radius: 28px;
  padding: 3rem 1.25rem;
  background: radial-gradient(1200px 500px at 50% 0%, rgba(255,80,80,.12), transparent 55%),
              radial-gradient(1200px 500px at 0% 40%, rgba(6,194,144,.10), transparent 55%),
              linear-gradient(180deg, rgba(250,250,252,1), rgba(255,255,255,1));
  border: 1px solid rgba(0,0,0,.06);
}

.countdown-pill{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: #ff3b3b;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
}

.mega-title{
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mega-subtitle{
  max-width: 760px;
  margin: .75rem auto 1.25rem auto;
  color: rgba(0,0,0,.68);
}

.mega-search{
  display:flex;
  align-items:center;
  gap:.75rem;
  padding: .55rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  max-width: 1140px;
  margin: 0 auto;
}

.mega-search__item{
  display:flex;
  align-items:center;
  gap:.5rem;
  flex:1;
  min-width: 0;
}

.mega-search__item i{ color: rgba(0,0,0,.5); }
.mega-search__item .form-control:focus{ box-shadow:none; }
.mega-search__divider{
  width:1px;
  height: 28px;
  background: rgba(0,0,0,.10);
}

.chips-row{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  align-items:center;
}

.chip{
  display:inline-flex;
  align-items:center;
  padding: .4rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  color:#111;
  text-decoration:none;
  font-weight:600;
  font-size:.875rem;
}

.chip.active{
  background: #111;
  color:#fff;
  border-color:#111;
}

.offer-card{
  border-radius: 16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  background:#fff;
  height:100%;
  position:relative;
}

.offer-card__media{
  position:relative;
  height: 160px;
  background:#f2f2f2;
}

.offer-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.offer-card__placeholder{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(0,0,0,.35);
  font-size: 2rem;
}

.offer-badge{
  position:absolute;
  top:10px;
  left:10px;
  padding:.25rem .55rem;
  border-radius: 999px;
  background:#ff3b3b;
  color:#fff;
  font-weight:800;
  font-size:.72rem;
}

.offer-like{
  position:absolute;
  top:10px;
  right:10px;
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.95);
  display:flex;
  align-items:center;
  justify-content:center;
}

.offer-like i{ color: rgba(0,0,0,.55); }
.offer-like:hover i{ color:#ff3b3b; }

.offer-card__body{
  padding: .85rem .9rem 1rem .9rem;
  position:relative;
}

.offer-meta{
  color: rgba(0,0,0,.58);
  font-size:.82rem;
  display:flex;
  align-items:center;
  gap:.35rem;
  margin-bottom: .35rem;
}

.offer-meta .dot{ margin: 0 .25rem; }

.offer-title{
  font-size: 1rem;
  font-weight: 750;
  margin: 0 0 .45rem 0;
  line-height: 1.25;
  min-height: 2.5em;
}

.offer-price{
  font-weight: 800;
  color:#111;
}

/* Mobile: stack search bar */
@media (max-width: 576px){
  .mega-search{
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .mega-search__divider{ display:none; }
}
.topbar {
  background: linear-gradient(90deg, #0b3a42, #0e5965);
  padding: 6px 0;
}

.topbar .top-link {
  color: #fff;
  text-decoration: none;
}

.topbar .top-link:hover {
  text-decoration: underline;
}

.logo-text {
  font-size: 38px;
  font-weight: 800;
}

.logo-green { color: #9acd32; }
.logo-orange { color: #f5a623; }

.logo-tagline {
  font-size: 12px;
  color: #9adbe8;
}

.main-header .nav-link {
  color: #0b3a42;
}

.main-header .nav-link:hover {
  color: #f5a623;
}

.phone-box {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #0b3a42;
  font-size: 20px;
}
/* ================= ITINERARY ACCORDION ================= */

.itinerary-accordion .accordion-item {
  border: none;
  border-left: 2px solid #e5e5e5;
  position: relative;
}
/*
.itinerary-accordion .accordion-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 22px;
  width: 10px;
  height: 10px;
  background: #111;
  border-radius: 50%;
}
*/
.itinerary-accordion .accordion-button {
  background: #fff;
  font-size: 15px;
  padding-left: 40px;
  box-shadow: none;
}

.itinerary-accordion .accordion-button:not(.collapsed) {
  background: #fff;
  color: #000;
}

.itinerary-accordion .accordion-button::after {
  background-size: 1.2rem;
}

.itinerary-dot {
  position: absolute;
  left: 18px;
  width: 10px;
  height: 10px;
  background: #111;
  border-radius: 50%;
}

.itinerary-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.accommodation-box {
  background: #f5f5f5;
  padding: 10px 12px;
  border-radius: 6px;
}
/* ================= PROGRAM IMAGE GALLERY ================= */

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}

.gallery-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
}

.gallery-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gallery-thumb {
  position: relative;
}

.gallery-thumb img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
}

.gallery-img {
  cursor: pointer;
}

.show-all-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  color: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
}

.show-all-overlay i {
  font-size: 28px;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-main img {
    height: 260px;
  }
}
.modal-thumb {
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: .7;
}

.modal-thumb:hover {
  opacity: 1;
}

.gallery-nav {
  position: absolute;
  top: 45%;
  background: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 26px;
  font-weight: bold;
}

.gallery-nav.prev {
  left: 15px;
}

.gallery-nav.next {
  right: 15px;
}
/* ================= PRICE STYLE (TRAVEL) ================= */

.price-box {
  text-align: right;
  line-height: 1.1;
}

.price-from {
  font-size: 12px;
  color: #e11c2a;
  font-weight: 600;
  margin-bottom: -2px;
}

.price-main {
  display: inline-flex;
  align-items: flex-start;
}

.price-value {
  font-size: 26px;
  font-weight: 800;
  color: #e11c2a;
  line-height: 1;
}
.price-value1 {
  font-size: 26px;
  font-weight: 800;
  color: #e11c2a;
  line-height: 1;
}

.price-currency {
  font-size: 16px;
  font-weight: 700;
  margin-left: 2px;
  margin-top: 2px;
  color: #e11c2a;
}

.price-meta {
  font-size: 12px;
  color: #7a7a7a;
  margin-top: 2px;
}
.offcanvas .accordion-button {
  background: #fff;
  font-weight: 600;
}

.offcanvas .accordion-button:not(.collapsed) {
  background: #f8f9fa;
}

.offcanvas .list-group-item a {
  text-decoration: none;
  color: #333;
}
.language-switcher a {
  text-decoration: none;
  font-weight: 600;
  margin: 0 4px;
}

.language-switcher a.active {
  text-decoration: underline;
}
/* ================= FRONT FOOTER ================= */

.front-footer {
  background: url('/assets/img/footer-bg.jpg') center center / cover no-repeat;
  color: #fff;
  position: relative;
}

.footer-overlay {
  background: linear-gradient(
    rgba(10, 35, 55, 0.85),
    rgba(10, 35, 55, 0.95)
  );
  padding: 60px 0 40px;
}

.footer-logo {
  font-size: 32px;
  font-weight: 800;
}

.logo-jektis {
  color: #3cb4f1;
}

.logo-travel {
  color: #9bd23c;
}

.footer-tagline {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 4px;
}

.footer-description {
  font-size: 15px;
  line-height: 1.6;
}

.footer-divider {
  border-color: rgba(255,255,255,0.6);
}

.footer-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
  font-size: 15px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}