/* ============================================================
   MONTRAVEL-UI.CSS — Core UI: variables, header, footer, utils
   Chuyên gia Du lịch Doanh nghiệp & Nội địa/Quốc tế
   v1.0.0
   ============================================================ */

/* ── 1. RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1A1A2E;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── 2. CSS VARIABLES ────────────────────────────────────── */
:root {
  /* Brand */
  --mt-navy:        #0A2342;   /* Navy chính */
  --mt-navy-dark:   #061629;   /* Navy đậm */
  --mt-blue:        #1B6CA8;   /* Xanh biển chính */
  --mt-blue-mid:    #1558A0;   /* Hover */
  --mt-sky:         #4FC3F7;   /* Sky accent */
  --mt-gold:        #E8A020;   /* Gold accent */
  --mt-gold-dark:   #C4850F;   /* Gold hover */
  --mt-coral:       #FF6B6B;   /* Accent đỏ */

  /* Neutral */
  --mt-gray-50:     #F8FAFC;
  --mt-gray-100:    #F1F5F9;
  --mt-gray-200:    #E2E8F0;
  --mt-gray-500:    #64748B;
  --mt-gray-700:    #334155;
  --mt-gray-900:    #0F172A;

  /* Typography */
  --mt-font-display: 'Cormorant Garamond', 'Fraunces', serif;
  --mt-font-body:    'Plus Jakarta Sans', sans-serif;

  /* Layout */
  --mt-container:   1240px;
  --mt-header-h:    72px;
  --mt-radius:      12px;
  --mt-radius-lg:   20px;

  /* Shadows */
  --mt-shadow-sm:   0 2px 8px rgba(10,35,66,.08);
  --mt-shadow-md:   0 8px 32px rgba(10,35,66,.12);
  --mt-shadow-lg:   0 20px 60px rgba(10,35,66,.18);
}

/* ── 3. UTILITIES ────────────────────────────────────────── */
.mt-container {
  max-width: var(--mt-container);
  margin: 0 auto;
  padding: 0 24px;
}
.mt-section {
  padding: 80px 0;
}
.mt-section-sm {
  padding: 56px 0;
}
.mt-section-title {
  font-family: var(--mt-font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--mt-navy);
  line-height: 1.2;
}
.mt-section-sub {
  font-size: 16px;
  color: var(--mt-gray-500);
  margin-top: 10px;
  max-width: 540px;
}
.mt-section-head {
  margin-bottom: 48px;
}
.mt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(27,108,168,.1);
  color: var(--mt-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* Buttons */
.mt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: var(--mt-font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .25s;
  white-space: nowrap;
}
.mt-btn-primary {
  background: var(--mt-blue);
  color: #fff;
}
.mt-btn-primary:hover {
  background: var(--mt-blue-mid);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(27,108,168,.35);
}
.mt-btn-gold {
  background: var(--mt-gold);
  color: #fff;
}
.mt-btn-gold:hover {
  background: var(--mt-gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232,160,32,.4);
}
.mt-btn-outline {
  background: transparent;
  color: var(--mt-blue);
  border: 2px solid var(--mt-blue);
}
.mt-btn-outline:hover {
  background: var(--mt-blue);
  color: #fff;
}
.mt-btn-white {
  background: #fff;
  color: var(--mt-navy);
}
.mt-btn-white:hover {
  background: var(--mt-gray-100);
}

/* ── 4. HEADER ───────────────────────────────────────────── */
.mt-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--mt-header-h);
  background: rgba(10,35,66,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9000;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s, box-shadow .3s;
}
.mt-header.scrolled {
  background: rgba(6,22,41,.98);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.mt-nav-inner {
  max-width: var(--mt-container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--mt-header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.mt-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.mt-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--mt-blue), var(--mt-sky));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.mt-logo-text {
  font-family: var(--mt-font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}
.mt-logo-text span { color: var(--mt-gold); }

/* Nav links */
.mt-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.mt-nav-links a {
  color: rgba(255,255,255,.8);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .2s;
  white-space: nowrap;
}
.mt-nav-links a:hover,
.mt-nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}

/* Dropdown */
.mt-nav-dropdown {
  position: relative;
}
.mt-nav-dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
  opacity: .6;
}
.mt-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: var(--mt-radius);
  box-shadow: var(--mt-shadow-lg);
  padding: 8px;
  border: 1px solid var(--mt-gray-200);
}
.mt-nav-dropdown:hover .mt-dropdown-menu { display: block; }
.mt-dropdown-menu a {
  display: block;
  color: var(--mt-gray-700) !important;
  background: transparent !important;
  padding: 9px 14px !important;
  font-size: 14px !important;
  border-radius: 8px;
  transition: background .15s !important;
}
.mt-dropdown-menu a:hover {
  background: var(--mt-gray-100) !important;
  color: var(--mt-navy) !important;
}

/* CTA area */
.mt-nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.mt-btn-hotline {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--mt-gold) !important;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 14px;
  border: 1.5px solid rgba(232,160,32,.4);
  border-radius: 100px;
  transition: all .2s;
}
.mt-btn-hotline:hover {
  background: rgba(232,160,32,.12);
  border-color: var(--mt-gold);
}
.mt-header-cta {
  background: var(--mt-gold);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.mt-header-cta:hover {
  background: var(--mt-gold-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.mt-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.mt-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile Menu */
.mt-mobile-menu {
  display: none !important;
  position: fixed !important;
  top: var(--mt-header-h) !important;
  left: 0; right: 0;
  background: var(--mt-navy-dark);
  z-index: 8999;
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  max-height: calc(100vh - var(--mt-header-h));
  overflow-y: auto;
}
.mt-mobile-menu.open {
  display: block !important;
}
.mt-mobile-menu a {
  display: block;
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 16px;
  border-radius: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .2s;
}
.mt-mobile-menu a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.mt-mobile-menu .mt-mobile-cta {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.mt-mobile-menu .mt-mobile-cta a {
  flex: 1;
  text-align: center;
  border: none;
  padding: 12px 16px;
  background: var(--mt-gold);
  color: #fff !important;
  border-radius: 100px;
  font-weight: 700;
}

/* ── 5. FLOATING BUTTONS ─────────────────────────────────── */
.mt-float-wrap {
  position: fixed;
  right: 20px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 7000;
}
.mt-float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  box-shadow: var(--mt-shadow-md);
  transition: transform .2s;
  text-decoration: none;
  border: none;
}
.mt-float-btn:hover { transform: scale(1.12); }
.mt-float-zalo {
  background: linear-gradient(135deg, #006AF5, #00BFFF);
}
.mt-float-phone {
  background: linear-gradient(135deg, #00C853, #00E676);
  animation: mt-pulse 2.5s ease-in-out infinite;
}
.mt-float-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mt-navy);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 7000;
  box-shadow: var(--mt-shadow-md);
  border: none;
  transition: background .2s;
}
.mt-float-top.visible { display: flex; }
.mt-float-top:hover { background: var(--mt-blue); }

@keyframes mt-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,200,83,.4); }
  50%       { box-shadow: 0 0 0 12px rgba(0,200,83,0); }
}

/* ── 6. FOOTER ───────────────────────────────────────────── */
#mt-footer {
  background: var(--mt-navy-dark);
  color: #fff;
}

/* Footer Topbar */
.mt-footer-topbar {
  background: var(--mt-navy);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
}
.mt-footer-topbar-inner {
  max-width: var(--mt-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.mt-footer-topbar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mt-footer-topbar-icon {
  width: 40px;
  height: 40px;
  background: rgba(79,195,247,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.mt-footer-topbar-label {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.mt-footer-topbar-value {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-top: 2px;
}
.mt-footer-topbar-value a {
  color: var(--mt-sky);
  text-decoration: none;
}

/* Footer Main Grid */
.mt-footer-main {
  padding: 56px 0 40px;
}
.mt-footer-grid {
  max-width: var(--mt-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1fr 1fr !important;
  gap: 40px;
}

/* Footer Brand */
.mt-footer-brand-logo {
  font-family: var(--mt-font-display);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.mt-footer-brand-logo span { color: var(--mt-gold); }
.mt-footer-brand-desc {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 20px;
}
.mt-footer-socials {
  display: flex;
  gap: 10px;
}
.mt-footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,.7);
  transition: all .2s;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.1);
}
.mt-footer-social-btn:hover {
  background: var(--mt-blue);
  color: #fff;
  border-color: var(--mt-blue);
}

/* Footer Col */
.mt-footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.9);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mt-footer-col ul { list-style: none; }
.mt-footer-col ul li {
  margin-bottom: 8px;
}
.mt-footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mt-footer-col ul li a::before {
  content: '›';
  color: var(--mt-sky);
  font-size: 16px;
  font-weight: 700;
}
.mt-footer-col ul li a:hover { color: #fff; }

/* Footer Bottom */
.mt-footer-bottom-bar {
  background: rgba(0,0,0,.3);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 16px 24px;
}
.mt-footer-bottom-inner {
  max-width: var(--mt-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.mt-footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.35);
}
.mt-footer-legal {
  display: flex;
  gap: 20px;
}
.mt-footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  transition: color .2s;
}
.mt-footer-legal a:hover { color: rgba(255,255,255,.7); }

/* Mobile Footer */
.mt-footer-mobile { display: none; padding: 32px 20px 24px; }
.mt-footer-mobile-logo {
  font-family: var(--mt-font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.mt-footer-mobile-logo span { color: var(--mt-gold); }
.mt-footer-mobile-desc {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  line-height: 1.6;
}
.mt-footer-mobile-contacts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.mt-footer-mobile-contacts a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
}
.mt-footer-mobile-contacts a span:first-child {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.mt-footer-mobile-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 20px;
}
.mt-footer-mobile-links a {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mt-footer-mobile-copy {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  color: rgba(255,255,255,.3);
}

/* ── 7. BREADCRUMB ───────────────────────────────────────── */
.mt-breadcrumb {
  background: var(--mt-gray-50);
  border-bottom: 1px solid var(--mt-gray-200);
  padding: 12px 0;
}
.mt-breadcrumb-inner {
  max-width: var(--mt-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mt-gray-500);
}
.mt-breadcrumb-inner a {
  color: var(--mt-blue);
  transition: color .2s;
}
.mt-breadcrumb-inner a:hover { color: var(--mt-navy); }
.mt-breadcrumb-sep { color: var(--mt-gray-200); }

/* ── 8. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .mt-nav-links { gap: 0; }
  .mt-nav-links a { font-size: 13px; padding: 8px 10px; }
  .mt-footer-topbar-inner { grid-template-columns: repeat(2, 1fr); }
  .mt-footer-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 768px) {
  :root { --mt-header-h: 64px; }
  .mt-nav-links { display: none; }
  .mt-nav-cta { display: none; }
  .mt-hamburger { display: flex; }
  .mt-section { padding: 56px 0; }
  .mt-float-wrap { right: 14px; bottom: 80px; }
  .mt-float-btn { width: 46px; height: 46px; font-size: 18px; }
  .mt-float-top { right: 14px; bottom: 18px; }
}

@media (max-width: 480px) {
  .mt-container { padding: 0 16px; }
  .mt-section-title { font-size: 26px; }
}
