/* ───────────────────────────────────────────────────────────────────────── */
/*                                 FOND GÉNÉRAL                              */
/* ───────────────────────────────────────────────────────────────────────── */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f0f5;
  color: #333;
  line-height: 1.6;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                             BARRE DE NAVIGATION                           */
/* ───────────────────────────────────────────────────────────────────────── */
.navbar {
  background-color: #222;
  display: flex;
  justify-content: center;
  padding: 1em 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  margin: 0 1.2em;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffcc00;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                            SECTIONS HERO / HEADER                           */
/* ───────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  text-align: center;
  color: #fff;
}

.hero-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 0.3em;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1em;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.hero-buttons .btn {
  margin: 0.5em;
}

/* Style des en-têtes de pages secondaires */
.header {
  background-color: #333;
  color: #fff;
  padding: 2.5em 1em;
  text-align: center;
}

.header h1 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}

.header p {
  font-size: 1.1rem;
}

/* Spécifique à services.html */
.header-services {
  background-color: #444;
}

/* Spécifique à contact.html */
.header-contact {
  background-color: #555;
}

/* Spécifique à galerie.html */
.header-galerie {
  background-color: #666;
}

/* Spécifique à avis.html */
.header-avis {
  background-color: #333;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                              SECTION PRÉSENTATION                          */
/* ───────────────────────────────────────────────────────────────────────── */
.presentation {
  background-color: #fff;
  max-width: 900px;
  margin: 2em auto;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
}

.presentation h2 {
  color: #222;
  margin-bottom: 0.5em;
}

.presentation p {
  font-size: 1rem;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                              SECTION SERVICES                              */
/* ───────────────────────────────────────────────────────────────────────── */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5em;
  max-width: 1200px;
  margin: 2em auto;
  padding: 0 1em;
}

.service-card {
  background-color: #fff;
  border-left: 6px solid #ffcc00;
  padding: 1.5em;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card h2 {
  margin-top: 0;
  color: #222;
}

.service-card p {
  margin-bottom: 0;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                             SECTION CONTACT                               */
/* ───────────────────────────────────────────────────────────────────────── */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 2em auto;
  gap: 2em;
  padding: 0 1em;
}

.contact-details,
.contact-form {
  background-color: #fff;
  flex: 1 1 350px;
  padding: 1.5em;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.contact-details h2,
.contact-form h2 {
  margin-top: 0;
  color: #222;
}

.contact-details p,
.contact-form p,
.contact-form label {
  margin-bottom: 0.8em;
  color: #444;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form .btn-primary {
  background-color: #ffcc00;
  color: #222;
  border: none;
  padding: 0.8em 1.5em;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.contact-form .btn-primary:hover {
  background-color: #e6b800;
}

/* Section de la carte */
.map-section {
  max-width: 900px;
  margin: 2em auto;
  padding: 0 1em;
  text-align: center;
}

.map-container {
  width: 100%;
  border: 4px solid #ffcc00;
  border-radius: 8px;
  overflow: hidden;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                             SECTION GALERIE                                */
/* ───────────────────────────────────────────────────────────────────────── */
.gallery-section {
  max-width: 1200px;
  margin: 2em auto;
  padding: 0 1em;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5em;
}

.gallery-item {
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item p {
  margin: 0.5em 0;
  padding: 0 0.8em;
  color: #444;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                             SECTION AVIS                                  */
/* ───────────────────────────────────────────────────────────────────────── */
.avis-section {
  max-width: 800px;
  margin: 2em auto;
  padding: 0 1em;
}

.avis-card {
  background-color: #fff;
  padding: 1.5em;
  margin-bottom: 1.2em;
  border-left: 6px solid #ffcc00;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.quote {
  font-style: italic;
  color: #333;
}

.author {
  text-align: right;
  font-weight: bold;
  color: #222;
}

.avis-form-section {
  background-color: #fff;
  max-width: 800px;
  margin: 2em auto;
  padding: 2em 1.5em;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.avis-form-section h2 {
  color: #222;
  margin-bottom: 1em;
}

.avis-form-section label {
  display: block;
  margin-bottom: 0.5em;
  color: #444;
}

.avis-form-section input,
.avis-form-section textarea {
  width: 100%;
  padding: 0.8em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.avis-form-section .btn-primary {
  background-color: #ffcc00;
  color: #222;
  border: none;
  padding: 0.8em 1.5em;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.avis-form-section .btn-primary:hover {
  background-color: #e6b800;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                                 PIED DE PAGE                              */
/* ───────────────────────────────────────────────────────────────────────── */
.footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 2em 1em;
  margin-top: 3em;
}

.footer-socials {
  margin-bottom: 1em;
}

.footer-socials p {
  display: inline;
  margin-right: 0.5em;
  font-weight: bold;
}

.footer-socials a {
  color: #ffcc00;
  text-decoration: none;
  margin: 0 0.5em;
}

.footer-socials a:hover {
  text-decoration: underline;
}

/* ───────────────────────────────────────────────────────────────────────── */
/*                                RÉSPONSIVE                                */
/* ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .contact-section {
    flex-direction: column;
    padding: 0 1em;
  }
}
.contact-info, .opening-hours, .contact-form {
  max-width: 800px;
  margin: 2em auto;
  padding: 0 1em;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 1em;
  font-weight: bold;
}

.contact-form input, .contact-form textarea {
  padding: 0.5em;
  margin-top: 0.3em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  margin-top: 1em;
  padding: 0.7em;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.gallery-section {
  padding: 2em;
  background-color: #f9f9f9;
  text-align: center;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: center;
}

.gallery-item {
  width: 280px;
  background: #fff;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.gallery-item p {
  margin-top: 0.5em;
  font-weight: 500;
}
.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.gallery-item {
  width: 300px;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}
