/* =========================================================
   Q's Transportation — Site Stylesheet
   Designed for elderly / low-vision readability:
   - large base font, high contrast, big touch targets
   ========================================================= */

:root {
  --color-bg: #f4fdfe;
  --color-bg-alt: #e6f7fa;
  --color-white: #ffffff;
  --color-navy: #1c3d5a;
  --color-navy-dark: #12293f;
  --color-blue: #2f6690;
  --color-teal: #1b8a9a;
  --color-purple: #5b4b8a;
  --color-cyan: #17b8c4;
  --color-text: #1e2a33;
  --color-text-light: #3f5364;
  --color-border: #cfe8ee;
  --color-success-bg: #eaf7ee;
  --color-warning-bg: #fff6e8;
  --color-warning-border: #e8b93a;
  --focus-ring: 3px solid #b8560d;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(28, 61, 90, 0.12);
  --max-width: 1180px;
  --font-base: 20px;
}

/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
}

html {
  font-size: var(--font-base);
  scroll-behavior: smooth;
}

html.text-lg {
  font-size: 24px;
}

html.text-xl {
  font-size: 28px;
}

body {
  margin: 0;
  font-family: "Segoe UI", Verdana, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
}

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

a {
  color: var(--color-blue);
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  color: var(--color-navy);
  line-height: 1.25;
  margin-top: 0;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }

p { margin-top: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-navy);
  color: #fff;
  padding: 1rem 1.5rem;
  z-index: 1000;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Top utility bar ---------- */
.utility-bar {
  background: var(--color-navy-dark);
  color: #fff;
  font-size: 0.85rem;
}

.utility-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  gap: 0.75rem;
}

.utility-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.utility-bar a:hover {
  text-decoration: underline;
}

.text-size-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.text-size-controls span {
  margin-right: 0.3rem;
  font-weight: 600;
}

.text-size-controls button {
  background: #fff;
  color: var(--color-navy-dark);
  border: none;
  border-radius: 6px;
  width: 2.4rem;
  height: 2.4rem;
  font-weight: 800;
  cursor: pointer;
  font-size: 1rem;
}

.text-size-controls button:hover {
  background: var(--color-cyan);
  color: #fff;
}

.emergency-note {
  font-weight: 700;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(28, 61, 90, 0.08);
  position: sticky;
  top: 0;
  z-index: 500;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-link svg {
  width: 56px;
  height: 56px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .name {
  font-weight: 800;
  color: var(--color-navy);
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.logo-text .tagline {
  color: var(--color-purple);
  font-size: 0.7rem;
  letter-spacing: 2px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 0.5rem 0.2rem;
}

.main-nav a[aria-current="page"] {
  color: var(--color-teal);
  border-bottom: 3px solid var(--color-teal);
}

.main-nav a:hover {
  color: var(--color-teal);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  background: var(--color-navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 48px;
  transition: transform 0.05s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--color-teal);
  color: #fff;
}

.btn-primary:hover {
  background: #146d7a;
  color: #fff;
}

.btn-call {
  background: var(--color-navy);
  color: #fff;
}

.btn-call:hover {
  background: var(--color-navy-dark);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-outline:hover {
  background: var(--color-bg-alt);
}

.btn-large {
  padding: 1.15rem 2.2rem;
  font-size: 1.2rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 60%);
  padding: 3rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.hero p.lead {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--color-navy);
  color: #fff;
  padding: 1.5rem 0;
}

.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
}

.trust-item svg {
  width: 34px;
  height: 34px;
  color: var(--color-cyan);
}

/* ---------- Sections ---------- */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-heading p {
  color: var(--color-text-light);
  font-size: 1.15rem;
}

.eyebrow {
  color: var(--color-teal);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.card svg {
  width: 44px;
  height: 44px;
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--color-text-light);
  margin: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card .learn-more {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Fleet ---------- */
.fleet-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.fleet-gallery img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 260px;
  width: 100%;
  object-fit: cover;
}

.fleet-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fleet-features li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-weight: 600;
}

.fleet-features svg {
  width: 26px;
  height: 26px;
  color: var(--color-teal);
  flex-shrink: 0;
}

/* ---------- Pricing table ---------- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  padding: 1rem 1.5rem 0;
}

.pricing-table th,
.pricing-table td {
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--color-border);
}

.pricing-table thead th {
  background: var(--color-navy);
  color: #fff;
  font-size: 1rem;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:nth-child(even) {
  background: var(--color-bg-alt);
}

.price-note {
  background: var(--color-warning-bg);
  border: 2px solid var(--color-warning-border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

/* ---------- Testimonial / community ---------- */
.community-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.community-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-navy) 0%, var(--color-teal) 100%);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
}

.cta-banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-banner .btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.cta-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ---------- Notice / safety box ---------- */
.safety-notice {
  background: #fdece9;
  border: 2px solid #d8564a;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  color: #7a2318;
  text-align: center;
}

/* ---------- Booking page ---------- */
.booking-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2rem;
}

.booking-frame-wrap {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  height: 950px;
  max-width: 900px;
  margin: 0 auto;
}

.booking-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

.booking-alt-call {
  text-align: center;
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}

.booking-alt-call h3 {
  margin-bottom: 0.5rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-item svg {
  width: 32px;
  height: 32px;
  color: var(--color-teal);
  flex-shrink: 0;
}

.contact-item a {
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 420px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy-dark);
  color: #e8f2f5;
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-grid h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-grid a {
  color: #cfe4ea;
  text-decoration: none;
}

.footer-grid a:hover {
  text-decoration: underline;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo svg {
  width: 44px;
  height: 44px;
}

.footer-logo span {
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: #a9c2ca;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner,
  .community-block,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-image { order: -1; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .fleet-gallery { grid-template-columns: repeat(2, 1fr); }
  .fleet-features { grid-template-columns: 1fr; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .header-inner { justify-content: space-between; }

  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .fleet-gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  h1 { font-size: 2rem; }
  .hero p.lead { font-size: 1.1rem; }

  .booking-frame-wrap { height: 850px; }

  .utility-bar .container { justify-content: center; text-align: center; }
}
