/*
Theme Name: Federal Business Transit
Author: Alex
Version: 1.0
*/

/* Variables globales */
:root {
  --primary-color: #02b8dd;
  --secondary-color: #ff7a00;
  --text-color: #444;
  --background-color: #efefef;
}

/* Réinitialisation des marges et paddings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corps de la page */
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  overflow-x: hidden; /* Empêche le défilement horizontal */
  color: var(--text-color);
}

/* Liens */
a {
  text-decoration: none;
  color: var(--text-color);
}

/* Titres */
h1 {
  font-family: 'Crete Round', serif;
  color: var(--text-color);
}

h2, h4 {
  text-transform: uppercase;
}

h2 {
  font-size: 55px;
  color: #fff;
  text-align: center;
}

h4 {
  font-size: 20px;
  color: var(--text-color);
}

/* Paragraphes */
p {
  line-height: 1.5;
  color: #777;
}

/* Couleurs spécifiques */
.orange {
  color: var(--secondary-color);
}

.green {
  color: #00a651;
}

/* Header */
header {
  height: 120px;
}

header h1 {
  margin-top: 32px;
  font-size: 45px;
}

header nav {
  margin-top: 50px;
}

header nav ul {
  list-style: none;
}

header nav ul li {
  display: inline-block;
}

header nav ul li a {
  text-transform: uppercase;
  font-weight: bold;
  margin-right: 20px;
}

/* Wrapper */
.wrapper {
  width: 100%; /* Assurez-vous que le conteneur a une largeur définie */
  overflow: hidden; /* Permet au conteneur d'englober les éléments flottants */
  padding: 0 10px;
}

.wrapper2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;
  padding: 0 60px;
}

/* Image principale */
#main-image {
  height: 100vh;
  background: url('https://federalbusinesstransit.com/wp-content/themes/votre-theme/images/pexels-tomfisk-3856440.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

#main-image h2 {
  font-weight: normal;
  text-align: center;
  padding: 150px 0 40px 0;
  margin-bottom: 20px;
}

/* Boutons */
.button-1, .button-2, .button-3 {
  display: block;
  text-align: center;
  color: #fff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.button-1 {
  height: 50px;
  width: 150px;
  background-color: var(--secondary-color);
  font-size: 20px;
  line-height: 50px;
  margin: 0 auto;
}

.button-2 {
  height: 50px;
  width: 120px;
  background-color: var(--secondary-color);
  font-size: 16px;
  line-height: 20px;
  padding-top: 7px;
  margin: 0 auto;
}

.button-3 {
  font-size: 15px;
  padding: 10px 20px;
  background-color: var(--primary-color);
  border: none;
  margin: 30px auto 0;
}

.button-1:hover, .button-2:hover, .button-3:hover {
  background-color: var(--primary-color);
}

/* Section Steps */
#custom-steps {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 80px 0;
}

#custom-steps ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}

#custom-steps h4 {
  margin-bottom: 10px;
}

#steps-1, #steps-2, #steps-3, #steps-4 {
  width: 280px;
  height: 300px;
  margin: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 3px;
}

#steps-1 {
  background: url('https://federalbusinesstransit.com/wp-content/themes/votre-theme/images/pexels-julius-silver-240301-753331.jpg');
}

#steps-2 {
  background: url('https://federalbusinesstransit.com/wp-content/themes/votre-theme/images/pexels-ron-pedersen-115813525-9765261.jpg');
}

#steps-3 {
  background: url('https://federalbusinesstransit.com/wp-content/themes/votre-theme/images/pexels-alenka-shalievskaya-3374375-10359129.jpg');
}

#steps-4 {
  background: url('https://federalbusinesstransit.com/wp-content/themes/votre-theme/images/pexels-joseph-russo-430180075-31285265.jpg');
}

/* Clearfix */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Section Possibilities */
#Possibilities {
  background-color: #efefef;
  padding: 60px 0;
}

#Possibilities article {
  width: 460px;
   height: 270px;
   float: left;
   border-radius: 10px;
}

#Possibilities article:last-child {
  margin-right: 0; /* Supprimez la marge pour le dernier article */
}

.float-left {
  float: left;
}

#Possibilities article:first-child {
  margin-right: 20px; /* Ajout d'un espace de 20px après le premier article */
}
.custom-overlay {
  background: rgba(255, 255, 255, 0.6);
    border-radius:0 0 10px 10px;
    height: 40%;
    width: 280px; /* Ajuster la largeur pour correspondre à celle des steps */
}

/* Possibilities Heading */
#Possibilities h4 {
  border-bottom : 1px solid #ddd; /* Ajout d'une bordure inférieure de 1px solide */
   text-align: center; /* Alignement du texte centré */
   padding: 20px; /* Ajout d'un padding de 20px */
   
 }
 
 /* Possibilities Paragraph */
 #Possibilities article p {
   margin-top: 20px; /* Ajout d'un margin-top de 20px aux paragraphes des articles */
   text-align: center; /* Alignement du texte centré */
   padding-bottom: 10px; /* Ajout d'un padding-bottom de 10px */
   font-style: italic; /* Rendre le texte en italique */
   ;
 }

/* Section Contact */
#custom-contact {
  text-align: center;
  padding: 60px 0;
}

#custom-contact h3 {
  margin: 0 auto 20px auto;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--primary-color);
  width: 400px;
  text-transform: uppercase;
  color: var(--text-color);
}

#custom-contact p {
  padding-bottom: 40px;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

form label {
  display: block;
  width: 100%;
  max-width: 400px;
  text-align: left;
  margin-bottom: 5px;
  font-size: 18px;
  color: #777;
  font-weight: bold;
}

form input[type="text"], form input[type="email"] {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Footer */
footer {
  text-align: center;
  background-color: #444;
  padding: 60px 0;
}

footer h1 {
  color: rgba(255, 255, 255);
  font-size: 45px;
}

/* Media Queries */
@media (max-width: 1000px) {
  .menu-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  nav ul.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  nav ul li {
    margin: 10px 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .wrapper, .wrapper2 {
    width: 100%;
    padding: 0 15px;
    flex-direction: column;
    align-items: flex-start;
  }

  header h1 {
    font-size: 28px;
    margin-top: 10px;
  }

  #steps ul, #steps {
    flex-direction: column;
    align-items: center;
  }

  #steps-1, #steps-2, #steps-3, #steps-4 {
    width: 90%;
    height: auto;
  }

  #Possibilities article {
    width: 100%; /* Les articles s'empilent verticalement */
    float: none; /* Désactive le float sur les petits écrans */
  }

  #Possibilities article {
    width: 90%;
    height: auto;
    margin: 20px auto;
  }

  .overlay, .overlay2 {
    width: 100%;
    border-radius: 10px;
  }

  #Contact h3, .horaire-carte {
    width: 90%;
  }

  form input[type="text"], form input[type="email"] {
    max-width: 90%;
  }

  footer h1 {
    font-size: 24px;
  }
}
.custom-horaires{
  background-color: #f0f5ff;
   padding: 60px 0px;
   text-align: center;
   margin-top: 10px;

}

.custom-horaire-carte{
  background-color: #fff;
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;

}
.custom-horaire-carte h3{
  font-size: 28px;
    color: #003366;
}
.custom-horaire-carte p{
  font-size: 16px;
  color: #333;
  margin: 5px 0;
}
.overlay{
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px 0 0 10px; /* Arrondi les bords de gauche */
  height: 100%;
  width: 230px;
}

.image-bloc {
  width: 100%;
  height: 100%;
  background: url('images/pexels-tima-miroshnichenko-6169634.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block; /* Remplacez flex par block */
}

.image-bloc2{
  width: 100%;
  height: 100%;
  background: url('images/pexels-sagar-waghela-3392402-5777341.jpg') center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block; /* Remplacez flex par block */
}

