:root {
  --primary: #0d6efd;
  --primary-dark: #0b5ed7;
  --secondary: #4f9cf9;
  --bg-light: #f8f9fa;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
  --text-dark: #0f172a;
  --text-muted: #6b7280;
}

body {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--text-dark);
  background: #fff;
}

a {
  color: inherit;
}

.header__bottom,
.header-top {
  transition: all 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", "Inter", sans-serif;
  letter-spacing: -0.02em;
}

.section-header .section-title {
  font-weight: 700;
}

.section-header p {
  color: var(--text-muted);
}

.btn--base {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
}

.btn--base:hover {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

.btn--cta {
  background: linear-gradient(135deg, #0d6efd 0%, #4f9cf9 100%);
  border: none;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.35);
}

.btn--cta:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn--danger,
.btn--danger:hover {
  background: #0d6efd !important;
  border-color: #0d6efd !important;
  color: #fff !important;
}

.btn--outline {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  color: #fff !important;
}

/* Header */
.header {
  position: relative;
  z-index: 999;
  transition: all 0.3s ease;
}

.header--transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.header--transparent .header__bottom {
  background: transparent !important;
  box-shadow: none !important;
}

.header--transparent .header-top {
  background: transparent !important;
}

.header--transparent .header-top-bar-area,
.header--transparent .header-top-bar-area * {
  color: #fff;
}

.header--transparent .header-top .social-icons a {
  background: rgba(255, 255, 255, 0.16);
}

.header--transparent .header-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header--transparent .main-menu li a,
.header--transparent .phone-number a,
.header--transparent .social-icons a {
  color: #fff;
}

.header--transparent .btn--base {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.header.is-sticky .header__bottom,
.header.is-sticky .header-top {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Neutralize built-in sticky behavior */
.header.menu-fixed {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  animation: none !important;
}

.header.menu-fixed .header__top,
.header.menu-fixed .header-top {
  display: block !important;
  background: transparent !important;
}

.header.menu-fixed .header__bottom {
  background: transparent !important;
  box-shadow: none !important;
}

.header.menu-fixed .main-menu li a,
.header.menu-fixed .phone-number a,
.header.menu-fixed .social-icons a {
  color: #fff !important;
}

.header .main-menu li a {
  padding: 12px 16px;
  color: #fff;
  font-weight: 500;
}

.header .main-menu li a:hover,
.header .main-menu li a.active {
  color: #fff;
}

.header .phone-number .contact-strip {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.header .phone-number .contact-strip:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.user-menu {
  position: relative;
  margin-left: 8px;
}

.contact-panel-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: 8px;
  margin-right: 8px;
}

.contact-panel-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  display: block;
}

.user-menu__toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.user-menu__list {
  position: absolute;
  right: 0;
  top: 48px;
  min-width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 10;
}

.user-menu__list li a {
  display: block;
  padding: 10px 16px;
  color: var(--text-dark);
}

.user-menu__list li a:hover {
  background: var(--bg-light);
}

.user-menu.open .user-menu__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header .custom--dropdown {
  display: inline-flex;
  align-items: center;
}

.header .custom--dropdown > .custom--dropdown__selected {
  color: #fff !important;
}

/* Contact panel */
.contact-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.contact-panel {
  position: fixed;
  right: 0;
  top: 0;
  width: 360px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  padding: 28px;
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.18);
  transform: translateX(100%);
  transition: all 0.3s ease;
  z-index: 1001;
}

.contact-panel.is-open {
  transform: translateX(0);
}

.contact-panel-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.contact-panel__close {
  position: absolute;
  right: 18px;
  top: 18px;
  border: 1px solid #e2e8f0;
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.contact-panel__logo img {
  max-height: 40px;
}

.contact-panel__item {
  margin-top: 24px;
}

.contact-panel__item h6 {
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-panel__item p,
.contact-panel__item a {
  color: var(--text-muted);
}

.contact-panel__social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  list-style: none;
  padding: 0;
}

.contact-panel__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0d6efd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contact-panel-open {
  overflow: hidden;
}

/* WhatsApp floating */
.whatsapp-chat {
  position: fixed;
  right: 22px;
  bottom: 90px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  z-index: 998;
}

.whatsapp-chat i {
  font-size: 24px;
}

.header .nav-right {
  gap: 10px;
}

/* Hero */
.hero.hero--premium {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 180px 0 140px;
  background-size: 110% 110%;
  background-position: center;
  animation: heroZoom 10s ease-in-out infinite;
}

.inner-hero,
.single-package-header {
  background-size: cover;
  background-position: center;
}

@keyframes heroZoom {
  0% {
    background-size: 108% 108%;
    background-position: center;
  }
  50% {
    background-size: 115% 115%;
    background-position: center;
  }
  100% {
    background-size: 108% 108%;
    background-position: center;
  }
}

.hero.hero--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.65) 0%, rgba(10, 15, 30, 0.25) 60%, rgba(10, 15, 30, 0.05) 100%);
}

.hero.hero--premium .container {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  line-height: 1.2;
  font-weight: 700;
}

.search-area--floating {
  margin-top: -70px;
  position: relative;
  z-index: 5;
}

.search-area--floating .container {
  padding-bottom: 10px;
}

.find-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.find-form__destination,
.find-form__duration,
.find-form__btn {
  flex: 1 1 220px;
}

.find-form__duration {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-light);
  border-radius: 12px;
  padding: 10px 14px;
}

.find-form label {
  font-weight: 600;
  color: var(--text-dark);
}

.find-form .form--control,
.find-form .select2-container--default .select2-selection--single {
  height: 48px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.find-form .select2-container {
  width: 100% !important;
}

.find-tabs.with-indicator .nav-link {
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

/* Tour/Seminar tabs contrast */
.find-tabs .nav-item .nav-link {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(10px);
}

.find-tabs .nav-item .nav-link p,
.find-tabs .nav-item .nav-link i {
  color: inherit !important;
}

.find-tabs .nav-item .nav-link.active {
  background: #0d6efd !important;
  color: #fff !important;
  border-color: #0d6efd !important;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.35);
}

/* Cards */
.trip-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trip-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.trip-card__thumb {
  position: relative;
  overflow: hidden;
}

.trip-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 100%);
  opacity: 0.9;
  pointer-events: none;
}

.trip-card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trip-card:hover .trip-card__image img {
  transform: scale(1.06);
}

.trip-card__price-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  color: var(--text-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.trip-card__price-badge .text {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.1;
}

.trip-card__rating {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.trip-card__rating .rating-stars i {
  color: #fbbf24;
}

.trip-card__content {
  padding: 18px 18px 22px;
}

.trip-card__meta li {
  gap: 8px;
}

.trip-card__capacity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Filter bar */
.filter-bar__form {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  background: #fff;
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  grid-column: span 3;
}

.filter-field--sm {
  grid-column: span 2;
}

.filter-field--action {
  grid-column: span 2;
  align-self: end;
}

.filter-bar__form label {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-muted);
}

.filter-bar__form .form--control,
.filter-bar__form .select2-container--default .select2-selection--multiple {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.filter-bar__form .select2-container {
  width: 100% !important;
}

@media (max-width: 1199px) {
  .filter-field {
    grid-column: span 4;
  }

  .filter-field--sm,
  .filter-field--action {
    grid-column: span 3;
  }
}

/* Blog cards */
.post-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

/* Testimonials */
.testimonial-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Footer */
.footer--modern .footer__top {
  padding-top: 70px;
}

.footer--modern .footer-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer--modern .footer-links,
.footer--modern .footer-contact,
.footer--modern .footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer--modern .footer-links li,
.footer--modern .footer-contact li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer--modern .footer-text {
  color: rgba(255, 255, 255, 0.85);
  max-width: 360px;
}

.footer--modern .footer-links li a,
.footer--modern .footer-contact li,
.footer--modern .footer-contact a {
  color: rgba(255, 255, 255, 0.8);
}

.footer--modern .footer-social {
  display: flex;
  gap: 10px;
}

.footer--modern .footer-social li a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
  .hero.hero--premium {
    padding: 120px 0 90px;
  }

  .search-area--floating {
    margin-top: -40px;
  }

  .find-form {
    flex-direction: column;
  }

  .find-form__duration {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .action-sidebar-open {
    display: none;
  }
}

@media (max-width: 575px) {
  .trip-card__image img {
    height: 200px;
  }
}
