/* =========================
   X&V Bus Corp. Makeover
   Drop-in replacement CSS
   Keeps existing class names
   ========================= */

:root{
  --bg1:#5b49d6;
  --bg2:#1ccfc9;

  --ink:#0b0b0f;
  --muted:rgba(11,11,15,0.72);

  --glass: rgba(255,255,255,0.18);
  --glass2: rgba(255,255,255,0.22);
  --stroke: rgba(255,255,255,0.35);

  --panel: rgba(207,216,255,0.82);
  --panel2: rgba(207,216,255,0.90);

  --shadow: 0 18px 45px rgba(0,0,0,0.20);
  --shadow2: 0 12px 24px rgba(0,0,0,0.14);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;

  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body{
  margin:0;
  font-family:"EB Garamond", serif;
  color: var(--ink);
  min-height:100vh;

  /* More elegant background */
  background:
    radial-gradient(1100px 600px at 20% 10%, rgba(255,255,255,0.22), transparent 60%),
    radial-gradient(900px 650px at 85% 35%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg, var(--bg1), var(--bg2));
}

/* Subtle “sparkle” texture */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 65% 55%, rgba(255,255,255,0.10) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0 2px, transparent 3px);
  opacity:0.45;
  mix-blend-mode: overlay;
}

/* =========================
   NAV
   ========================= */
.nav{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;

  margin: 18px;
  padding: 14px;

  border-radius: var(--radius-xl);
  background: rgba(182,122,227,0.35);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow2);
}

.nav-logo,
.nav-btn{
  text-decoration:none;
  color: var(--ink);
  font-weight: 700;

  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(255,255,255,0.55);

  border-radius: var(--radius-lg);
  padding: 14px 22px;

  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, outline 160ms ease;
  box-shadow: 0 10px 18px rgba(0,0,0,0.10);
}

.nav-logo{
  font-size: 32px;
  margin-right:auto;
  padding: 14px 24px;
}

.nav-btn{
  font-size: 24px;
}

.nav-logo:hover,
.nav-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.80);
}

.nav-btn.active,
.nav-logo.active{
  outline: 4px solid rgba(255,255,255,0.35);
  background: rgba(207,216,255,0.88);
}

/* =========================
   HERO
   ========================= */
.hero{
  max-width: var(--max);
  margin: 0 auto;
  padding: 90px 22px 40px;
  text-align:center;
}

.hero h1{
  margin: 0 0 24px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.2px;
  text-shadow: 0 10px 25px rgba(0,0,0,0.14);
}

.subtitle{
  margin: 0 0 22px;
  font-size: clamp(26px, 3.2vw, 44px);
  font-style: italic;
  font-weight: 600;
  color: rgba(0,0,0,0.80);
  text-shadow: 0 10px 25px rgba(0,0,0,0.10);
}

.arrow{
  font-size: 56px;
  opacity: 0.9;
  animation: bounce 1.2s infinite ease-in-out;
}

@keyframes bounce{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(10px); }
}

/* =========================
   SECTION WRAPPER
   ========================= */
.section{
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 22px 90px;
}

/* =========================
   GALLERY
   ========================= */
.gallery-title{
  text-align:center;
  font-size: 44px;
  margin: 0 0 26px;
  font-weight: 800;
  text-shadow: 0 10px 25px rgba(0,0,0,0.10);
}

.gallery-grid{
  display:grid;
  gap: 16px;
  grid-template-columns: repeat(5, 1fr);
}

.thumb{
  background:none;
  border:none;
  padding:0;
  cursor:pointer;
}

.thumb img{
  width:100%;
  height: 220px;
  object-fit: cover;

  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.40);

  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  user-select:none;
  -webkit-user-drag:none;
}

.thumb img:hover{
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 22px 46px rgba(0,0,0,0.24);
  filter: saturate(1.05) contrast(1.03);
}

/* =========================
   IMAGE MODAL
   ========================= */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}

.modal.active{ display:block; }

.modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.76);
}

.modal-card{
  position:relative;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  margin: 5vh auto;
  padding: 12px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.modal-card img{
  width: 100%;
  height: 82vh;
  object-fit: contain;
  border-radius: 18px;
  user-select:none;
  -webkit-user-drag:none;
}

.modal-close{
  position:absolute;
  top: 10px;
  right: 10px;

  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);

  background: rgba(255,255,255,0.85);
  font-size: 20px;
  cursor:pointer;
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
  transition: transform 160ms ease;
}

.modal-close:hover{ transform: scale(1.04); }

/* =========================
   COMMON “CARD” LOOK
   ========================= */
.page-wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 22px 90px;
}

.page-title{
  text-align:center;
  font-size: clamp(48px, 5.4vw, 84px);
  margin: 46px 0 18px;
  font-weight: 800;
  text-shadow: 0 10px 25px rgba(0,0,0,0.10);
}

.card{
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow2);
}

.card h2{
  margin: 0 0 10px;
  font-size: 40px;
  font-weight: 800;
}

.card p, .card li{
  font-size: 26px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(0,0,0,0.82);
}

/* =========================
   BUS STATUS PAGE
   ========================= */
.status-wrap{
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 22px 80px;
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: center;
}

.status-title{
  font-size: clamp(46px, 5vw, 76px);
  margin: 24px 0 10px;
  font-weight: 900;
}

.status-note{
  font-size: 24px;
  font-weight: 800;
  text-decoration: underline;
  margin: 10px 0 12px;
  color: rgba(0,0,0,0.80);
}

.status-sub{
  font-size: 32px;
  font-style: italic;
  font-weight: 650;
  margin: 0 0 34px;
  line-height: 1.15;
}

.status-none{
  font-size: clamp(44px, 5vw, 72px);
  margin: 56px 0 0;
  font-weight: 900;
}

.logo-circle{
  width: min(520px, 45vw);
  aspect-ratio: 1 / 1;
  border-radius: 999px;

  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.30);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  padding: 14px;
  display:grid;
  place-items:center;
  box-shadow: var(--shadow);
  margin-left: auto;
}

.logo-circle img{
  width:100%;
  height:100%;
  border-radius: 999px;
  object-fit: cover;
  user-select:none;
  -webkit-user-drag:none;
}

/* =========================
   TRANSPORTATION
   ========================= */
.transport-wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 22px 90px;
  text-align:center;
}

.transport-title{
  font-size: clamp(46px, 5vw, 84px);
  margin: 56px 0 12px;
  font-weight: 900;
  text-shadow: 0 10px 25px rgba(0,0,0,0.10);
}

.transport-sub{
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 34px;
  color: rgba(0,0,0,0.78);
  line-height: 1.25;
}

.transport-list p{
  font-size: 40px;
  font-weight: 850;
  margin: 12px 0;
  text-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* =========================
   SIMPLE ROUTES PAGE
   ========================= */
.routes-simple{
  min-height: calc(100vh - 180px);
  display:flex;
  flex-direction: column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding: 40px 22px;
}

.routes-simple-title{
  font-size: clamp(50px, 5.4vw, 84px);
  font-weight: 900;
  margin: 0 0 20px;
  text-shadow: 0 10px 25px rgba(0,0,0,0.10);
}

.routes-simple-text{
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
  color: rgba(0,0,0,0.82);
  background: rgba(255,255,255,0.20);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius-xl);
  padding: 18px 22px;
  box-shadow: var(--shadow2);
}

/* =========================
   FLEET GRID
   ========================= */
.fleet-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.fleet-grid img{
  width:100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.38);
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
  user-select:none;
  -webkit-user-drag:none;
}

/* =========================
   DOWNLOADS PAGE
   ========================= */
.downloads-help{
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 650;
  color: rgba(0,0,0,0.78);
}

.downloads-gate{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
}

.downloads-input{
  flex:1;
  min-width: 240px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 14px 26px rgba(0,0,0,0.12);
  outline: none;
  font-size: 22px;
  font-family: "EB Garamond", serif;
}

.downloads-input:focus{
  box-shadow: 0 18px 34px rgba(0,0,0,0.16);
  background: rgba(255,255,255,0.82);
}

.downloads-btn{
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 16px;
  cursor:pointer;

  font-size: 22px;
  font-weight: 900;
  font-family:"EB Garamond", serif;

  background: rgba(182,122,227,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 14px 26px rgba(0,0,0,0.14);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.downloads-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,0,0,0.18);
}

.downloads-msg{
  margin: 12px 0 0;
  font-size: 22px;
  font-weight: 900;
}

.downloads-msg.ok{
  text-decoration: underline;
}

.downloads-list{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 14px;
}

.downloads-file{
  display:block;
  text-decoration:none;
  color: var(--ink);

  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 18px;
  padding: 16px 18px;

  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(0,0,0,0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.downloads-file:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.70);
}

.downloads-note{
  margin-top: 14px;
  font-size: 22px;
  font-weight: 650;
  color: rgba(0,0,0,0.78);
}

/* =========================
   FOOTER
   ========================= */
.footer{
  margin: 18px;
  padding: 14px;
  border-radius: var(--radius-xl);

  background: rgba(182,122,227,0.30);
  border: 1px solid rgba(255,255,255,0.30);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow2);
}

.footer-inner{
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.40);
  border-radius: 22px;
  padding: 16px 18px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
}

.footer-left{
  font-size: 20px;
  font-weight: 900;
}

.footer-meta{
  width:100%;
  font-size: 18px;
  font-weight: 800;
  color: rgba(0,0,0,0.78);
}

.footer-disclaimer{
  width:100%;
  font-size: 18px;
  font-weight: 650;
  color: rgba(0,0,0,0.75);
  line-height: 1.25;
}

/* =========================
   BACK TO TOP
   ========================= */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;

  border: 1px solid rgba(255,255,255,0.40);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 999px;
  padding: 12px 16px;

  font-size: 18px;
  font-weight: 900;
  cursor: pointer;

  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events:none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.show{
  opacity: 1;
  pointer-events:auto;
  transform: translateY(0);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1100px){
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
  .fleet-grid{ grid-template-columns: repeat(2, 1fr); }
  .status-wrap{ grid-template-columns: 1fr; }
  .logo-circle{ margin: 18px auto 0; }
}

@media (max-width: 640px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .fleet-grid{ grid-template-columns: 1fr; }

  .nav-logo{ font-size: 28px; }
  .nav-btn{ font-size: 22px; padding: 12px 18px; }

  .modal-card img{ height: 70vh; }

  .downloads-list{ grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .arrow{ animation:none; }
  .nav-logo, .nav-btn, .thumb img, .downloads-btn, .downloads-file, .modal-close { transition:none; }
}

.section {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.14);
}

/* =========================
   EXTRA SPICE PACK (Premium)
   Paste at bottom of style.css
   ========================= */

/* Animated background glow */
@keyframes bgGlow {
  0%   { filter: hue-rotate(0deg) saturate(1.0); }
  50%  { filter: hue-rotate(12deg) saturate(1.1); }
  100% { filter: hue-rotate(0deg) saturate(1.0); }
}
body::before {
  animation: bgGlow 10s ease-in-out infinite;
}

/* Soft “spotlight” behind hero */
.hero::before{
  content:"";
  position:absolute;
  left:50%;
  top: 190px;
  transform: translateX(-50%);
  width: min(900px, 92vw);
  height: 420px;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.25), transparent 68%);
  filter: blur(10px);
  opacity: 0.9;
  pointer-events:none;
  z-index:-1;
}
.hero { position: relative; }

/* Page title gradient ink */
.page-title,
.hero h1,
.transport-title,
.routes-simple-title,
.status-title {
  background: linear-gradient(90deg, rgba(0,0,0,0.95), rgba(0,0,0,0.72));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Classy shine sweep on clickable things */
@keyframes shineSweep {
  0% { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
  25% { opacity: 0.25; }
  60% { opacity: 0.15; }
  100% { transform: translateX(140%) skewX(-18deg); opacity: 0; }
}

.nav-logo,
.nav-btn,
.downloads-btn,
.downloads-file,
.card {
  position: relative;
  overflow: hidden;
}

.nav-logo::after,
.nav-btn::after,
.downloads-btn::after,
.downloads-file::after,
.card::after{
  content:"";
  position:absolute;
  top:-40%;
  left:-60%;
  width: 55%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  opacity: 0;
  pointer-events:none;
}

.nav-logo:hover::after,
.nav-btn:hover::after,
.downloads-btn:hover::after,
.downloads-file:hover::after{
  opacity: 1;
  animation: shineSweep 900ms ease-in-out;
}

/* Cards become more “3D” */
.card{
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.22);
  background: rgba(255,255,255,0.22);
}

/* Gallery hover: lift + shine + tiny tilt */
.thumb img{
  transform: translateY(0) rotate(0deg);
}
.thumb:hover img{
  transform: translateY(-6px) scale(1.015) rotate(-0.15deg);
}

/* Add a subtle “glow ring” around gallery images */
.thumb img{
  outline: 0 solid rgba(255,255,255,0.0);
}
.thumb:hover img{
  outline: 3px solid rgba(255,255,255,0.22);
}

/* Modal: smoother + more cinematic */
.modal-backdrop{
  animation: modalFade 180ms ease-out;
}
@keyframes modalFade{
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal-card{
  animation: modalPop 200ms ease-out;
}
@keyframes modalPop{
  from { transform: translateY(10px) scale(0.98); opacity: 0.6; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

/* Buttons: better press feedback */
.nav-logo:active,
.nav-btn:active,
.downloads-btn:active,
.downloads-file:active,
.back-to-top:active{
  transform: translateY(1px) scale(0.99);
}

/* Back to top: prettier */
.back-to-top{
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.82), rgba(255,255,255,0.52));
}

/* Status “None at the moment!!” extra pop */
.status-none{
  display: inline-block;
  padding: 10px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

/* Transportation list: nicer readability */
.transport-list p{
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 10px 14px;
  display: inline-block;
  width: min(920px, 92vw);
}

/* Routes page: make the message feel like a banner */
.routes-simple-text{
  max-width: min(900px, 92vw);
}

/* Improve focus outline for keyboard users */
.nav-logo:focus,
.nav-btn:focus,
.downloads-input:focus,
.downloads-btn:focus,
.downloads-file:focus,
.modal-close:focus,
.back-to-top:focus{
  outline: 4px solid rgba(255,255,255,0.45);
  outline-offset: 3px;
}

.nav{
  background: linear-gradient(120deg,
    rgba(182,122,227,0.30),
    rgba(255,255,255,0.14),
    rgba(182,122,227,0.30)
  );
  background-size: 220% 220%;
  animation: navShift 9s ease-in-out infinite;
}
@keyframes navShift{
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== Premium spacing + About page polish ===== */

/* Give pages more top breathing room (especially after the navbar) */
.page-wrap {
  padding-top: 70px !important;
}

/* Push the big title away from the first card */
.page-title {
  margin-top: 30px !important;
  margin-bottom: 34px !important;
  line-height: 1.03;
  letter-spacing: 0.2px;
}

/* Add a premium “section tray” behind the cards */
.page-wrap {
  position: relative;
}

.page-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 140px;              /* starts below the title */
  transform: translateX(-50%);
  width: min(1100px, 92vw);
  height: calc(100% - 160px);
  border-radius: 34px;

  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 22px 55px rgba(0,0,0,0.12);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: -1;
}

/* Make cards feel premium + add consistent spacing */
.card {
  margin: 18px auto !important;
  width: min(1050px, 92vw);
  border-radius: 28px !important;

  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.16) !important;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

/* Slight lift on hover (premium feel) */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.18) !important;
  background: rgba(255, 255, 255, 0.22) !important;
}

/* Headings inside cards: more “designed” */
.card h2 {
  margin-bottom: 10px !important;
  font-weight: 900;
  letter-spacing: 0.2px;
}

/* Body text: more readable + premium */
.card p, .card li {
  color: rgba(0,0,0,0.80);
  line-height: 1.45;
}

/* Bullets: better spacing */
.card ul {
  margin: 12px 0 0;
  padding-left: 26px;
}
.card li {
  margin: 10px 0;
}

/* Mobile tweak: keep spacing balanced */
@media (max-width: 640px) {
  .page-wrap { padding-top: 54px !important; }
  .page-title { margin-bottom: 26px !important; }
  .page-wrap::before { top: 120px; }
}

/* ===== Fix: Fleet page layout (tray was breaking the grid) ===== */

/* Disable the big background tray on the Fleet page */
.page-wrap::before {
  content: none !important;
}

/* Undo the forced narrow card width on pages with image grids */
.fleet-grid {
  width: 100% !important;
  margin-top: 18px !important;
}

/* Make fleet images more “premium” and aligned */
.fleet-grid img {
  height: 240px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,0.18) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.fleet-grid img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 26px 62px rgba(0,0,0,0.22) !important;
  filter: saturate(1.05) contrast(1.03);
}

/* Title spacing fix so it doesn’t hug the tray/card */
.page-title {
  margin-bottom: 28px !important;
}

/* Mobile: keep images tall enough */
@media (max-width: 640px) {
  .fleet-grid img { height: 210px !important; }
}

/* ===== Make the premium tray contain EVERYTHING (Fleet fix) ===== */

/* Give page content room inside the tray */
.page-wrap{
  position: relative;
  padding: 80px 28px 110px !important; /* top / sides / bottom */
}

/* Make the tray cover the full page-wrap height */
.page-wrap::before{
  content: "";
  position: absolute;
  inset: 28px;                 /* tray padding from edges */
  border-radius: 34px;

  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 22px 55px rgba(0,0,0,0.12);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 0;
}

/* Ensure ALL actual content sits above the tray */
.page-wrap > *{
  position: relative;
  z-index: 1;
}

/* Title spacing so it doesn't hug the tray edge */
.page-title{
  margin-top: 0 !important;
  margin-bottom: 34px !important;
}

/* Keep your cards centered and roomy (premium) */
.card{
  margin: 18px auto !important;
  width: min(1050px, 92vw);
}

/* Make the Fleet grid live inside the tray nicely */
.fleet-grid{
  width: min(1150px, 92vw) !important;
  margin: 22px auto 0 !important; /* centers it inside tray */
}

/* Fleet images: premium + consistent */
.fleet-grid img{
  height: 240px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,0.18) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.fleet-grid img:hover{
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 26px 62px rgba(0,0,0,0.22) !important;
  filter: saturate(1.05) contrast(1.03);
}

/* Mobile: tray padding + image height */
@media (max-width: 640px){
  .page-wrap{ padding: 64px 18px 90px !important; }
  .page-wrap::before{ inset: 16px; }
  .fleet-grid img{ height: 210px !important; }
}

/* =========================
   METALLIC / NEW CAR FINISH
   ========================= */

/* Replace background with metallic gradient */
body {
  background:
    linear-gradient(
      135deg,
      #6b78d6 0%,
      #4f7fb8 28%,
      #2ea6b2 55%,
      #1ccfc9 100%
    );
}

/* Add subtle brushed-metal texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      115deg,
      rgba(255,255,255,0.035) 0px,
      rgba(255,255,255,0.035) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity: 0.35;
  mix-blend-mode: overlay;
}

/* Metallic glass tray */
.page-wrap::before {
  background:
    linear-gradient(
      165deg,
      rgba(255,255,255,0.22),
      rgba(255,255,255,0.10) 40%,
      rgba(255,255,255,0.18)
    );
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.08),
    0 28px 70px rgba(0,0,0,0.18);
}

/* Cards get a “painted panel” feel */
.card {
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.38),
      rgba(255,255,255,0.20)
    ) !important;

  border: 1px solid rgba(255,255,255,0.40) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.10),
    0 22px 55px rgba(0,0,0,0.20) !important;
}

/* Clear-coat shine sweep */
.card::after,
.nav-logo::after,
.nav-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      transparent 40%,
      rgba(255,255,255,0.35) 50%,
      transparent 60%
    );
  opacity: 0;
  pointer-events: none;
}

.card:hover::after,
.nav-logo:hover::after,
.nav-btn:hover::after {
  opacity: 1;
  animation: clearCoat 900ms ease-out;
}

@keyframes clearCoat {
  from { transform: translateX(-120%); }
  to   { transform: translateX(120%); }
}

/* Headings get metallic ink */
.page-title,
.hero h1,
.status-title,
.transport-title {
  background:
    linear-gradient(
      180deg,
      #111,
      #333 40%,
      #111
    );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Fleet images look like showroom photos */
.fleet-grid img,
.thumb img {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -1px 0 rgba(0,0,0,0.15),
    0 26px 62px rgba(0,0,0,0.25) !important;
}

/* Navbar gets brushed aluminum look */
.nav {
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.25),
      rgba(255,255,255,0.15)
    );
  border: 1px solid rgba(255,255,255,0.40);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 18px 40px rgba(0,0,0,0.20);
}

/* Buttons feel solid */
.nav-logo,
.nav-btn,
.downloads-btn,
.back-to-top {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.15),
    0 16px 34px rgba(0,0,0,0.22);
}

/* Hover press like a real button */
.nav-logo:active,
.nav-btn:active,
.downloads-btn:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 10px 24px rgba(0,0,0,0.25);
}

/* =========================
   TRANSPORTATION LIST HOVER
   ========================= */

/* Base look */
.transport-list p {
  position: relative;
  cursor: default;

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

/* Metallic hover panel */
.transport-list p:hover {
  transform: translateY(-3px);
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.30),
      rgba(255,255,255,0.16)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.12),
    0 18px 42px rgba(0,0,0,0.22);
}

/* Clear-coat shine sweep */
.transport-list p::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -60%;
  width: 60%;
  height: 180%;
  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(255,255,255,0.35),
      transparent
    );
  opacity: 0;
  pointer-events: none;
}

/* Activate shine on hover */
.transport-list p:hover::after {
  opacity: 1;
  animation: transportShine 900ms ease-out;
}

@keyframes transportShine {
  from { transform: translateX(-120%); }
  to   { transform: translateX(140%); }
}

/* Touch devices: keep it clean */
@media (hover: none) {
  .transport-list p:hover {
    transform: none;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.35),
      inset 0 -1px 0 rgba(0,0,0,0.10);
  }
}

/* =========================
   FAQ PAGE
   ========================= */

.faq-card {
  width: min(1050px, 92vw);
  margin: 0 auto;
}

.faq-item {
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.10);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  overflow: hidden;
  margin: 14px 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 18px;
  font-size: 30px;
  font-weight: 900;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 32px;
  font-weight: 900;
  opacity: 0.85;
  margin-left: 14px;
  transition: transform 160ms ease;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-content {
  padding: 0 18px 18px;
  font-size: 24px;
  font-weight: 650;
  color: rgba(0,0,0,0.82);
  line-height: 1.45;
}

.faq-item:hover {
  transform: translateY(-2px);
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 22px 50px rgba(0,0,0,0.16);
}

@media (max-width: 640px) {
  .faq-item summary { font-size: 26px; }
  .faq-content { font-size: 22px; }
}
