/* ============================================================
   MTR CUSTOM THEME — Premium Travel UI Override
   Color palette: Deep Navy + Vibrant Coral-Red + Warm Gold
   Fonts: Syne (headings) + Outfit (body) + Dancing Script (accent)
   ============================================================ */

/* ---------- Google Fonts preloaded via front.blade.php ---------- */

/* ---------- CSS Variable overrides ---------- */
:root {
  /* Fonts */
  --trevlo-font:          'Outfit', sans-serif;
  --trevlo-font2:         'Syne', sans-serif;
  --trevlo-special-font:  'Dancing Script', cursive;

  /* Brand palette */
  --trevlo-base:          #E8263A;          /* vibrant coral-red */
  --trevlo-base-rgb:      232, 38, 58;
  --trevlo-base-dark:     #C41E30;          /* hover / pressed */
  --mtr-navy:             #0D1F3C;          /* deep midnight navy */
  --mtr-navy-rgb:         13, 31, 60;
  --mtr-gold:             #F5A623;          /* warm gold accent */
  --mtr-gold-rgb:         245, 166, 35;

  /* Neutrals */
  --trevlo-black:         #111827;
  --trevlo-black-rgb:     17, 24, 39;
  --trevlo-black2:        #0D1F3C;
  --trevlo-black2-rgb:    13, 31, 60;
  --trevlo-secondary:     #374151;
  --trevlo-secondary-rgb: 55, 65, 81;
  --trevlo-gray:          #6B7280;
  --trevlo-gray-rgb:      107, 114, 128;
  --trevlo-gray2:         #9CA3AF;
  --trevlo-white2:        #F0F4FF;
  --trevlo-white4:        #F8FAFC;
  --trevlo-border-color:  #E5E7EB;

  /* Spacing & radius */
  --mtr-radius-sm:  6px;
  --mtr-radius:     12px;
  --mtr-radius-lg:  20px;

  /* Shadow */
  --mtr-shadow-sm:  0 2px 8px rgba(13,31,60,.08);
  --mtr-shadow:     0 6px 24px rgba(13,31,60,.12);
  --mtr-shadow-lg:  0 16px 48px rgba(13,31,60,.18);
}

/* ---------- Base typography ---------- */
body {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--trevlo-secondary);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.main-slider-one__title,
.section-title__title,
.trevlo-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--trevlo-black);
}

p { font-family: 'Outfit', sans-serif; line-height: 1.75; }

/* Cursive / special labels */
.main-slider-one__sub-title,
.section-title__tagline,
.trevlo-tagline,
[class*="__sub-title"],
[class*="__tagline"] {
  font-family: 'Dancing Script', cursive;
  font-size: 1.15em;
  letter-spacing: 0.02em;
}

/* ---------- HEADER ---------- */

/* ── Header ── */
.main-header,
.main-header.sticky-header,
.sticky-header--cloned {
  background: #ffffff !important;
  box-shadow: 0 2px 16px rgba(13,31,60,.08) !important;
  border-bottom: 1px solid rgba(229,231,235,.5) !important;
}

/* ── Header Right: full red strip from content to viewport edge ── */
.main-header::after,
.main-header.sticky-header::after,
.sticky-header--cloned::after {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  top: 0 !important; right: 0 !important;
  width: 400px !important;
  height: 100% !important;
  background: #E8263A !important;
  z-index: 0 !important;
}

/* Right section — fixed 400px, centred content, sits above red strip */
.main-header__right {
  position: relative !important;
  z-index: 2 !important;
  background: transparent !important;
  width: 400px !important;
  min-width: 400px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  gap: 14px !important;
  padding: 0 !important;
  margin-right: -24px !important;
}

/* Search icon — white */
.main-header__search,
.main-header__right .icon-search {
  color: #ffffff !important;
  font-size: 20px !important;
  line-height: 1 !important;
  transition: opacity .2s !important;
}
.main-header__search:hover { opacity: .75 !important; }

/* Search-user list — flex row, centred */
.main-header__search-user {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Divider line between search icon and buttons */
.main-header__search-user-item:first-child {
  padding-right: 4px;
  border-right: 1.5px solid rgba(255,255,255,.35);
  margin-right: 4px;
}

/* Logged-in user — white text */
.main-header__user,
.main-header__right [data-bs-toggle="dropdown"] {
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.main-header__user:hover { opacity: .8 !important; }

/* Reset theme's full-width container override to a centred layout */
.main-header .container {
  max-width: 1320px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  width: 100% !important;
}

/* ── Inner flex layout — 2× height ── */
.main-header__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px;
  min-height: 104px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
@media (max-width: 1199px) {
  .main-header__inner {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    min-height: 80px !important;
  }
}

/* Logo — reduce huge margin so nav + auth have room */
.main-header__logo {
  margin-right: 32px !important;
  flex-shrink: 0;
}
@media (max-width: 1399px) { .main-header__logo { margin-right: 20px !important; } }
@media (max-width: 1199px) { .main-header__logo { margin-right: 0   !important; } }

/* Left: logo + nav side by side — flex-shrink:0 stops nav from getting crushed */
.main-header__left {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0;
  overflow: visible !important;
}

/* Right: search + auth — pushed to far right naturally by space-between */
.main-header__right {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0;
  gap: 8px;
  margin-left: auto;
}

/* ── Nav menu ── */
.main-menu,
.main-header__nav {
  overflow: visible !important;
}

.main-menu .main-menu__list {
  display: none;
  flex-wrap: nowrap !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
@media (min-width: 1200px) {
  .main-menu .main-menu__list { display: flex !important; }
}

/* Remove excess vertical padding on li */
.main-menu .main-menu__list > li {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

/* Item gap */
.main-menu .main-menu__list > li + li { margin-left: 48px !important; }
@media (max-width: 1399px) { .main-menu .main-menu__list > li + li { margin-left: 36px !important; } }
@media (max-width: 1299px) { .main-menu .main-menu__list > li + li { margin-left: 24px !important; } }

/* Nav link — icon above text (MakeMyTrip-style) */
.main-menu .main-menu__list > li > a,
.main-menu__list > li > a {
  font-family: 'Outfit', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  color: var(--mtr-navy) !important;
  white-space: nowrap !important;
  padding: 6px 0 !important;
  line-height: 1.3 !important;
  position: relative;
  transition: color .25s !important;
  text-decoration: none !important;
  /* Stack icon above text */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 5px !important;
  text-align: center !important;
}

/* Icon inside nav link */
.main-menu .main-menu__list > li > a i,
.main-menu__list > li > a i {
  font-size: 22px !important;
  line-height: 1 !important;
  display: block !important;
  color: inherit !important;
  transition: color .25s, transform .2s !important;
}
.main-menu .main-menu__list > li:hover > a i,
.main-menu .main-menu__list > li.current > a i {
  transform: translateY(-2px);
}

/* Text label inside nav link */
.main-menu .main-menu__list > li > a span,
.main-menu__list > li > a span {
  display: block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  line-height: 1.2 !important;
}

/* Red underline on hover / active — placed at bottom of flex link */
.main-menu .main-menu__list > li > a::after,
.main-menu__list > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2.5px;
  background: var(--trevlo-base);
  border-radius: 2px;
  transition: width .3s ease;
}
.main-menu .main-menu__list > li:hover > a,
.main-menu .main-menu__list > li.current > a,
.main-menu__list > li:hover > a,
.main-menu__list > li.current > a {
  color: var(--trevlo-base) !important;
  font-weight: 600 !important;
}
.main-menu .main-menu__list > li:hover > a::after,
.main-menu .main-menu__list > li.current > a::after,
.main-menu__list > li:hover > a::after,
.main-menu__list > li.current > a::after { width: 80%; }

/* ── Search + auth icons ── */
.main-header__search-user {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.main-header__search-user-item {
  display: flex !important;
  align-items: center !important;
}

/* Icons: theme colours them white (for removed red bg) — force dark */
.main-header__search,
.main-header__user {
  color: var(--mtr-navy) !important;
  font-size: 18px !important;
  transition: color .25s !important;
}
.main-header__search:hover,
.main-header__user:hover { color: var(--trevlo-base) !important; }

/* Hide unused elements */
.main-header__divider { display: none !important; }

/* ---------- SLIDER ---------- */
.main-slider-one__content {
  padding: 0 0 60px;
}

.main-slider-one__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
  margin-bottom: 20px;
}

.main-slider-one__sub-title {
  font-size: 1.3rem;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
  margin-bottom: 10px;
}

/* ---------- BUTTONS ---------- */
.trevlo-btn,
.trevlo-btn--base {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--mtr-radius) !important;
  padding: 13px 32px !important;
  transition: all .3s cubic-bezier(.4,0,.2,1) !important;
}

.trevlo-btn--base,
a.trevlo-btn--base {
  background: linear-gradient(135deg, var(--trevlo-base) 0%, #C41E30 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(232,38,58,.35);
}

.trevlo-btn--base:hover,
a.trevlo-btn--base:hover {
  background: linear-gradient(135deg, #C41E30 0%, #a2161f 100%) !important;
  box-shadow: 0 6px 24px rgba(232,38,58,.5);
  transform: translateY(-2px);
}

/* ---------- CARDS ---------- */
.destination-one__card,
.package-card,
.blog-card,
.tour-card,
[class*="__item"],
[class*="-card"] {
  border-radius: var(--mtr-radius) !important;
  overflow: hidden;
  box-shadow: var(--mtr-shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  background: #fff;
}

[class*="__item"]:hover,
[class*="-card"]:hover {
  transform: translateY(-6px);
  box-shadow: var(--mtr-shadow-lg);
}

/* ---------- SECTION TITLES ---------- */
.section-title__title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-title__tagline {
  color: var(--trevlo-base);
  font-size: 1.2rem;
}

/* ---------- SEARCH / BANNER FORM ---------- */
.banner-form__wrapper {
  border-radius: var(--mtr-radius-lg) !important;
  box-shadow: var(--mtr-shadow-lg) !important;
  background: rgba(255,255,255,.98) !important;
  backdrop-filter: blur(8px);
}

.banner-form__control label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--trevlo-gray);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--mtr-navy) !important;
  color: rgba(255,255,255,.75);
}

.site-footer__title,
.footer-widget__title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.site-footer a:hover { color: var(--mtr-gold) !important; }

/* Footer social icons */
.social-link a,
[class*="social"] a {
  transition: color .25s, transform .25s;
}
[class*="social"] a:hover { color: var(--mtr-gold) !important; transform: scale(1.15); }

/* ---------- BADGES & TAGS ---------- */
.destination-one__badge,
[class*="__badge"],
[class*="__tag"] {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 20px;
  padding: 3px 12px;
}

/* ---------- NAV DROPDOWN ---------- */
.main-menu__list .sub-menu {
  border-radius: var(--mtr-radius) !important;
  box-shadow: var(--mtr-shadow) !important;
  border: 1px solid var(--trevlo-border-color) !important;
  padding: 8px 0 !important;
}

.main-menu__list .sub-menu li a {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  padding: 8px 20px !important;
  transition: background .2s, color .2s;
}

.main-menu__list .sub-menu li a:hover {
  background: var(--trevlo-white2) !important;
  color: var(--trevlo-base) !important;
}

/* ---------- MOBILE NAV ---------- */
.mobile-nav__content {
  background: var(--mtr-navy) !important;
}
.mobile-nav__top-text,
.mobile-nav__main-menu li a {
  font-family: 'Outfit', sans-serif;
}

/* ---------- PRELOADER ---------- */
.preloader {
  background: var(--mtr-navy);
}

/* ---------- BREADCRUMB ---------- */
.page-header {
  background: linear-gradient(135deg, var(--mtr-navy) 0%, #1a3a5c 100%);
}

.thm-breadcrumb li,
.thm-breadcrumb a {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
}

/* ---------- INPUTS & FORMS ---------- */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
textarea,
select,
.form-control {
  font-family: 'Outfit', sans-serif !important;
  border-radius: var(--mtr-radius-sm) !important;
  border-color: var(--trevlo-border-color) !important;
  transition: border-color .25s, box-shadow .25s !important;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
  border-color: var(--trevlo-base) !important;
  box-shadow: 0 0 0 3px rgba(232,38,58,.12) !important;
  outline: none !important;
}

/* ---------- PAGINATION ---------- */
.post-pagination a,
.post-pagination span {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  border-radius: var(--mtr-radius-sm) !important;
}

/* ---------- RATING STARS ---------- */
.destination-one__stars i,
[class*="__stars"] i {
  color: var(--mtr-gold);
}

/* ---------- PRICE / HIGHLIGHT TEXT ---------- */
[class*="__price"],
[class*="__amount"] {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--trevlo-base);
}

/* ---------- SCROLLBAR (webkit) ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--trevlo-base); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--trevlo-base-dark); }

/* ---------- SELECTION ---------- */
::selection { background: rgba(232,38,58,.18); color: var(--trevlo-black); }

/* ---------- SMOOTH SCROLL ---------- */
html { scroll-behavior: smooth; }

/* ---------- CURSOR — use normal browser pointer ---------- */
*, *::before, *::after { cursor: auto !important; }
a, button, [role="button"], label, select,
input[type="submit"], input[type="button"] { cursor: pointer !important; }
.custom-cursor__cursor,
.custom-cursor__cursor-two { display: none !important; }

/* ── Tighten gap: search bar → first homepage section ── */
.mtr-packages-section { padding-top: 32px !important; }

/* ============================================================
   MODERN SEARCH BAR
   ============================================================ */

.mtr-search-section {
  background: #f4f7fb;
  padding: 0 0 16px;
  position: relative;
  z-index: 10;
  margin-top: -2px;
}

.mtr-search-card {
  background: #ffffff;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 12px 48px rgba(13,31,60,.14);
  overflow: hidden;
}

/* ── Tabs ── */
.mtr-search-tabs {
  display: flex;
  background: #f8faff;
  border-bottom: 1.5px solid #e8ecf3;
  padding: 0 28px;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.mtr-search-tabs::-webkit-scrollbar { display: none; }

.mtr-stab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 22px 12px;
  border: none;
  background: none;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6b7280;
  border-bottom: 3px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.mtr-stab i {
  font-size: 19px;
  line-height: 1;
  transition: transform .2s ease;
}
.mtr-stab:hover { color: var(--trevlo-base); }
.mtr-stab:hover i { transform: translateY(-2px); }
.mtr-stab.active {
  color: var(--trevlo-base);
  border-bottom-color: var(--trevlo-base);
  background: rgba(232,38,58,.04);
}

/* ── Tab panes ── */
.mtr-tab-pane { display: none; padding: 24px 28px; }
.mtr-tab-pane.active { display: block; }

/* ── Search form (Holidays) ── */
.mtr-search-form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.mtr-sf-group {
  flex: 1 1 130px;
  min-width: 130px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mtr-sf-group.mtr-sf-wide { flex: 1.6 1 180px; }
.mtr-sf-group.mtr-guests-group { flex: 0 0 170px; }

.mtr-sf-group > label {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #9ca3af;
  margin-bottom: 0;
}
.mtr-sf-group > label i { color: var(--trevlo-base); margin-right: 3px; }

.mtr-sf-input {
  width: 100%;
  height: 46px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 0 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--mtr-navy);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.mtr-sf-input:focus {
  outline: none;
  border-color: var(--trevlo-base);
  box-shadow: 0 0 0 3px rgba(232,38,58,.1);
}

/* Guests ± control */
.mtr-guests-ctrl {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  height: 46px;
}
.mtr-qty-btn {
  width: 36px;
  height: 46px;
  border: none;
  background: #f8faff;
  color: var(--mtr-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  transition: background .15s;
}
.mtr-qty-btn:hover { background: #f0f4ff; color: var(--trevlo-base); }
.mtr-guests-input {
  border: none !important;
  border-radius: 0 !important;
  text-align: center !important;
  font-weight: 700 !important;
  color: var(--mtr-navy) !important;
  box-shadow: none !important;
  flex: 1;
  padding: 0 4px !important;
  min-width: 0;
}

/* Submit button */
.mtr-sf-submit {
  flex-shrink: 0;
  align-self: flex-end;
}
.mtr-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 28px;
  background: linear-gradient(135deg, var(--trevlo-base) 0%, #C41E30 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all .25s;
  box-shadow: 0 4px 16px rgba(232,38,58,.35);
}
.mtr-search-btn:hover {
  background: linear-gradient(135deg, #C41E30 0%, #a2161f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232,38,58,.45);
  color: #fff;
}

/* Coming soon placeholder */
.mtr-coming-soon {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 4px 0;
}
.mtr-cs-icon {
  font-size: 36px;
  color: var(--trevlo-base);
  opacity: .4;
  flex-shrink: 0;
}
.mtr-cs-title {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--mtr-navy);
  margin: 0 0 2px;
}
.mtr-cs-sub {
  font-size: 13px;
  color: #9ca3af;
  margin: 0;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .mtr-search-form { flex-direction: column; gap: 10px; }
  .mtr-sf-group,
  .mtr-sf-group.mtr-sf-wide,
  .mtr-sf-group.mtr-guests-group,
  .mtr-sf-submit { flex: 1 1 100%; min-width: 0; }
  .mtr-search-btn { width: 100%; justify-content: center; }
  .mtr-search-tabs { padding: 0 8px; }
  .mtr-stab { padding: 12px 14px 10px; font-size: 10px; }
  .mtr-tab-pane { padding: 18px 16px; }
}
