/* ===========================================================
   Welcome Transportation — main stylesheet
   =========================================================== */

:root {
  --navy: #0a2540;
  --navy-dark: #071a2e;
  --gold: #c9a227;
  --gold-light: #e0bc4c;
  --cream: #f7f5f0;
  --bg: #f4f6f9;
  --gray: #5b6673;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 37, 64, .12);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 96px;
  --topbar-h: 40px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background-color: var(--bg);
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: -20px;
  background-image: url('../assets/images/service-conventions.jpg');
  background-size: cover;
  background-position: center 20%;
  filter: blur(10px) saturate(1.15);
  opacity: 0.4;
  z-index: -1;
}
@media (max-width: 780px) {
  /* Fixed backgrounds can jank on mobile Safari/Chrome — let it scroll with the page there instead. */
  body::before { position: absolute; }
}
body.intro-active { overflow: hidden; height: 100vh; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; line-height: 1.65; color: var(--gray); }
.section-inner { max-width: 1180px; margin: 0 auto; padding: 90px 24px; }
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin-bottom: .6em; }
.eyebrow.center { text-align: center; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy); }
.section-title.center { text-align: center; margin-bottom: 3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary, .btn-quote { background: var(--gold); color: var(--navy-dark); box-shadow: 0 8px 20px rgba(201,162,39,.35); }
.btn-primary:hover, .btn-quote:hover { background: var(--gold-light); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }

.btn-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 10px 26px rgba(10,37,64,.35);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (max-width: 720px) { .btn-fab { display: flex; } }

/* ===========================================================
   INTRO SEQUENCE
   =========================================================== */
#intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--navy-dark);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity .8s ease, visibility .8s ease;
}
#intro.intro-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.intro-media { position: absolute; inset: 0; overflow: hidden; }
.intro-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity .6s ease;
}
.intro-media video.intro-video-active { opacity: .55; }
.intro-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-dark);
  opacity: 0;
  animation: introFade 9s infinite;
}
.intro-slide:nth-child(2) { animation-delay: 0s; }
.intro-slide:nth-child(3) { animation-delay: 3s; }
.intro-slide:nth-child(4) { animation-delay: 6s; }
@keyframes introFade {
  0% { opacity: 0; }
  8% { opacity: 1; }
  33% { opacity: 1; }
  41% { opacity: 0; }
  100% { opacity: 0; }
}
#intro.has-video .intro-slide { display: none; }

.intro-content { position: relative; z-index: 2; padding: 24px; max-width: 640px; }
.intro-bus-icon { color: var(--gold); margin-bottom: 18px; }
.intro-eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; font-weight: 700; margin-bottom: .8em; }
.intro-title { font-size: clamp(1.8rem, 5vw, 3rem); color: var(--white); margin-bottom: .4em; }
.intro-tagline { color: rgba(255,255,255,.75); font-size: 1rem; margin-bottom: 2em; }

.intro-loader { width: 160px; height: 3px; background: rgba(255,255,255,.2); border-radius: 3px; margin: 0 auto; overflow: hidden; }
.intro-loader span { display: block; width: 40%; height: 100%; background: var(--gold); animation: introLoad 1.6s ease-in-out infinite; }
@keyframes introLoad {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(150%); }
  100% { transform: translateX(150%); }
}

#intro-skip {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.4);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .82rem;
  cursor: pointer;
}
#intro-skip:hover { background: rgba(255,255,255,.2); }

@media (prefers-reduced-motion: reduce) {
  .intro-slide, .intro-loader span { animation: none; opacity: 1; }
}

/* ===========================================================
   TOP BAR
   =========================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 41;
  background: var(--navy-dark);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  height: var(--topbar-h);
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar-phone { display: flex; align-items: center; gap: 8px; color: var(--gold-light); font-weight: 600; flex-shrink: 0; }
.topbar-tagline { display: none; margin: 0; color: rgba(255,255,255,.6); }
@media (min-width: 780px) { .topbar-tagline { display: block; } }
.topbar-social { display: flex; align-items: center; gap: 14px; }
.topbar-social a { width: 16px; height: 16px; color: rgba(255,255,255,.85); }
.topbar-social svg { width: 100%; height: 100%; }
.topbar-social a:hover { color: var(--gold-light); }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky;
  top: var(--topbar-h);
  z-index: 40;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 16px rgba(10,37,64,.08);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.logo svg { color: var(--gold); flex-shrink: 0; }
.logo em { font-style: normal; color: var(--gold); }

.logo-badge { position: relative; width: 52px; height: 30px; flex-shrink: 0; display: flex; align-items: center; }
.logo-bus { position: relative; z-index: 1; width: 52px; height: 30px; }

.logo-emblem-canvas { display: block; width: 88px; height: 88px; }

.main-nav { display: none; align-items: center; gap: 32px; }
.main-nav a { font-weight: 500; font-size: .95rem; color: var(--navy); position: relative; }
.main-nav a:hover { color: var(--gold); }
@media (min-width: 960px) { .main-nav { display: flex; } }

.header-emblem { display: none; flex-shrink: 0; }
@media (min-width: 1180px) { .header-emblem { display: flex; align-items: center; } }

.header-actions { display: flex; align-items: center; gap: 16px; }
.btn-quote { padding: 12px 24px; }

.nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
@media (min-width: 960px) { .nav-toggle { display: none; } }

.main-nav.mobile-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  box-shadow: 0 12px 20px rgba(10,37,64,.1);
}
.main-nav.mobile-open a { padding: 16px 24px; width: 100%; border-top: 1px solid #eee; }

/* ===========================================================
   HERO
   =========================================================== */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--navy); }
.hero-content { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 60px 24px; width: 100%; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 780px; color: var(--white); }
.hero-sub { max-width: 560px; color: rgba(255,255,255,.8); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 2em 0 3em; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--gold-light); }
.hero-stats span { font-size: .85rem; color: rgba(255,255,255,.65); }

/* ===========================================================
   COMMERCIAL VIDEO
   =========================================================== */
.commercial { background: var(--cream); }
.commercial-inner { padding-top: 70px; padding-bottom: 70px; }
.commercial-video { position: relative; max-width: 860px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-dark); }
.commercial-video video { display: block; width: 100%; max-height: 70vh; background: var(--navy-dark); }
.commercial-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(7, 26, 46, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.commercial-play[hidden] { display: none; }
.commercial-play .play-btn {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform .2s ease, background .2s ease;
}
.commercial-play .play-btn svg { margin-left: 4px; }
.commercial-play:hover .play-btn { transform: scale(1.08); background: var(--gold-light); }

/* ===========================================================
   HIGHLIGHTS (two-photo band)
   =========================================================== */
.highlights-inner { padding-top: 0; }
.highlights-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 720px) { .highlights-grid { grid-template-columns: 1fr 1fr; } }
.highlights-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

/* ===========================================================
   SERVICES
   =========================================================== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.service-card { background: var(--cream); border-radius: var(--radius); overflow: hidden; padding: 0 0 28px; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-photo { height: 150px; background-size: cover; background-position: center; background-color: var(--navy); margin-bottom: 20px; }
.service-card h3 { font-size: 1.2rem; margin-left: 28px; margin-right: 28px; }
.service-card p { margin: 0 28px; }

/* ===========================================================
   FLEET
   =========================================================== */
.fleet { background: rgba(247, 245, 240, 0.82); }
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.fleet-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.fleet-img { height: 280px; background-size: cover; background-position: center; background-color: var(--navy); flex-shrink: 0; }
.fleet-card h3, .fleet-card p { padding: 0 22px; }
.fleet-card h3 { margin-top: 20px; font-size: 1.1rem; }
.fleet-card p { padding-bottom: 22px; margin-bottom: 0; }

/* ===========================================================
   WHY US
   =========================================================== */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 860px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-list li { position: relative; padding-left: 28px; margin-bottom: 14px; font-weight: 500; }
.why-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.why-images { display: grid; gap: 16px; }
.why-image { width: 100%; height: auto; border-radius: var(--radius); background-color: var(--navy); box-shadow: var(--shadow); }

/* ===========================================================
   FEATURED WORK
   =========================================================== */
.featured-work { background: var(--cream); }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.work-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.work-card-featured { grid-column: 1 / -1; border: 2px solid var(--gold); }
.work-card-featured video { max-height: 420px; }
@media (min-width: 720px) { .work-card-featured { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; } .work-card-featured video { max-height: 100%; height: 100%; } .work-card-featured h3, .work-card-featured p { margin-left: 24px; margin-right: 24px; } }
.work-card video { display: block; width: 100%; max-height: 240px; background: var(--navy-dark); }
.work-card h3 { margin: 20px 22px 8px; font-size: 1.05rem; }
.work-card p { margin: 0 22px 22px; }

/* ===========================================================
   REVIEWS
   =========================================================== */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-bottom: 3rem; color: var(--gray); }
.rating-summary strong { color: var(--navy); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.review-card { background: var(--cream); border-radius: var(--radius); padding: 28px; }
.review-card p { color: var(--navy); font-style: italic; }
.reviewer strong { display: block; font-size: .92rem; }
.reviewer span { font-size: .8rem; color: var(--gray); }

/* ===========================================================
   GALLERY
   =========================================================== */
.gallery { background: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

/* ===========================================================
   CTA BANNER
   =========================================================== */
.cta-banner { background: linear-gradient(120deg, var(--navy), var(--navy-dark)); color: var(--white); text-align: center; }
.cta-inner { padding: 70px 24px; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.75); max-width: 480px; margin-left: auto; margin-right: auto; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.65); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 70px; padding-bottom: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-logo { color: var(--white); margin-bottom: 14px; }
.footer-grid h4 { color: var(--white); font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1em; }
.footer-grid a { display: block; margin-bottom: 10px; font-size: .92rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-social a { width: 18px; height: 18px; color: rgba(255,255,255,.65); }
.footer-social { margin-top: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 20px 24px; font-size: .8rem; position: relative; }

/* ---------- Staff access (discreet) ---------- */
.staff-access-trigger {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: rgba(255,255,255,.18);
  cursor: pointer;
  transition: color .2s ease;
}
.staff-access-trigger:hover { color: rgba(255,255,255,.55); }
.staff-access-trigger svg { width: 15px; height: 15px; }
.staff-links { display: none; flex-direction: column; gap: 12px; margin-top: 8px; }
.staff-links.open { display: flex; }
.staff-links a {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy);
  font-weight: 600;
}
.staff-links a:hover { background: #ece7db; }
.staff-error { color: #b3261e; font-size: .82rem; margin: -8px 0 12px; display: none; }
.staff-error.show { display: block; }

/* ===========================================================
   QUOTE MODAL
   =========================================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(7,26,46,.6);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px);
  transition: transform .25s ease;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal h3 { color: var(--navy); }
.modal-sub { margin-bottom: 1.6em; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: var(--cream); color: var(--navy);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.modal-close:hover { background: #eee; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dcdfe3;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--navy);
  background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-field textarea { resize: vertical; }
.radio-group { display: flex; gap: 20px; padding-top: 4px; }
.radio-group label { display: flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 500; color: var(--navy); margin: 0; }
.radio-group input { width: auto; margin: 0; }
.form-note { font-size: .78rem; text-align: center; margin: 14px 0 0; }
.form-success { text-align: center; padding: 20px 0; }
.form-success p { color: var(--navy); font-weight: 600; }

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: 28px 20px; }
}
