* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Manrope", sans-serif;
  background-color: #fff;
  color: #2e2e2e;
  line-height: 1.6;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.link {
  color: #41855c;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #58b67e;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.link:hover {
  color: #58b67e;
}

.link:hover::after {
  transform: scaleX(1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2e2e2e;
  text-decoration: none;
}

.small-logo {
  height: 20px;
  width: auto;
}

.logo img {
  height: 56px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #2e2e2e;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link.active {
  color: #58b67e;
  /* couleur active */
  font-weight: bold;
}

.nav-link:hover {
  color: #58b67e;
}

.hero {
  height: 100vh;
  background-color: #888;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: 80px;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: white;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  margin: 0.25rem;
  background-color: #a8d5ba;
  color: #4b4b4b;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #90caa7;
}

section {
  text-align: center;
  scroll-margin-top: 80px;
  /* ajuste cette valeur selon la hauteur de ta navbar */
}

.section-image {
  width: 300px;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
}

.container {
  max-width: 800px;
  margin: auto;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  background-color: #fafafa;
  color: #888;
}

.courses {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.courses-img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
  filter: brightness(60%);
  /* assombrit l’image pour que le texte ressorte */
}

.courses-img-top {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  object-position: top; /* aligne l’image sur le haut */
  display: block;
  filter: brightness(60%);
  /* assombrit l’image pour que le texte ressorte */
}

.courses-img-small {
  width: 100%;
  height: 40vh;
  object-fit: cover;
  display: block;
  filter: brightness(60%);
  /* assombrit l’image pour que le texte ressorte */
}

.courses-bandeau-small {
  width: 100%;
  object-fit: cover;
  display: block;
  background-color: #2e2e2e;
}

.courses-bandeau-cloud  {
  width: 100%;
  display: block;          /* ou flex/column si tu veux */
  background: #555;        /* ton fond gris ou stylisé */
  position: relative;
  overflow: hidden;
  filter: brightness(60%);
  padding: 5rem 2rem;      /* espace pour que les cards ne touchent pas le bord */

}
.courses-img-long {
  width: 100%;
  height: 130vh;
  object-fit: cover;
  display: block;
  filter: brightness(60%);
  /* assombrit l’image pour que le texte ressorte */
}

.credit-photo {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.5);
  /* fond semi-transparent */
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  font-family: sans-serif;
}

.credit-photo a {
  color: white;
  font-size: 12px;
  font-family: sans-serif;
}

.courses-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  width: auto;
  /* valeur par défaut */
}

.courses-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.courses-text p {
  font-size: 1.2rem;
  line-height: 1.5;
}

.contact {
  padding: 1rem 1rem;
  background-color: #888;
  text-align: center;
}

.yoga-types {
  padding: 1rem 1rem;
  background-color: #f8f8f8;
  text-align: center;
}

.tarifs {
  padding: 1rem 1rem;
  background-color: #2e2e2e;
  text-align: center;
}

.tarifs  h2{
  font-size: 2.5rem;
  color: #f8f8f8;
}

.tarifs  h3{
  margin-bottom: 2rem;
  color: #f8f8f8;
}


.yoga-types h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #2e2e2e;
}

.yoga-types-image-wrapper {
  max-width: 800px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.yoga-types-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
  border-radius: 1rem;
}

.yoga-types-image-wrapper:hover img {
  transform: scale(1.05);
  opacity: 0.95;
}

.yoga-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.yoga-card {
  background: white;
  border-radius: 12px;
  padding-top: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  max-width: 400px;
  flex: 1 1 300px;
  transition: transform 0.3s ease;
}

.yoga-card:hover {
  transform: translateY(-5px);
}

.yoga-card img {
  width: auto;
  height: 50px;
  object-fit: cover;
}

.yoga-card h3 {
  margin: 1rem 0 0.5rem;
  color: #333;
}

.yoga-card h4 {
  margin: 1rem 0 0.5rem;
  color: #333;
}

.yoga-card p {
  font-size: 1rem;
  padding: 0 1rem 1.5rem;
  color: #555;
}

.expandable-contenu {
  display: none;
  padding: 10px;
  border-radius: 15px;
  margin-top: 5px;
  margin-bottom: 5px;
  height: auto;
  /* hauteur fixe */
  overflow-y: auto;
  /* défilement vertical */
  background-color: rgba(0, 0, 0, 0.6);
  /* noir avec 60% d’opacité */
}

.expandable-btn {
  cursor: pointer;
  background-color: rgba(160, 255, 175, 0.6);
  /* vert semi-transparent */
  color: white;
  padding: 10px;
  border: none;
  font-size: 16px;
  border-radius: 5px;
}

.expandable-btn:hover {
  background-color: #0b0b0b;
}

.accordion {
  width: 100%;
}

.accordion-item {
  border-bottom: 1px solid #ccc;
}

.accordion-header {
  width: 100%;
  padding: 1em;
  background: #f1f1f1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-header .chevron {
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1em;
}

.accordion-content p {
  margin: 1em 0;
}

.accordion-header.active .chevron {
  transform: rotate(90deg);
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.social-links a {
  font-size: 24px;
  color: #333;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #2563eb;
  /* bleu yoga zen 😌 */
}

.avis-section {
  text-align: center;
}

.carousel-text {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  min-height: 80px; /* pour éviter que la section “saute” pendant le fade */
}

.avis {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-style: italic;
  font-size: 0.9rem !important;
  color: white;
  opacity: 0;
  transition: opacity 1s ease-in-out; /* effet de fondu */
}

.avis.active {
  opacity: 1;
}

.caroussel-images {
  height: 56px;
  width: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 1rem;
    background: white;
    position: absolute;
    top: 70px;
    right: 0;
    display: none;
  }

  .navbar.active .nav-links {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .courses-text {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    padding: 10px 20px;
    box-sizing: border-box;
  }

  .courses-text.expanded {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    /* facultatif pour lisibilité */
    padding: 20px;
  }

  

  .yoga-types h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2e2e2e;
  }

  .btn {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
    text-align: center;
  }
}
