/* Fichier CSS : bresseavelo.css */

body {
  font-family: 'Roboto Slab', serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #e3f5d0;
  color: #333;
}

header {
  background: #c1d5a4;
  padding: 1em;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 2em;
  flex-wrap: wrap;
}

header img.logo {
  width: 180px;
  height: auto;
  margin-bottom: 0;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

}

.header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  margin-left: auto;
  padding-right: 2em;
}

header h1 {
  margin: 0;
  font-size: 2.5em;
  font-family: 'Great Vibes', cursive;
}

header p {
  font-family: 'Great Vibes', cursive;
  font-size: 1.4em;
  margin: 0.5em 0 0;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-text {
    align-items: center;
  }
}

nav {
  background: #7b9e4e;
  color: white;
  padding: 1em;
  text-align: center;
}

nav a {
  color: white;
  margin: 0 1em;
  text-decoration: none;
}

section {
  padding: 2em;
  max-width: 800px;
  margin: auto;
}

.hero {
  background: #dcebd0;
  height: 400px;
  margin-bottom: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.extra-image {
  text-align: center;
  margin: 2em 0;
}

.extra-image img {
  max-width: 90%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.extra-image img:hover {
  transform: scale(1.02);
}

footer {
  background: #c1d5a4;
  color: #333;
  text-align: center;
  padding: 2em 1em;
  font-size: 0.95em;
  font-family: 'Roboto Slab', serif;
  border-top: 1px solid #a4b78b;
  letter-spacing: 0.3px;
}

footer br {
  display: block;
  margin-top: 0.5em;
}

iframe {
  width: 100%;
  height: 600px;
  border: none;
}

.circuit-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.2em;
  margin-bottom: 2em;
  background-color: #f9f9f9;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.05);
}

.circuit-card h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.3em;
  margin-top: 0;
}

.circuit-card p {
  margin: 0.4em 0;
  line-height: 1.5;
}

.circuit-card a {
  color: #446644;
  font-weight: bold;
  text-decoration: none;
}

.circuit-card a:hover {
  text-decoration: underline;
}

.bike-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
  margin-top: 1em;
}

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

.bike-gallery img:hover {
  transform: scale(1.03);
}

/* Style général pour la section tarifs */
#tarifs {
  padding: 2em;
  background-color: #fdfbf7;
  font-family: 'Roboto Slab', serif;
}

/* Style général pour la section tarifs */
#tarifs {
  padding: 2em;
  background-color: #fdfbf7;
  font-family: 'Roboto Slab', serif;
}

/* Table de tarifs */
#tarifs table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: 1.1em;
}

#tarifs th,
#tarifs td {
  border: 1px solid #ccc;
  padding: 0.75em 1em;
  text-align: left;
}

#tarifs th {
  background-color: #f2e9dc;
  color: #333;
  font-weight: bold;
}

#tarifs td {
  background-color: #fff;
}

/* Titres secondaires (option panier, autres options) */
#tarifs h3 {
  margin-top: 1.5em;
  font-size: 1.2em;
  color: #5e422b;
}

/* Paragraphe d’explication */
#tarifs p {
  line-height: 1.6;
  margin-bottom: 1em;
  color: #444;
}

/* Liste des options */
#tarifs ul {
  list-style-type: disc;
  margin-left: 1.5em;
  color: #444;
}

#tarifs strong {
  color: #000;
}

#tarifs em {
  color: #666;
  font-style: italic;
}


#tarifs em {
  color: #666;
  font-style: italic;
}

.section-image {
  display: flex;
  justify-content: center;
  margin: 2em 0;
}

.section-image img {
  max-width: 33%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carte-cyclo {
  text-align: center;
  font-size: 1.1em;
  margin: 2em 0;
  color: #333;
}

.carte-cyclo a {
  color: #446644;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px dashed #aaa;
  transition: color 0.3s ease;
}

.carte-cyclo a:hover {
  color: #2e4c2e;
  border-bottom: 1px solid #446644;
}

.carte-cyclo small {
  font-size: 0.9em;
  color: #555;
}

.carte-cyclo small a {
  color: #446644;
  text-decoration: none;
  border-bottom: 1px dashed #aaa;
}

.carte-cyclo small a:hover {
  color: #2e4c2e;
  border-bottom: 1px solid #446644;
}

@media (max-width: 600px) {
  body {
    font-size: 1em;
    padding: 0;
  }

  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1em;
  }

  .header-text {
    align-items: center;
    padding-right: 0;
    text-align: center;
    margin-left: 0;
  }

  header h1 {
    font-size: 2em;
  }

  header p {
    font-size: 1.2em;
  }

  nav {
    font-size: 1em;
    padding: 0.8em 0.5em;
  }

  nav a {
    display: inline-block;
    margin: 0.5em 0.7em;
  }

  .hero {
    height: auto;
    padding: 1em;
  }

  .section-image img {
    max-width: 80%;
  }

  #tarifs table {
    font-size: 1em;
  }

  .extra-image img {
    max-width: 100%;
  }

  footer {
    font-size: 0.9em;
    padding: 1.5em 1em;
    line-height: 1.5;
  }
}

/* NAVIGATION HAMBURGER */
.mobile-nav {
  background: #7b9e4e;
  text-align: center;
  position: relative;
  z-index: 1000;
}

.menu-icon {
  display: none;
  font-size: 2em;
  color: white;
  padding: 0.5em 1em;
  cursor: pointer;
}

.menu-links {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-links li {
  margin: 0.5em 1em;
}

.menu-links a {
  color: white;
  text-decoration: none;
  font-size: 1em;
}

/* VERSION MOBILE */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

.menu-links {
  max-height: 0;
  overflow: hidden;
  flex-direction: column;
  background: #7b9e4e;
  width: 100%;
  transition: max-height 0.4s ease;
}

#menu-toggle:checked + .menu-icon + .menu-links {
  max-height: 500px; /* ou ajuster selon nombre de liens */
}

.menu-links li {
  margin: 1em 0;
}
#menu-toggle {
  display: none;
}

	}
#menu-toggle {
  display: none;
}

.back-to-top {
  position: fixed;
  bottom: 1.5em;
  right: 1.5em;
  background: #7b9e4e;
  color: white;
  font-size: 1.5em;
  padding: 0.2em 0.6em;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  background: #5c7c3c;
}

.show-back-to-top {
  opacity: 1;
  pointer-events: auto;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 2em;
  border-radius: 10px;
  text-align: center;
  max-width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  font-family: 'Roboto Slab', serif;
}

.popup-content p {
  margin-bottom: 1em;
  font-size: 1.1em;
}

.popup-content button {
  background: #7b9e4e;
  color: white;
  border: none;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
}

.popup-content button:hover {
  background: #668a3c;
}
