/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #333;
  padding-top: 80px;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}
header .logo {
  height: 120px;
}
nav {
  display: flex;
  gap: 1.5rem;
}
nav a {
  color: #fff;
  font-weight: bold;
}
nav a.active {
  text-decoration: underline;
}

/* Hero */
.hero {
  position: relative;
  margin-top: 0;
}
.hero-img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}
.hero-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: rgba(255,255,255,0.85);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}
.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: .5rem;
}
.hero-text p {
  font-size: 1rem;
}

/* Reservation (Homepage) */
#form-section {
  padding: 3rem 1rem;
}
.reservation-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
/* Carte et formulaire à même hauteur */
.reservation-container {
  display: flex;
  align-items: stretch;
  gap: 2rem;
}
.form-column,
.map-column {
  flex: 1;
  min-width: 300px;
}
.map-column {
  display: flex;
}
.map-column #map {
  flex: 1;
  width: 100% !important;
  height: 100% !important;
  border-radius: 8px;
  overflow: hidden;
}

#reservation-form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
#reservation-form input,
#reservation-form select,
#reservation-form textarea {
  width: 100%;
  padding: .75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #000;
}
#reservation-form button {
  padding: .75rem;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background .3s;
}
#reservation-form button:hover {
  background: #333;
}

/* Services & Véhicules */
#services,
#vehicules {
  background: #000;
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}
/* Vos 5 lignes centrées */
.services-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
  line-height: 1.6;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.card {
  background: #111;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 300px;
  text-align: left;
}
.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
  text-transform: capitalize;
}
.card p {
  font-size: .95rem;
  line-height: 1.4;
}

/* À propos de nous (Homepage) */
.page-section#about {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}
.page-section#about h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
.about-img {
  max-width: 500px;
  width: 100%;
  border-radius: 8px;
}
.about-text {
  max-width: 600px;
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Contact (Scoped) */
.contact-page {
  background: #fff;
  color: #000;
}
.contact-page #contact {
  padding: 4rem 1rem;
  text-align: center;
}
.contact-page #contact h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.contact-page .contact-text {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  background: #fff;
  padding: 0 1rem;
  color: #000;
}
.contact-page .contact-form-container {
  max-width: 600px;
  margin: 0 auto 2rem;
  padding: 1rem;
  border: 1px solid #000;
  background: #fff;
  border-radius: 4px;
}
.contact-page #contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-page #contact-form input,
.contact-page #contact-form textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  resize: vertical;
}
.contact-page #contact-form textarea {
  height: 150px;
}
.contact-page #contact-form button {
  align-self: center;
  padding: .75rem 2rem;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .3s;
}
.contact-page #contact-form button:hover {
  background: #333;
}

/* Agrandissement du formulaire de contact */
.contact-form-container {
  max-width: 800px;
  width: 90%;
  margin: 0 auto 2rem;
}
.contact-form-container input,
.contact-form-container textarea {
  width: 100%;
  font-size: 1rem;
  padding: .75rem 1rem;
  border-radius: 4px;
}
.contact-form-container textarea {
  height: 200px;
}
.contact-page .contact-form-container {
  max-width: 800px;     /* plus large que 600px par défaut */
  width: 90%;           /* largeur responsive, centré */
  margin: 0 auto 2rem;
}
.contact-page #contact-form input,
.contact-page #contact-form textarea {
  width: 100%;          /* champ plein largeur */
  font-size: 1rem;
  padding: .75rem 1rem;
}
.contact-page #contact-form textarea {
  height: 200px;        /* plus grand pour le message */
}

/* Footer */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  font-size: .9rem;
}
footer a {
  color: #fff;
  text-decoration: underline;
}

/* === AJOUT : Agrandissement du formulaire de contact === */
.contact-page .contact-form-container {
  max-width: 800px;     /* plus large que 600px par défaut */
  width: 90%;           /* largeur responsive, centré */
  margin: 0 auto 2rem;
}
.contact-page #contact-form input,
.contact-page #contact-form textarea {
  width: 100%;          /* champ plein largeur */
  font-size: 1rem;
  padding: .75rem 1rem;
}
.contact-page #contact-form textarea {
  height: 200px;        /* plus grand pour le message */
}

/* Blog Images */
.post-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 8px;
}
/* === AJOUT Section Partenaires Centrée & Logos Minuscules === */
footer .partenaires {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
}
footer .partenaires h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
footer .partenaires .logos {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}
footer .partenaires .logos img {
  max-height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.2s;
}
footer .partenaires .logos img:hover {
  transform: scale(1.1);
}
/* === AJUSTEMENTS PARTENAIRES === */
.partenaires {
  max-width: 800px;      /* largeur max de la bande */
  margin: 3rem auto 2rem;/* espace vertical + centrage horizontal */
  text-align: center;    /* titre centré */
}
.partenaires h3 {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1rem;
}
.partenaires .logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;           /* espacement entre logos */
  align-items: center;
}
.partenaires .logos img {
  height: 90px;          /* hauteur uniforme */
  width: auto;
  object-fit: contain;
  filter: none;          /* si tu veux les couleurs d’origine */
  transition: transform .2s;
}
.partenaires .logos img:hover {
  transform: scale(1.1);
}
/* === STYLES PIED-DE-PAGE === */
.site-footer {
  background: #111;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}
.site-footer .footer-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.site-footer .footer-brand h2 {
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}
.site-footer .footer-brand p {
  font-size: 0.95rem;
}
.site-footer .footer-brand a {
  color: #fff;
  text-decoration: underline;
}
.site-footer .footer-nav a {
  color: #ccc;
  margin: 0 .5rem;
  font-size: 0.9rem;
}
.site-footer .footer-nav a:hover {
  color: #fff;
}
.site-footer .footer-legal small {
  color: #777;
  font-size: 0.8rem;
}
