/* =========================================
   WOW! CAR & VAN HIRE – PREMIUM THEME
   Primary Red:   #EC1918
   Accent Yellow: #FFCC06
   Text:          #111827
   ========================================= */

/* GLOBAL RESET & BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: #f5f7fb;
  color: #111827;
}

/* ---------------- HEADER ---------------- */

.site-header {
  background: #ffffff;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.logo-mark {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: #EC1918; /* red from logo */
  text-transform: uppercase;
}

.logo-tagline {
  font-size: 0.9rem;
  color: #6b7280;
}

.main-nav {
  display: flex;
  gap: 18px;
}

.main-nav .nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  color: #4b5563;
}

.main-nav .nav-link:hover {
  color: #111827;
}

.main-nav .nav-link.active {
  color: #EC1918;
  font-weight: 600;
  border-bottom: 2px solid #EC1918;
  padding-bottom: 2px;
}

.header-tools {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-select {
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 4px 10px;
  background: #ffffff;
  color: #374151;
  font-size: 0.8rem;
}

/* Branch login button – subtle but clear */
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 7px 16px;
  border-radius: 999px;

  background: #EC1918;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;

  border: 1px solid #b91c1c;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);

  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease;
  cursor: pointer;
}

.header-cta:hover {
  background: #c81413;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.18);
}

.header-cta:active {
  transform: translateY(1px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

/* ---------------- HERO ---------------- */

/* Keeps your existing layout – just refined styling */
.home-hero {
  position: relative;
  min-height: 65vh;
  padding: 80px 20px 90px;
  background-image:
    linear-gradient(to bottom, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.35)),
    url("images/hero-fleet.jpg"); /* swap for your real fleet image */
  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero-inner {
  width: 100%;
  max-width: 1280px;
}

.home-hero-text {
  max-width: 640px;
  margin: 0 auto 20px auto;
  text-align: center;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e5e7eb;
  margin-bottom: 6px;
}

.home-hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-text {
  color: #e5e7eb;
  font-size: 0.98rem;
}

/* ---------------- SEARCH CARD ---------------- */

/* 3/4 width, centred, modern card */
.home-search-card {
  width: min(75%, 960px);
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 18px 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
}

.booking-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #111827;
  padding-left: 4px;
}

/* Booking grid */
.booking-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  width: 100%;
}

.booking-field {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
}

.booking-field label {
  color: #6b7280;
  margin-bottom: 4px;
  font-weight: 500;
}

.booking-field input,
.booking-field select {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 9px 12px;
  background: #ffffff;
  font-size: 0.9rem;
  height: 45px;
  color: #111827;
}

.booking-field input:focus,
.booking-field select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

/* Search button */
.booking-button {
  align-self: stretch;
  height: 45px;
  border-radius: 999px;
  border: none;
  background: #EC1918;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease;
}

.booking-button:hover {
  background: #c81413;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.25);
}

.booking-button:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.booking-result {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #111827;
}

.partner-list {
  margin-top: 6px;
  padding-left: 18px;
}

/* ---------------- INFO STRIP ---------------- */

.info-strip {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 18px 20px;
}

.info-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.info-item {
  background: #f9fafb;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
}

.info-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #111827;
}

.info-item p {
  font-size: 0.9rem;
  color: #4b5563;
}

/* ---------------- SPLIT (WOW vs Bradley’s) ---------------- */

.split {
  padding: 30px 20px 10px;
}

.split {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 28px;
}

.split-text h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #111827;
}

.split-text p {
  color: #4b5563;
  margin-bottom: 10px;
  font-size: 0.96rem;
}

.split-text ul {
  margin-left: 18px;
  color: #4b5563;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Bradley’s card */
.split-panel .network-card {
  background: #ffffff;
  color: #111827;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

.partner-location {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 6px;
}

.partner-copy {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

/* ---------------- LOCATIONS GRID ---------------- */

.locations-preview {
  padding: 32px 20px 18px;
}

.section-header {
  max-width: 1120px;
  margin: 0 auto 10px;
}

.section-header h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: #111827;
}

.section-header p {
  color: #4b5563;
  font-size: 0.95rem;
}

.location-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.location-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.location-card.live {
  border-color: #22c55e;
}

.location-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #111827;
}

.location-card p {
  font-size: 0.9rem;
  color: #4b5563;
}

.pill {
  margin-top: 6px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fef9c3;
  color: #92400e;
  font-size: 0.75rem;
}

/* ---------------- CTA PANEL ---------------- */

.franchise-cta {
  padding: 30px 20px 40px;
}

.franchise-inner {
  max-width: 1120px;
  margin: 0 auto;
  background: #111827;
  border-radius: 22px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 20px;
  color: #f9fafb;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.7);
}

.franchise-copy h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.franchise-copy p {
  font-size: 0.95rem;
  color: #e5e7eb;
}

.franchise-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: center;
}

.small-note {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* ---------------- BUTTONS & LINKS ---------------- */

.btn {
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 999px;
  display: inline-flex;
  border: 1px solid transparent;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  font-size: 0.95rem;
}

.btn.primary {
  background: #EC1918;
  color: #ffffff;
  font-weight: 600;
  border-color: #b91c1c;
}

.btn.primary:hover {
  background: #c81413;
}

.btn.small {
  font-size: 0.85rem;
  padding: 7px 14px;
  background: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}

.btn.small:hover {
  border-color: #9ca3af;
}

.text-link {
  font-size: 0.85rem;
  color: #2563eb;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* ---------------- FOOTER ---------------- */

.site-footer {
  padding: 24px 20px 16px;
  background: #0b1120;
  color: #e5e7eb;
  border-top: 1px solid #020617;
}

.footer-main {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
}

.footer-copy {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 6px;
}

.site-footer h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #f9fafb;
}

.site-footer a {
  display: block;
  font-size: 0.85rem;
  color: #cbd5f5;
  text-decoration: none;
  margin-bottom: 4px;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1120px;
  margin: 14px auto 0;
  border-top: 1px solid #020617;
  padding-top: 8px;
  color: #6b7280;
  font-size: 0.8rem;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .home-hero {
    padding: 80px 16px 70px;
  }

  .home-hero-text {
    text-align: left;
  }

  .home-search-card {
    width: 100%;
  }

  .booking-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-button {
    margin-top: 4px;
  }

  .franchise-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
