/* ==========================================================================
   VIETNAM BOOKING TOUR - COMPLETE THEME STYLESHEET
   Self-contained, robust CSS supporting all utility classes and demo components
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&family=Prata&display=swap');

:root {
  --brand-blue: #0d47c8;
  --brand-blue-hover: #0b3eb0;
  --brand-blue-dark: #082f88;
  --brand-yellow: #ffc400;
  --brand-accent: #ff5722;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
}

/* CSS 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: 'Nunito', sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: 'Prata', 'Nunito', serif;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

button, [role="button"], input[type="submit"] {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  transition: all 0.2s ease;
}

input, select, textarea {
  font-family: inherit;
  font-size: 14px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container & Layout Utilities */
.max-w-7xl { max-width: 1280px; }
.max-w-5xl { max-width: 1024px; }
.max-w-4xl { max-width: 896px; }
.max-w-2xl { max-width: 672px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.grid { display: grid; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-50 { z-index: 50; }
.z-40 { z-index: 40; }
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.whitespace-nowrap { white-space: nowrap; }

/* Spacing */
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.pb-20 { padding-bottom: 5rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.space-y-10 > :not([hidden]) ~ :not([hidden]) { margin-top: 2.5rem; }
.space-y-16 > :not([hidden]) ~ :not([hidden]) { margin-top: 4rem; }

/* Colors & Backgrounds */
.bg-white { background-color: #ffffff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-950 { background-color: #020617; }
.bg-brand-50 { background-color: #f0f5ff; }
.bg-brand-500 { background-color: #0d47c8; }
.bg-brand-600 { background-color: #0b3eb0; }
.bg-brand-yellow { background-color: #ffc400; }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-emerald-500 { background-color: #10b981; }
.bg-rose-500 { background-color: #f43f5e; }
.text-white { color: #ffffff; }
.text-slate-900 { color: #0f172a; }
.text-slate-800 { color: #1e293b; }
.text-slate-700 { color: #334155; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-slate-400 { color: #94a3b8; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-200 { color: #e2e8f0; }
.text-brand-500 { color: #0d47c8; }
.text-brand-600 { color: #0b3eb0; }
.text-brand-yellow { color: #ffc400; }
.border { border: 1px solid #e2e8f0; }
.border-b { border-bottom: 1px solid #e2e8f0; }
.border-t { border-top: 1px solid #e2e8f0; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-800 { border-color: #1e293b; }
.border-slate-900 { border-color: #0f172a; }

/* Rounded Corners & Shadows */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-md { box-shadow: 0 6px 16px -2px rgba(13, 71, 200, 0.08); }
.shadow-lg { box-shadow: 0 10px 25px -3px rgba(13, 71, 200, 0.12); }
.shadow-xl { box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.12); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.15; }
.text-6xl { font-size: 3.75rem; line-height: 1.1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

/* Grid Responsive Breakpoints */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-5xl { font-size: 3rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-10 { padding: 2.5rem; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:text-6xl { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none !important; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:sticky { position: sticky; }
  .lg\:top-28 { top: 7rem; }
}

/* Aspect Ratios */
.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-\[16\/10\] { aspect-ratio: 16 / 10; }
.aspect-\[16\/11\] { aspect-ratio: 16 / 11; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Interactive Hover States */
.hover\:bg-brand-50:hover { background-color: #f0f5ff; }
.hover\:bg-brand-600:hover { background-color: #0b3eb0; }
.hover\:bg-slate-100:hover { background-color: #f1f5f9; }
.hover\:bg-slate-200:hover { background-color: #e2e8f0; }
.hover\:text-brand-500:hover { color: #0d47c8; }
.hover\:text-brand-600:hover { color: #0b3eb0; }
.hover\:text-brand-yellow:hover { color: #ffc400; }
.hover\:shadow-lg:hover { box-shadow: 0 10px 25px -3px rgba(13, 71, 200, 0.15); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.12); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-2px); }
.hover\:-translate-y-1:hover { transform: translateY(-4px); }
.hover\:-translate-y-1\.5:hover { transform: translateY(-6px); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 200ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 200ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* Group hover */
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-108 { transform: scale(1.08); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:text-brand-500 { color: #0d47c8; }
.group:hover .group-hover\:rotate-180 { transform: rotate(180deg); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(4px); }

/* Navigation Dropdown Hover */
.group:hover > div.hidden { display: block !important; }

/* Pagination contract according to pagination.md */
.pagination-wrap { width: 100%; margin-top: 40px; }
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pagination .page-item { display: flex; }
.pagination .page-link {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid #e2e8f0; border-radius: 8px;
  background: #fff; color: #1e293b; font-size: 14px; font-weight: 600; text-decoration: none;
}
.pagination a.page-link:hover, .pagination .active .page-link { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.pagination .disabled .page-link { opacity: .42; cursor: not-allowed; pointer-events: none; }
.pagination .page-link svg { width: 16px; height: 16px; }

/* Booking Modal */
.booking-panel {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 10, 25, .82);
  backdrop-filter: blur(5px);
}
.booking-panel.open {
  display: flex !important;
}
.booking-card {
  position: relative;
  box-sizing: border-box;
  width: min(680px, calc(100vw - 40px));
  max-width: 100%;
  max-height: 92vh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 36px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}
.booking-card * {
  box-sizing: border-box;
}
.booking-card h2 {
  margin: 0 48px 12px 0;
  font-family: 'Prata', serif;
  font-size: 28px;
  color: #101828;
}
.booking-card .close-booking {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: var(--brand-blue-dark);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  min-width: 0;
  margin-top: 20px;
}
.booking-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}
.booking-grid .field-label {
  line-height: 1.35;
}
.booking-grid input,
.booking-grid textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #d9deea;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  color: #101828;
  outline: none;
}
.booking-grid input:focus,
.booking-grid textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(13, 71, 200, .1);
}
.booking-grid .full {
  grid-column: 1 / -1;
}
.booking-grid textarea {
  min-height: 100px;
  resize: vertical;
}
.booking-grid button {
  grid-column: 1 / -1;
  height: 52px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(13, 71, 200, .22);
  transition: background .2s ease;
}
.booking-grid button:hover {
  background: var(--brand-blue-dark);
}
.booking-success {
  display: none;
  padding: 20px 8px 8px;
  text-align: center;
}
.booking-success.show {
  display: block;
}
.booking-success .success-icon {
  display: flex;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e9f9f0;
  color: #159455;
  font-size: 32px;
  font-weight: 800;
}
.booking-success h3 {
  margin: 0 0 8px;
  color: #101828;
  font-size: 24px;
  font-family: 'Prata', serif;
}
.booking-success p {
  max-width: 440px;
  margin: 0 auto 20px;
  color: #667085;
  font-size: 15px;
  line-height: 1.6;
}
.booking-success .success-close {
  display: block;
  width: min(240px, 100%);
  height: 46px;
  margin: 0 auto;
  border: 0;
  border-radius: 10px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 600px) {
  .booking-card { padding: 24px 16px; }
  .booking-grid { grid-template-columns: 1fr; }
  .booking-grid > * { grid-column: 1 !important; }
}

/* Footer Fix */
.footer {
  position: relative !important;
  z-index: 100 !important;
  clear: both !important;
}
.footer a, .footer button {
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 101 !important;
}

/* Footer Mobile Responsive */
@media (max-width: 992px) {
  .footer_top {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }
  .footer_top .left {
    width: 100% !important;
    float: none !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
  .footer_top .right {
    width: 100% !important;
    float: none !important;
  }
  .footer_top .right .contacts_info {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
  }
  .footer_top .right .contacts_info .tel {
    width: auto !important;
    padding-right: 0 !important;
  }
  .footer_top .right .contacts_info .email {
    width: auto !important;
  }
  .footer_top .right .address {
    margin-top: 0 !important;
  }
}

@media (max-width: 768px) {
  .footer_top {
    padding: 0 !important;
    gap: 24px !important;
  }
  .footer_top .left {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .footer_top .col {
    padding-right: 0 !important;
  }
  .footer_top .col ul {
    display: block !important;
  }
  .footer_top .left ._title {
    padding: 16px 0 !important;
    margin-bottom: 0 !important;
    cursor: pointer !important;
    position: relative !important;
  }
  .footer_top .left ._title:before,
  .footer_top .left ._title:after {
    display: none !important;
  }
  .footer_top ul li {
    margin-bottom: 12px !important;
  }
  .footer_top ul li a {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
  .footer_top ._title {
    font-size: 22px !important;
    margin-bottom: 16px !important;
  }
  .footer_top .right .contacts_info .tel a {
    font-size: 20px !important;
  }
  .footer_top .right .contacts_info .email a {
    font-size: 16px !important;
  }
  .footer_top .right .contacts_info p {
    font-size: 14px !important;
  }
  .footer_top .right .address {
    font-size: 15px !important;
  }
  .footer_bottom {
    padding-top: 32px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
  }
  .footer_bottom .left,
  .footer_bottom .right {
    width: 100% !important;
    float: none !important;
    font-size: 13px !important;
  }
  .socials.social-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 16px !important;
  }
  .socials.social-links .link {
    width: 40px !important;
    height: 40px !important;
    margin-right: 0 !important;
  }
  .pays-icon {
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 20px !important;
  }
  .pays-icon img {
    max-height: 32px !important;
  }
}

