body {
    font-family: 'Quicksand', sans-serif;
    margin: 0;
    padding: 0;
    background: #faf5ef;
    color: black;
  }
  
.navbar {
  background-color: #faf5ef;
  height: 80px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

section {
  margin-bottom: 2rem; /* augmente ou diminue cette valeur */
  margin-top: 2rem;
}

.navbar-container {
  width: max-content;
  margin-left: 100px; /* Pour aligner à gauche */
  margin-right: auto; /* Pour aligner à droite */
  display: flex;
  align-items: center;
  gap: 2rem; /* écart régulier entre logo et chaque lien */
}

.navbar-container a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s;
}

.navbar-container a:hover {
  color: #000;
}


.navbar-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s;
}

.navbar-menu a:hover {
  color: #000;
}
  
.logo {
  width: 85px;
  height: auto;
  margin-right: 1rem;
}

.header-top h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #E7CBAE;
  padding-bottom: 4px;
}
  
.about {
padding: 3rem 2rem;
max-width: 1000px;
margin: 0 auto;
line-height: 1.7;
}

.hero {
  height: 80vh;
  background-image: url('acceuil.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* effet de parallaxe */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 100px;
  color: white;
  margin-top: 0;
}

.hero img {
  width: 100vw;
  height: 80vh; /* Même valeur que max-height ci-dessus */
  object-fit: cover;
  display: block;
}

.hero-text {
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;  
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-text h2 {
  font-size: 2rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.about-image {
  flex: 1;
  width: 100%;
  max-width: 300px;
  border-radius: 0;
  object-fit: cover;
  margin-left: 0;
  display: block;
}

/* Ajoute cette règle pour cibler précisément l'image dans .about-block */
.about-block > .about-image.reveal {
  width: 500px;
  height: 500px; 
  object-fit: cover;
  border-radius: 0;
  margin-left: calc(-1 * (100vw - 100%) / 2); /* Décale l'image à l'extrême gauche */
  margin-right: 2rem;
  display: block;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  max-width: none;
}

.about-block {
  display: flex;
  gap: 2rem;
  margin-bottom: 7rem;
  align-items: center;
}

.about-text {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #212121;
}

.titre-vinyasa {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  margin: 4rem 0;
  overflow: hidden;
}

.slide-left, .slide-right {
  opacity: 0;
  transition: transform 1.2s ease-out, opacity 1.2s ease-out;
}

.slide-left.reveal-visible {
  transform: translateX(0);
  opacity: 1;
}

.slide-right.reveal-visible {
  transform: translateX(0);
  opacity: 1;
}

.slide-left {
  transform: translateX(-100%);
}

.slide-right {
  transform: translateX(100%);
}



  
.about-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #212121;
}
  
.about-section p {
  margin-bottom: 1.5rem;
  color: #212121;
}

.image {
  width: 300px;
  height: auto;
  margin-right: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.vinyasa-section {
  height: 80vh;
  background-image: url('Olivia-Jaya-21.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* effet de parallaxe */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 100px;
  color: white;
  margin-top: 0;
}

.vinyasa-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.3); /* assombrissement */
  backdrop-filter: blur(6px); /* flou effet "verre dépoli" */
  -webkit-backdrop-filter: blur(6px); /* compatibilité Safari */
  z-index: 0;
}

.vinyasa-content {
  position: relative;
  z-index: 1;
  
}



.vinyasa-content h3,
.vinyasa-content p,
.vinyasa-content li,
.vinyasa-content .titre-vinyasa span {
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.yin {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.yin h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #212121;
}

.yin p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #212121;
}

  
  /* Quand l'élément devient visible */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Page schedule */
/* Appliquer à la page schedule */
.schedule-page {
  background-image: url('Olivia-Jaya-3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  color: black;
  overflow-x: hidden;
}

/* Superposition sombre pour améliorer lisibilité */
.schedule-page::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

/* Conteneur principal */
.schedule {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
}

/* Titre */
.schedule h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.schedule table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.2); /* ultra translucide */
  backdrop-filter: blur(2px); /* léger flou pour lisibilité */
  box-shadow: none; /* pas d’ombre */
  color: #ffffff; /* texte noir */
  border: 1px solid rgba(255, 255, 255, 0.08); /* très légère bordure blanche */
}


/* Cellules */
.schedule th, .schedule td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* En-têtes */
.schedule th {
  background-color: rgba(255, 255, 255, 0.5);
  font-weight: bold;
}

/* Dernière ligne sans bord */
.schedule tr:last-child td {
  border-bottom: none;
}

/* Hover */
.schedule tr:hover td {
  background-color: rgba(255, 255, 255, 0.4);
}

.btn-reserver {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  background-color: #E7CBAE;
  color: #212121;
  font-size: 1.1rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}

.btn-reserver:hover {
  background-color: #d1b48c;
  color: #fff;
}
  
.schedule-page {
  background-image: url('Olivia-Jaya-6.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* effet léger de parallaxe */
  color: white; /* si tu veux du texte blanc par défaut */
  min-height: 100vh;
}

/* Optionnel : fond flouté ou assombri pour la lisibilité du tableau */
.schedule-page::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

/* ----------- PAGE CONTACT ----------- */
.contact-page {
  background-image: url('Olivia-Jaya-24.jpg'); /* remplace par ton chemin */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  color: white;
  font-family: 'Quicksand', sans-serif;
  overflow-x: hidden;
}

.contact-page::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* filtre sombre */
  z-index: -1;
}

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px); /* en dessous du header */
  padding: 2rem;
}

/* ----------- CARTE DE VISITE ----------- */
.card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.card-wrapper {
  padding: 1.5rem;
  border-radius: 8px;
}

.card {
  width: 340px;
  height: 214px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
  border-radius: 4px; /* style carte de crédit */
  display: flex;
  justify-content: center;
  align-items: center;
}



.card-wrapper:hover .card {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* même centrage */
  padding: 1.5rem;
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 4px;
  background-color: #483C32;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.card-front {
  z-index: 2;
}


.card-back {
  transform: rotateY(180deg);
  position: relative;
}

.card-back > * {
  position: relative;
  z-index: 1;
}

.card-back::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  background-image: url('logo3Zoom.png'); /* adapte le chemin */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.07; /* discret */
  z-index: 0;
  pointer-events: none;
}

.card-logo {
  width: 60px;
  height: auto;
  margin-bottom:0;
  margin-top: 0.8rem;
}

/* ----------- INFOS AVEC ICONES ----------- */
.card-back h3 {
  align-self: center;
  margin-bottom: 2rem;

}

.info-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: white;
}

.info-line .icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* rend l'icône blanche */
}

.info-line a {
  color: #E7CBAE;
  text-decoration: none;
  transition: color 0.2s ease;
}

.info-line a:hover {
  text-decoration: underline;
  color: white;
}


.site-footer {
  background-color: #483C32 ;
  color: #ffffff;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 1rem;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.8;
}

.footer-content a {
  color: #ffffff;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

.footer-credit {
  font-size: 0.9rem;
  color: #969696;
}

/* ----------- RESPONSIVE POUR MOBILES ----------- */
@media (max-width: 768px) {
  /* Ajustement global */
  body {
    font-size: 16px;
    overflow-x: hidden;
  }

  /* NAVBAR */
  .navbar {
    height: auto;
    flex-direction: column;
    padding: 1rem 0;
  }

  .navbar-container {
    flex-direction: column;
    margin-left: 1rem;
    margin-right: 1rem;
    gap: 1rem;
    align-items: center;
  }

  .logo {
    width: 60px;
    margin: 0;
  }

  /* HERO */
  .hero {
    height: auto;
    padding: 2rem 1rem;
    background-attachment: scroll;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1.2rem;
  }

  /* ABOUT BLOCK */
  .about-block {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .about-block > .about-image.reveal {
    width: 100%;
    height: auto;
    margin: 0;
  }

  /* VINYASA */
  .vinyasa-section {
    background-attachment: scroll;
    padding: 3rem 1rem;
  }

  .titre-vinyasa {
    font-size: 2rem;
    padding: 0 1rem;
  }

  /* SCHEDULE TABLE */
  .schedule table {
    display: block;
    width: 100%;
    overflow-x: auto;
    font-size: 0.9rem;
  }

  .schedule th, .schedule td {
    padding: 0.75rem 1rem;
  }

  .schedule-page {
    background-attachment: scroll;
  }

  /* CONTACT */
  .contact {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  /* CARTE DE VISITE */
  .card-container {
    flex-direction: column;
  }

  .card {
    width: 90vw;
    height: auto;
  }

  .card-front,
  .card-back {
    padding: 1rem;
  }

  /* FOOTER */
  .footer-content {
    padding: 0 1rem;
  }
}



