/* ============================
   RESET & BASE
============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Tenor Sans', sans-serif;
  scroll-behavior: smooth;
  color: #333;
  background: #FAF1E6;
  overflow-x: hidden;
  line-height: 1.6;
}

img, video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

a {
  color:#fff;
  text-decoration: none;
}

/* ============================
   NAVIGATION
============================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 241, 230, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 80px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  margin: 0;
}

.nav-links li a {
  color: #58624B;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0;
  height: 2px;
  background: #58624B;
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #333;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* BURGER MENU */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

.burger.toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.toggle span:nth-child(2) {
  opacity: 0;
}
.burger.toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* responsive nav */
@media (max-width: 768px) {
  .burger { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; right: 20px;
    background: rgba(250, 241, 230, 0.95);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }
}

/* ============================
   HERO
============================ */
.hero {
  height: 100vh;
  background: url("../img/massage-hero.png") center/cover no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(88,98,75,0.6), rgba(154,154,146,0.6));
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeIn 2s ease forwards;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.btn {
  background: linear-gradient(90deg, #58624B, #9A9A92);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  font-weight: bold;
  transition: transform 0.3s, background 0.3s;
}

.btn:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #9A9A92, #58624B);
}

/* ============================
   NUAGES ANIMÉS
============================ */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 10%;
  left: -20%;
  width: 200%;
  height: 200%;
  background: url("../img/clouds.png");
  opacity: 0.15;
  animation: moveClouds 60s linear infinite;
}

@keyframes moveClouds {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================
   SECTIONS ALTERNÉES
============================ */
.alt-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 5rem 2rem;
  gap: 2rem;
}

.alt-section.reverse {
  flex-direction: row-reverse;
}

.alt-text {
  flex: 1;
  animation: fadeUp 1.5s ease forwards;
}

.alt-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #58624B;
}

.alt-text p {
  font-size: 1.1rem;
}

.alt-image {
  flex: 1;
}

.alt-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.5s ease;
}

.alt-image img:hover {
  transform: scale(1.03);
}

/* ============================
   SALON
============================ */
.salon {
  text-align: center;
  padding: 5rem 2rem;
  background: #fff;
}

.salon-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 2rem 0;
}

.salon-video {
  margin-top: 2rem;
}

.salon-video video {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ============================
   SERVICES & TARIFS
============================ */
.services {
  padding: 5rem 2rem;
  background: #FAF1E6;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #58624B;
}

.pricing {
  max-width: 1000px;
  margin: auto;
  text-align: left;
}

.pricing h3 {
  margin-top: 3rem;
  color: #9A9A92;
}

.pricing table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
}

.pricing td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.pricing tr:nth-child(even) {
  background: #fff;
}

.pricing tr:hover {
  background: #fdfcf9;
}

/* ============================
   TEMOIGNAGES
============================ */
.temoignages {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #C7C0AE, #FAF1E6);
  text-align: center;
}

.temoignage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.temoignage-grid blockquote {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  font-style: italic;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* ============================
   RESERVATION
============================ */
.reservation {
  padding: 5rem 2rem;
  background: #C7C0AE;
  text-align: center;
}

#calendar {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  padding: 1rem;
  max-width: 900px;
  margin: 2rem auto;
}

#resaFormWrapper {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  margin: auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

#resaForm input, 
#resaForm button {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Tenor Sans', sans-serif;
}

#resaForm button {
  background: #58624B;
  color: white;
  border: none;
  font-weight: bold;
  transition: 0.3s;
}

#resaForm button:hover {
  background: #9A9A92;
}

/* ============================
   FAQ
============================ */
.faq {
  padding: 5rem 2rem;
  background: #fff;
  max-width: 800px;
  margin: auto;
}

.faq details {
  margin: 1rem 0;
  background: #FAF1E6;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.faq summary {
  font-weight: bold;
  color: #58624B;
}

.faq p {
  margin-top: 0.5rem;
}

/* ============================
   FOOTER
============================ */
footer {
  background: linear-gradient(90deg, #58624B, #9A9A92);
  color: white;
  padding: 3rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-info {
  flex: 1;
}

.footer-map {
  flex: 1;
}

.footer-map iframe {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  border: none;
}

.footer-info a{
  color: #fff!important;
  text-decoration: underline!important;
}

a.fc-col-header-cell-cushion{
  color:rgb(81 78 71)!important;
}

/* ============================
   AUDIO FLOATING BUTTON
============================ */
.music-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #58624B;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 1100;
  font-size: 1.5rem;
  transition: transform 0.3s, background 0.3s;
}

.music-btn:hover {
  transform: scale(1.1);
  background: #9A9A92;
}

/* ============================
   ANIMATIONS
============================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================
   RESPONSIVE
============================ */
@media(max-width: 1024px) {
  .hero h1 { font-size: 2.5rem; }
}

@media(max-width: 768px) {
  .alt-section { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .pricing td { font-size: 0.9rem; }
  footer { flex-direction: column; text-align: center; }
}

@media(max-width: 480px) {
  .btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
  .hero h1 { font-size: 1.8rem; }
  .temoignage-grid { grid-template-columns: 1fr; }
}

/* Calendar */
#calendar {
  max-width: 100%;
  margin: auto;
}

@media (max-width: 768px) {
  .fc .fc-toolbar {
    flex-direction: column;
    gap: 6px;
  }
  .fc .fc-toolbar-title {
    font-size: 1rem;
  }
  .fc .fc-button {
    font-size: 0.8rem;
    padding: 4px 6px;
  }
}
