/* Reset et base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #0c0f0a;
  color: #d4c597;
  font-family: "Georgia", serif;
  /* Passe en flex-column sans centrage vertical */
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 20px;
  position: relative;
}

/* Background flou avec 3 images */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: url("image1.jpg"), url("image2.jpg"), url("image3.jpg");
  background-repeat: no-repeat;
  background-position: left center, center center, right center;
  background-size: 33% auto, 33% auto, 33% auto;
  opacity: 0.15;
  filter: blur(6px);
  pointer-events: none;
}

/* Logo */
img {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

/* Titres principaux */
h1 {
  font-size: 2rem;
  font-weight: normal;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

/* Conteneurs principaux (horaires, adresse, réseaux) */
.horaires,
.adresse,
.reseaux,
.presentation {
  box-sizing: border-box;
  width: 100%;
  max-width: 600px;
  background-color: rgba(212, 197, 151, 0.05);
  border: 1px solid rgba(212, 197, 151, 0.3);
  padding: 20px 25px;
  border-radius: 10px;
  margin-top: 25px;
  text-align: center;
  color: #d4c597;
  position: relative;
  z-index: 1;
}

/* Titres dans les sections */
.horaires h2,
.adresse h2,
.presentation h2,
.reseaux p {
  color: #e0d6b5;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Table des horaires */
.horaires table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.horaires td {
  padding: 8px 15px;
  border-bottom: 1px solid rgba(212, 197, 151, 0.2);
}

.jour {
  text-align: left;
  font-weight: 600;
}

.heure {
  text-align: right;
  font-style: italic;
  white-space: nowrap;
}

/* Réseaux sociaux */
.reseaux a {
  display: inline-block;
  margin: 0 10px;
  color: #d4c597;
  transition: transform 0.2s ease, color 0.3s ease;
}

.reseaux a:hover,
.reseaux a:focus {
  transform: scale(1.1);
  color: #ffffff;
  outline: none;
}

.reseaux svg {
  stroke: currentColor;
  width: 32px;
  height: 32px;
}

/* Iframe carte */
.adresse iframe {
  margin-top: 10px;
  border: none;
  border-radius: 8px;
  max-width: 100%;
  height: 200px;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }
  .horaires table {
    font-size: 0.9rem;
  }
  .horaires td {
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  .horaires,
  .adresse,
  .reseaux,
  .presentation {
    max-width: 90vw;
    padding: 15px 15px;
  }

  .adresse iframe {
    height: 250px;
  }
}
