/* === STYLES GÉNÉRAUX === */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* === HEADER === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #4CAF50;
  padding: 10px 30px;
  color: white;
  flex-wrap: wrap;
}

header .logo img {
  height: 50px;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  padding: 0;
  margin: 0;
}

header nav ul li a {
  color: white;
  font-weight: bold;
}

#language-selector {
  padding: 5px;
  border-radius: 4px;
  margin-top: 10px;
}

/* === SLIDER === */
.slider {
  position: relative;
  overflow: hidden;
  height: 400px;
  background-color: #000;
}

.slider img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider img.active {
  opacity: 1;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px;
  cursor: pointer;
  z-index: 2;
}

.slider-nav.left {
  left: 10px;
}

.slider-nav.right {
  right: 10px;
}

.slider-text {
  position: absolute;
  bottom: 80px;
  width: 100%;
  text-align: center;
  font-size: 1.8em;
  color: white;
  z-index: 2;
}

.slider-buttons {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.slider-buttons button {
  margin: 0 10px;
  padding: 10px 20px;
  background-color: #4CAF50;
  border: none;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

/* === DESCRIPTION === */
.slider-description {
  text-align: center;
  padding: 30px;
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
}

/* === FOOTER === */
footer {
  background-color: #4CAF50;
  color: white;
  text-align: center;
  padding: 20px;
}

footer .social-icons {
  margin: 15px auto 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

footer .social-icons img {
  width: 24px;
  height: 24px;
}

/* === PAGE VELOS === */
.bike-section {
  padding: 40px 20px;
  text-align: center;
}

.bike-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.bike-card {
  background: #f9f9f9;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.bike-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 10px;
}

.bike-details {
  padding: 20px;
  text-align: left;
}

.bike-details h3 {
  margin-bottom: 10px;
  color: #4CAF50;
}

.bike-details p {
  margin: 5px 0;
}

.label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #4CAF50;
  color: white;
  padding: 5px 10px;
  font-size: 0.9em;
  border-radius: 5px;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  background-color: #4CAF50;
  color: white;
  padding: 10px 16px;
  border-radius: 5px;
  font-weight: bold;
}

/* ===== STYLES SPÉCIFIQUES À LA PAGE CONTACT ===== */

.contact-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.contact-title {
  font-size: 2rem;
  text-align: center;
  color: #333;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}

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

.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 10px 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.contact-form button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #45a049;
}

.contact-actions {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-btn {
  text-decoration: none;
  background-color: #4CAF50;
  color: white;
  padding: 12px 15px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  transition: 0.3s;
}

.contact-btn:hover {
  background-color: #3d8a3d;
}

.opening-hours {
  margin-top: 40px;
  text-align: center;
}

.map-location {
  margin-top: 40px;
  text-align: center;
}

.map-location iframe {
  width: 100%;
  max-width: 700px;
  height: 300px;
  border: 2px solid #4CAF50;
  border-radius: 10px;
}

.map-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #4CAF50;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
}

.faq-section {
  margin-top: 50px;
}

.faq-section details {
  margin-bottom: 15px;
  background: #f7f7f7;
  border-radius: 10px;
  padding: 10px 15px;
  cursor: pointer;
  border: 1px solid #ccc;
}

.faq-section summary {
  font-weight: bold;
  color: #333;
}

.faq-section p {
  margin-top: 8px;
  color: #555;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }
}

/* ===== STYLES SPÉCIFIQUES À LA PAGE CONTACT ===== */

.contact-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.contact-title {
  font-size: 2rem;
  text-align: center;
  color: #333;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}

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

.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 10px 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.contact-form button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #45a049;
}

.contact-actions {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-btn {
  text-decoration: none;
  background-color: #4CAF50;
  color: white;
  padding: 12px 15px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  transition: 0.3s;
}

.contact-btn:hover {
  background-color: #3d8a3d;
}

.opening-hours {
  margin-top: 40px;
  text-align: center;
}

.map-location {
  margin-top: 40px;
  text-align: center;
}

.map-location iframe {
  width: 100%;
  max-width: 700px;
  height: 300px;
  border: 2px solid #4CAF50;
  border-radius: 10px;
}

.map-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #4CAF50;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
}

.faq-section {
  margin-top: 50px;
}

.faq-section details {
  margin-bottom: 15px;
  background: #f7f7f7;
  border-radius: 10px;
  padding: 10px 15px;
  cursor: pointer;
  border: 1px solid #ccc;
}

.faq-section summary {
  font-weight: bold;
  color: #333;
}

.faq-section p {
  margin-top: 8px;
  color: #555;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }
}
