/*
  G.T.A Transport — restored stylesheet
  Rebuilt from the archived site.css / style.css (s496848326.onlinehome.fr, Aug 2018).
  Original decorative assets that could not be recovered from the Wayback Machine
  (brigitte.ttf, gradient-bg.png, footer.png, jquery "Slides" plugin) have been
  recreated here with an equivalent Google Font and CSS/JS so the page keeps the
  same look without any broken references.
*/

@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&display=swap");

:root {
  --red: #ba2e1f;
  --red-dark: #8f2317;
  --black: #000000;
  --white: #ffffff;
  --text: #232323;
  --muted: #666666;
  --content-width: 960px;
  --font-body: Calibri, Candara, "Segoe UI", Optima, Arial, sans-serif;
  --font-brand: "Caveat", "Segoe Script", cursive;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: var(--red);
  text-decoration: none;
  outline: none;
}

a:hover {
  text-decoration: underline;
}

.brand {
  font-family: var(--font-brand);
  color: var(--red);
  font-weight: 700;
  font-size: 1.15em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  max-width: var(--content-width);
  margin: 0 auto;
  background: var(--black);
}

.header-banner {
  display: block;
  width: 100%;
}

/* ---------- Main navigation ---------- */
.main-menu {
  background-color: var(--red);
  max-width: var(--content-width);
  margin: 1px auto;
}

.main-menu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.main-menu li {
  border-right: 3px solid var(--black);
}

.main-menu li:last-child {
  border-right: none;
}

.main-menu a {
  display: block;
  padding: 0 0.9em;
  line-height: 30px;
  font-size: 15px;
  color: var(--white);
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.main-menu a:hover,
.main-menu a:focus {
  background-color: var(--white);
  color: var(--red);
  text-decoration: none;
}

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative;
  max-width: var(--content-width);
  margin: 1px auto;
  background-color: var(--white);
  overflow: hidden;
}

.slider-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 960 / 380;
  overflow: hidden;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.slider-nav:hover {
  background: rgba(255, 255, 255, 0.85);
}

.slider-nav img {
  width: 26px;
  height: 26px;
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--white);
  background: rgba(255, 255, 255, 0.4);
  padding: 0;
  cursor: pointer;
}

.slider-dots button[aria-current="true"] {
  background: var(--white);
}

/* ---------- Content block ---------- */
.content-block {
  max-width: var(--content-width);
  margin: 0 auto;
  background-color: var(--white);
  background-image: linear-gradient(to right, rgba(186, 46, 31, 0.06), rgba(186, 46, 31, 0) 6px);
  text-align: left;
  padding-bottom: 10px;
}

.shout {
  margin: 0;
  padding: 22px 30px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.shout p {
  margin: 0;
  font-size: 16px;
  font-style: italic;
  color: var(--text);
}

.services {
  list-style: none;
  margin: 0;
  padding: 20px 25px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.services li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: justify;
}

.services img {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}

.services h2 {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 6px;
  color: var(--black);
}

.services h2 a {
  color: var(--black);
}

.services p {
  margin: 0;
  font-size: 13px;
  color: var(--text);
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--content-width);
  margin: 3px auto 0;
  background: linear-gradient(120deg, var(--black) 0%, var(--red-dark) 55%, var(--red) 100%);
  color: var(--white);
  padding: 22px 30px;
}

.footer-inner {
  max-width: 600px;
  margin-left: auto;
}

.footer-brand {
  font-family: var(--font-brand);
  color: var(--red);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
}

.site-footer p {
  margin: 0 0 4px;
  font-size: 12px;
}

.site-footer a {
  color: var(--white);
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .site-header,
  .main-menu,
  .hero-slider,
  .content-block,
  .site-footer {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .main-menu a {
    font-size: 13px;
    padding: 0 0.6em;
  }

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

  .footer-inner {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .main-menu ul {
    flex-direction: column;
  }

  .main-menu li {
    border-right: none;
    border-bottom: 1px solid var(--black);
  }

  .services {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .shout {
    padding: 18px 16px;
  }
}
