/* Global */
:root {
  --orange-color: #ff6600;
  --coral-color: #ff7f50;
  --blue-color: #006699;
  --teal-color: #008080;
  --gray-color: #808080;
  --background-section: #f5f5f5;
  --padding-top: 80px;
  --padding-bottom: 80px;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 100%;
}

/* Responsive container widths */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

.logo {
  width: 90px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .logo {
    width: 60px;
  }
}

/* Main Title Responsive */
.main-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--coral-color);
  text-align: center;
  letter-spacing: 1.2;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 18px;
  transition: color 0.8s ease, transform 0.8s ease, text-shadow 0.8s ease;
  -webkit-transition: color 0.8s ease, transform 0.8s ease,
    text-shadow 0.8s ease;
  -moz-transition: color 0.8s ease, transform 0.8s ease, text-shadow 0.8s ease;
  -ms-transition: color 0.8s ease, transform 0.8s ease, text-shadow 0.8s ease;
  -o-transition: color 0.8s ease, transform 0.8s ease, text-shadow 0.8s ease;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2), 4px 4px 0px rgba(0, 0, 0, 0.15),
    6px 6px 8px rgba(0, 0, 0, 0.1);
}

.main-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, var(--blue-color), var(--teal-color));
  border-radius: 2px;
  transition: width 0.8s ease;
  -webkit-transition: width 0.8s ease;
  -moz-transition: width 0.8s ease;
  -ms-transition: width 0.8s ease;
  -o-transition: width 0.8s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.main-title:hover {
  transform: translateY(-4px);
  -webkit-transform: translateY(-4px);
  -moz-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  -o-transform: translateY(-4px);
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.25), 5px 5px 0px rgba(0, 0, 0, 0.2),
    8px 8px 10px rgba(0, 0, 0, 0.15);
}

/* Mobile First Adjustments */
@media (max-width: 768px) {
  .main-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2), 2px 2px 0px rgba(0, 0, 0, 0.15),
      4px 4px 6px rgba(0, 0, 0, 0.1);
  }
  .main-title::after {
    width: 100px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 576px) {
  .main-title {
    font-size: 20px;
    padding-bottom: 15px;
  }
  .main-title::after {
    width: 80px;
    height: 4px;
  }
}

/* Sub Title */
.sub-title {
  font-size: 25px;
  font-weight: 600;
  color: var(--blue-color);
  margin-top: 30px;
  margin-bottom: 16px;
  position: relative;
  padding-left: 15px;
  padding-right: 10px;
  transition: color 0.5s ease, transform 0.5s ease;
  -webkit-transition: color 0.5s ease, transform 0.5s ease;
  -moz-transition: color 0.5s ease, transform 0.5s ease;
  -ms-transition: color 0.5s ease, transform 0.5s ease;
  -o-transition: color 0.5s ease, transform 0.5s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.sub-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(180deg, var(--orange-color), var(--coral-color));
  border-radius: 2px;
}

[dir="rtl"] .sub-title::before {
  left: unset;
  right: 0;
}

.sub-title:hover {
  color: var(--teal-color);
  transform: translateX(5px);
}

[dir="rtl"] .sub-title:hover {
  transform: translateX(-5px);
}

@media (max-width: 768px) {
  .sub-title {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 12px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 576px) {
  .sub-title {
    font-size: 20px;
    padding-left: 12px;
  }
}

/* Intro Text */
.intro-text {
  font-size: 19px;
  font-weight: 500;
  color: var(--blue-color);
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .intro-text {
    font-size: 17px;
    margin-bottom: 25px;
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  .intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
}

/* Lists */
.list {
  margin-bottom: 24px;
  padding-left: 20px;
}

.list li {
  position: relative;
  padding-left: 24px;
  padding-right: 24px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
}

.list li::before {
  content: "•";
  position: absolute;
  color: var(--coral-color);
  font-size: 20px;
  left: 0;
}

[dir="rtl"] .list li::before {
  left: unset;
  right: 0;
}

[dir="rtl"] .list {
  padding-left: 0;
  padding-right: 20px;
}

@media (max-width: 768px) {
  .list li {
    font-size: 15px;
    padding-left: 20px;
    padding-right: 10px;
  }
}

@media (max-width: 576px) {
  .list li {
    font-size: 14px;
    padding-left: 18px;
    padding-right: 5px;
    margin-bottom: 8px;
  }
}

/* Why Choose Section */
.why-choose {
  margin-top: 20px;
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  max-width: 100%;
  padding: 20px 15px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.why-choose div {
  padding: 10px;
}

.why-choose div h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--coral-color);
}

.why-choose div p {
  color: #333;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .why-choose {
    padding: 15px 10px;
    gap: 15px;
  }
  .why-choose div h4 {
    font-size: 16px;
  }
  .why-choose div p {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .why-choose {
    grid-template-columns: 1fr;
    padding: 10px;
  }
}

/* RTL Support */
[dir="rtl"] .container,
[dir="rtl"] .propos-content,
[dir="rtl"] .services,
[dir="rtl"] .circuits,
[dir="rtl"] .gares,
[dir="rtl"] .parking,
[dir="rtl"] .references,
[dir="rtl"] .footer {
  text-align: right;
}

[dir="rtl"] .language-dropdown {
  left: unset;
  right: 0;
}

[dir="rtl"] nav a {
  margin-left: 0;
  margin-right: 20px;
}

[dir="rtl"] .modal-content {
  text-align: right;
}

/* Header Responsive */
header {
  width: 100%;
  min-height: 69px;
  background-color: white;
  z-index: 9999;
  position: fixed;
  box-shadow: 0 0 20px var(--gray-color);
  display: flex;
  align-items: center;
}

header .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Mobile Menu */
header .container .menu-bar {
  display: none;
  cursor: pointer;
  width: 25px;
  height: 25px;
  position: relative;
}

header .container .menu-bar .burger-icon {
  display: block;
  width: 25px;
  height: 25px;
  position: relative;
}

header .container .menu-bar .burger-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--orange-color);
  position: absolute;
  left: 0;
  transition: all 0.8s ease;
  -webkit-transition: all 0.8s ease;
  -moz-transition: all 0.8s ease;
  -ms-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
}

header .container .menu-bar .burger-icon span:nth-child(1) {
  top: 2px;
}

header .container .menu-bar .burger-icon span:nth-child(2) {
  top: 10px;
}

header .container .menu-bar .burger-icon span:nth-child(3) {
  top: 18px;
}

header .container .menu-bar .burger-icon.active span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

header .container .menu-bar .burger-icon.active span:nth-child(2) {
  opacity: 0;
}

header .container .menu-bar .burger-icon.active span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

/* Navigation */
header .container nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  margin-right: 15px;
  transition: all 0.3s ease;
}

[dir="rtl"] header .container nav {
  margin-left: 15px;
  margin-right: auto;
}

header .container nav .nav-link {
  padding: 25px 10px;
  color: var(--coral-color);
  font-weight: 500;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.8s ease;
  -webkit-transition: all 0.8s ease;
  -moz-transition: all 0.8s ease;
  -ms-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
  white-space: nowrap;
}

header .container nav .nav-link i {
  margin-right: 5px;
}

[dir="rtl"] header .container nav .nav-link i {
  margin-right: 0;
  margin-left: 5px;
}

header .container nav .nav-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--blue-color);
  left: -100%;
  bottom: 0;
  transition: all 0.8s ease;
}

header .container nav .nav-link:hover {
  background-color: var(--background-section);
  color: var(--blue-color);
}

header .container nav .nav-link:hover::after {
  left: 0;
}

/* Language Dropdown */
header .container .language {
  position: relative;
  z-index: 1001;
}

header .container .language .language-btn {
  padding: 8px 10px;
  background: linear-gradient(to right, var(--blue-color), var(--teal-color));
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.8s ease, color 0.8s ease;
  white-space: nowrap;
}

header .container .language .language-btn:hover {
  background: linear-gradient(
    to right,
    var(--orange-color),
    var(--coral-color)
  );
  color: black;
}

header .container .language .language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

header .container .language .language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

header .container .language .language-dropdown li {
  border-bottom: 1px solid var(--gray-color);
}

header .container .language .language-dropdown li:last-child {
  border-bottom: none;
}

header .container .language .language-dropdown a {
  display: block;
  padding: 10px 15px;
  color: var(--blue-color);
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.8s;
}

header .container .language .language-dropdown a:hover {
  background-color: var(--background-section);
  color: var(--coral-color);
}

/* Responsive Header */
@media (max-width: 1200px) {
  header .container nav .nav-link {
    padding: 25px 8px;
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  header .container {
    padding: 10px 15px;
  }
  
  header .container nav {
    z-index: 9998;
    position: fixed;
    top: 69px;
    right: -100%;
    width: 300px;
    height: calc(100vh - 69px);
    background-color: var(--blue-color);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.8s ease;
    flex-direction: column;
    padding: 20px 0;
    margin: 0;
    overflow-y: auto;
  }

  header .container nav.active {
    right: 0;
  }

  header .container nav .nav-link {
    padding: 15px 20px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 16px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  header .container nav .nav-link::after {
    background: white;
  }

  header .container nav .nav-link:hover {
    background-color: var(--coral-color);
    color: white;
  }

  header .container .language {
    margin-left: auto;
    margin-right: 20px;
    font-size: 14px;
  }

  header .container .menu-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 3;
  }

  [dir="rtl"] header .container nav {
    right: unset;
    left: -100%;
  }
  
  [dir="rtl"] header .container nav.active {
    left: 0;
  }
}

@media (max-width: 768px) {
  header {
    min-height: 60px;
  }
  
  header .container nav {
    top: 60px;
    height: calc(100vh - 60px);
    width: 280px;
  }
}

@media (max-width: 576px) {
  header .container nav {
    width: 250px;
  }
  
  header .container nav .nav-link {
    padding: 12px 15px;
    font-size: 15px;
  }
}

/* Hero section */
.hero {
    margin-top: 70px; /* Hauteur du header */
    position: relative;
    height: 80vh;
    min-height: 400px;
    max-height: 700px;
    overflow: hidden;
    width: 100%;
}

.slide-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #fff;
}

/* Responsive hero */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        min-height: 300px;
    }
    
    .dots-container {
        bottom: 15px;
        padding: 8px 12px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 50vh;
        min-height: 250px;
        margin-top: 60px;
    }
}

/* Fixed Buttons Responsive */
.fixed-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1001;
}

.fixed-btn {
  display: inline-block;
  padding: 12px 20px;
  background: linear-gradient(
    to right,
    var(--orange-color),
    var(--coral-color)
  );
  color: black;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  text-align: center;
  border-radius: 5px;
  transition: transform 0.8s ease, background 0.8s ease;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fixed-btn:hover {
  color: white;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .fixed-buttons {
    bottom: 15px;
    right: 15px;
  }
  
  .fixed-btn {
    padding: 10px 15px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .fixed-buttons {
    bottom: 10px;
    right: 10px;
  }
  
  .fixed-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* Section Padding Responsive */
.propos, .services, .circuits, .gares, .parking, .references {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
}

@media (max-width: 991px) {
  :root {
    --padding-top: 60px;
    --padding-bottom: 60px;
  }
}

@media (max-width: 768px) {
  :root {
    --padding-top: 50px;
    --padding-bottom: 50px;
  }
}

@media (max-width: 576px) {
  :root {
    --padding-top: 40px;
    --padding-bottom: 40px;
  }
}

/* Propos Section */
.propos {
  background-color: var(--background-section);
}

.propos-content {
  max-width: 800px;
  margin: 0 auto;
  color: #333;
  line-height: 1.6;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.propos-content p {
  font-size: 16px;
  margin-bottom: 24px;
}

@media (max-width: 991px) {
  .propos-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .propos-content {
    padding: 20px;
  }
  
  .propos-content p {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .propos-content {
    padding: 15px;
  }
}

/* Services Cards Responsive */
.services .cards-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 30px;
  margin-top: 60px;
}

.services .cards-content .card {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.8s;
  background-color: white;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.services .cards-content .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.services .cards-content .card .card-icon {
  font-size: 40px;
  text-align: center;
  margin: 0 auto 20px;
  display: block;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(to right, var(--blue-color), var(--teal-color));
}

.services .cards-content .card .card-body {
  flex: 1;
}

.services .cards-content .card .card-body h3 {
  color: var(--coral-color);
  margin-bottom: 15px;
  text-align: center;
  font-size: 22px;
}

.services .cards-content .card .card-body p {
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
}

.services .cards-content .card .card-body h4 {
  color: var(--blue-color);
  margin: 20px 0 10px;
  font-size: 18px;
  font-weight: 600;
}

@media (max-width: 1200px) {
  .services .cards-content {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 991px) {
  .services .cards-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .services .cards-content {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 40px auto 0;
  }
  
  .services .cards-content .card {
    padding: 25px;
  }
  
  .services .cards-content .card .card-body h3 {
    font-size: 20px;
  }
  
  .services .cards-content .card .card-body p {
    font-size: 15px;
  }
  
  .services .cards-content .card .card-body h4 {
    font-size: 17px;
  }
}

@media (max-width: 576px) {
  .services .cards-content {
    gap: 15px;
  }
  
  .services .cards-content .card {
    padding: 20px;
  }
  
  .services .cards-content .card .card-body h3 {
    font-size: 18px;
  }
  
  .services .cards-content .card .card-body h4 {
    font-size: 16px;
  }
}

/* Gares Section */
.gares {
  background-color: white;
}

.gares .gares-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.gares .gares-left,
.gares .gares-right {
  flex: 1;
}

.gares .cards-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 30px;
  margin-top: 40px;
}

.gares .cards-content .card {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.8s;
  background: white;
}

.gares .cards-content .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gares .cards-content .card .card-img {
  width: 100%;
  height: 200px;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.gares .cards-content .card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gares .cards-content .card:hover .card-img img {
  transform: scale(1.05);
}

.gares .cards-content .card .card-body {
  padding: 20px;
}

.gares .cards-content .card .card-body h3 {
  color: var(--coral-color);
  margin-bottom: 10px;
  font-size: 20px;
  text-align: center;
}

.gares .cards-content .card .card-body p {
  color: #333;
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
}

/* Gares Responsive */
@media (max-width: 991px) {
  .gares .gares-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .gares .cards-content {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .gares .cards-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .gares .cards-content .card .card-img {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .gares .cards-content {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 30px auto 0;
  }
  
  .gares .cards-content .card .card-img {
    height: 160px;
  }
  
  .gares .cards-content .card .card-body {
    padding: 15px;
  }
  
  .gares .cards-content .card .card-body h3 {
    font-size: 18px;
  }
}

/* Parking et Circuits Sections */
.parking {
  background-color: var(--background-section);
}

.circuits {
  background-color: white;
}

.parking-content,
.circuit-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  max-width: 1200px;
  margin: 50px auto 0;
}

.parking-text,
.circuit-text {
  flex: 1;
  color: #333;
  line-height: 1.6;
}

.parking-slider,
.circuit-slider {
  flex: 1;
  position: relative;
  max-width: 600px;
}

.parking-slider .parking-slider-container,
.circuit-slider .circuit-slider-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
}

.parking-slider .parking-slider-container .slides,
.circuit-slider .circuit-slider-container .slides {
  width: 100%;
  height: 100%;
}

.parking-slider .parking-slider-container .slides .slide,
.circuit-slider .circuit-slider-container .slides .slide {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
}

.parking-slider .parking-slider-container .slides .slide img,
.circuit-slider .circuit-slider-container .slides .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Style pour l'élément de remplacement en cas d'image manquante */
.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #f8f9fa;
  color: #6c757d;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  border: 2px dashed #dee2e6;
  border-radius: 10px;
}

.parking-slider .parking-slider-container .slide .parking-label,
.circuit-slider .circuit-slider-container .slides .slide .circuit-label {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    to right,
    var(--orange-color),
    var(--coral-color)
  );
  color: black;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  width: 220px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  z-index: 2;
}

.parking-slider .parking-slider-container .prev-btn,
.parking-slider .parking-slider-container .next-btn,
.circuit-slider .circuit-slider-container .prev-btn,
.circuit-slider .circuit-slider-container .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(
    to right,
    var(--orange-color),
    var(--coral-color)
  );
  color: black;
  border: none;
  cursor: pointer;
  font-size: 20px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  z-index: 10;
  transition: 0.8s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.parking-slider .parking-slider-container .prev-btn:hover,
.parking-slider .parking-slider-container .next-btn:hover,
.circuit-slider .circuit-slider-container .prev-btn:hover,
.circuit-slider .circuit-slider-container .next-btn:hover {
  background: linear-gradient(to right, var(--blue-color), var(--teal-color));
  color: white;
}

.parking-slider .parking-slider-container .prev-btn,
.circuit-slider .circuit-slider-container .prev-btn {
  left: 15px;
}

.parking-slider .parking-slider-container .next-btn,
.circuit-slider .circuit-slider-container .next-btn {
  right: 15px;
}

/* Parking/Circuits Responsive */
@media (max-width: 1200px) {
  .parking-content,
  .circuit-content {
    gap: 40px;
  }
  
  .parking-slider .parking-slider-container,
  .circuit-slider .circuit-slider-container {
    height: 350px;
  }
}

@media (max-width: 991px) {
  .parking-content,
  .circuit-content {
    flex-direction: column;
    gap: 40px;
    max-width: 700px;
  }
  
  .parking-slider,
  .circuit-slider {
    width: 100%;
    max-width: 100%;
  }
  
  .parking-slider .parking-slider-container,
  .circuit-slider .circuit-slider-container {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .parking-content,
  .circuit-content {
    gap: 30px;
  }
  
  .parking-slider .parking-slider-container,
  .circuit-slider .circuit-slider-container {
    height: 350px;
  }
  
  .parking-slider .parking-slider-container .prev-btn,
  .circuit-slider .circuit-slider-container .prev-btn,
  .parking-slider .parking-slider-container .next-btn,
  .circuit-slider .circuit-slider-container .next-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .parking-slider .parking-slider-container,
  .circuit-slider .circuit-slider-container {
    height: 250px;
  }
  
  .parking-slider .parking-slider-container .slide .parking-label,
  .circuit-slider .circuit-slider-container .slides .slide .circuit-label {
    top: 15px;
    padding: 8px 15px;
    font-size: 14px;
    width: 180px;
  }
  
  .parking-slider .parking-slider-container .prev-btn,
  .circuit-slider .circuit-slider-container .prev-btn,
  .parking-slider .parking-slider-container .next-btn,
  .circuit-slider .circuit-slider-container .next-btn {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

/* Références Carousel Responsive */
.references {
  background-color: var(--background-section);
}

.horizontal-carousel {
  width: 100%;
  max-width: 1000px;
  margin: 30px auto 0;
  overflow: hidden;
  position: relative;
}

.carousel-inner {
  display: flex;
  width: calc(100% * 2);
  animation: slide 30s linear infinite;
  padding: 10px 0;
}

.carousel-item {
  min-width: 120px;
  height: 120px;
  margin-right: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: white;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 2));
  }
}

/* References Responsive */
@media (max-width: 1200px) {
  .carousel-item {
    min-width: 110px;
    height: 110px;
    margin-right: 25px;
  }
}

@media (max-width: 991px) {
  .carousel-item {
    min-width: 100px;
    height: 100px;
    margin-right: 20px;
  }
}

@media (max-width: 768px) {
  .horizontal-carousel {
    max-width: 600px;
  }
  
  .carousel-item {
    min-width: 80px;
    height: 80px;
    margin-right: 15px;
  }
}

@media (max-width: 576px) {
  .horizontal-carousel {
    max-width: 400px;
  }
  
  .carousel-item {
    min-width: 70px;
    height: 70px;
    margin-right: 10px;
  }
}

/* Footer Responsive */
footer {
  background-color: var(--blue-color);
  color: #ffffff;
  width: 100%;
  padding: 40px 0 20px;
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

footer .info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 30px;
  flex-wrap: wrap;
}

footer .info .left {
  flex: 1;
  min-width: 300px;
  padding-right: 30px;
}

footer .info .left .logo {
  margin: 0 0 25px;
  width: 100px;
}

footer .info .left p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.5;
}

footer .info .left p i {
  color: var(--orange-color);
  min-width: 20px;
}

footer .info .right {
  flex: 1;
  min-width: 300px;
}

footer .info .right iframe {
  width: 100%;
  height: 250px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

footer .copy {
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 20px;
}

/* Footer Responsive */
@media (max-width: 991px) {
  footer .info {
    flex-direction: column;
    gap: 30px;
  }
  
  footer .info .left,
  footer .info .right {
    min-width: 100%;
    padding-right: 0;
  }
  
  footer .info .right iframe {
    height: 200px;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 30px 0 15px;
  }
  
  footer .info .left p {
    font-size: 15px;
  }
  
  footer .info .right iframe {
    height: 180px;
  }
}

@media (max-width: 576px) {
  footer .info .left {
    min-width: 100%;
  }
  
  footer .info .left p {
    font-size: 14px;
    gap: 10px;
  }
  
  footer .info .left .logo {
    width: 80px;
  }
  
  footer .info .right iframe {
    height: 150px;
  }
  
  footer .copy {
    font-size: 13px;
  }
}

/* Contact Modal Responsive */
.modal {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  overflow: auto;
  transition: 0.8s;
}

.modal.active {
  top: 0;
}

.modal-content {
  background-color: white;
  margin: 20px auto;
  padding: 30px;
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-100%);
  transition: 0.8s;
  position: relative;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: var(--gray-color);
  transition: 0.8s;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-btn:hover {
  color: var(--coral-color);
  background-color: rgba(0, 0, 0, 0.05);
}

.modal-content .main-title {
  margin-top: 10px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--blue-color);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 2px solid var(--gray-color);
  border-radius: 6px;
  transition: 0.8s;
  font-family: "Roboto", sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--coral-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 127, 80, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin: 20px auto 0;
  background: linear-gradient(to right, var(--blue-color), var(--teal-color));
  color: white;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.8s;
}

.submit-btn:hover {
  background: linear-gradient(
    to right,
    var(--orange-color),
    var(--coral-color)
  );
  color: black;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

/* Modal Responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 90%;
    padding: 25px 20px;
    margin: 10px auto;
  }
  
  .close-btn {
    top: 10px;
    right: 15px;
    font-size: 24px;
  }
  
  .modal-content .main-title {
    font-size: 22px;
    margin-bottom: 25px;
  }
  
  .form-group label {
    font-size: 15px;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 15px;
  }
  
  .submit-btn {
    padding: 12px;
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .modal-content {
    padding: 20px 15px;
  }
  
  .modal-content .main-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 10px;
    font-size: 14px;
  }
  
  .submit-btn {
    padding: 12px;
    font-size: 15px;
  }
}

/* Message Modal */
.modal.message-modal {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.modal.message-modal.active {
  display: flex;
}

.modal.message-modal .modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  margin: 0;
  transform: none;
}

.modal.message-modal .success-message {
  color: #28a745;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 500;
}

.modal.message-modal .error-message {
  color: #dc3545;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 500;
}

.modal.message-modal button {
  padding: 10px 25px;
  background: linear-gradient(to right, var(--blue-color), var(--teal-color));
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.8s;
}

.modal.message-modal button:hover {
  background: linear-gradient(
    to right,
    var(--orange-color),
    var(--coral-color)
  );
  color: black;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

/* Image Responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--coral-color);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .fixed-buttons,
  .menu-bar,
  .language-btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
  }
  
  .container {
    max-width: 100% !important;
  }
}