/* Urban Track — layout-only responsive fixes. Does not change brand or page structure. */

/* ==========================================================================
   URBAN TRACK — Global Reusable Content Container
   1400px maximum width, 24px side spacing on desktop/tablet, 16px on mobile.
   ========================================================================== */
.site-container,
.global-container,
.max-w-container-max,
.container {
  width: 100% !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  .site-container,
  .global-container,
  .max-w-container-max,
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ==========================================================================
   HEADER: Balanced 3-part layout (Logo Left, Nav Center, CTA Right)
   ========================================================================== */
header .site-container,
header .global-container,
header .max-w-container-max {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 100% !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  header .site-container,
  header .global-container,
  header .max-w-container-max {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

header .header-brand-wrap,
header > div > div.flex.items-center:first-child {
  flex: 1 1 0% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 0 !important;
}

header nav.hidden.lg\:flex,
header .header-nav-wrap {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

header .header-cta-wrap,
header > div > div.hidden.lg\:flex {
  flex: 1 1 0% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 !important;
}

@media (max-width: 1023px) {
  header > div > .lg\:hidden {
    flex: 1 1 0% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }
}
@media (min-width: 1024px) {
  header > div > .lg\:hidden {
    display: none !important;
  }
}

/* ==========================================================================
   FOOTER: Unified container alignment with header grid
   ========================================================================== */
footer.premium-footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

footer.premium-footer > .site-container,
footer.premium-footer > .global-container,
footer.premium-footer > .max-w-container-max {
  width: 100% !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  footer.premium-footer > .site-container,
  footer.premium-footer > .global-container,
  footer.premium-footer > .max-w-container-max {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ==========================================================================
   FLEET SECTION & PREVIEW: Full-width alignment
   ========================================================================== */
.fleet-grid-container {
  width: 100% !important;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

#mobile-menu:not(.hidden) {
  max-height: calc(100dvh - 5rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#booking-modal {
  padding: 16px;
  overscroll-behavior: contain;
}

#booking-modal > .relative {
  min-width: 0;
}

#booking .grid.grid-cols-2,
#bookingFormModal .grid.grid-cols-2 {
  min-width: 0;
}

@media (max-width: 379px) {
  #booking .grid.grid-cols-2,
  #bookingFormModal .grid.grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

.grid > * {
  min-width: 0;
}

@media (max-width: 767px) {
  .h-80 {
    height: 12.5rem;
  }

  .h-\[200px\] {
    height: 11rem;
  }
}

header .font-headline-md {
  white-space: nowrap;
}

@media (max-width: 359px) {
  header a.font-headline-md {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 479px) {
  h1.text-display-lg,
  h2.text-display-lg {
    font-size: 1.75rem;
    line-height: 2.2rem;
  }

  .text-headline-lg {
    font-size: 1.375rem;
    line-height: 1.75rem;
  }

  section.min-h-\[600px\],
  section.min-h-\[480px\] {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .premium-footer .flex.gap-6 {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .md\:grid-cols-4,
  .md\:grid-cols-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.enquiry-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FF7200;
  color: #fff;
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 12px 18px 12px 14px;
  border-radius: 9999px;
  box-shadow: 0 10px 24px rgba(255, 114, 0, 0.38);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.enquiry-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(255, 114, 0, 0.45);
  color: #fff;
}
.enquiry-fab .material-symbols-outlined {
  font-size: 20px;
}

.enquiry-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.enquiry-field label {
  font-size: 12px;
  font-weight: 700;
  color: #5b5470;
}
.enquiry-field input,
.enquiry-field select,
.enquiry-field textarea {
  width: 100%;
  border: 1px solid #ece7f4;
  background: #f7f4fb;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 14px;
  color: #1b1b20;
  outline: none;
}
.enquiry-field input:focus,
.enquiry-field select:focus,
.enquiry-field textarea:focus {
  border-color: #4700af;
  background: #fff;
}
