/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* NAV BAR centrée + logo à gauche */
header { background: hsl(0, 0%, 13%); }

/* NAV : logo à gauche, centre parfaitement centré, spacer à droite */
.navbar {
  --logo-w: 70px;               /* ← règle la taille du logo ici */
  background: #222;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;  /* logo | centre | spacer */
  align-items: center;
  gap: 12px;
}

/* logo */
.logo-left img {
  height: var(--logo-w);
  width: auto;
  display: block;
}

/* centre (titre + menu) */
.nav-center {
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;         /* centre aussi la UL */
}

.titre {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

/* menu */
.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}
.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  transition: color .2s;
}
.nav-links li a:hover,
.nav-links li a.active { color: #b22222; }

/* spacer : même largeur visuelle que le logo pour garder le centre… centré */
.nav-spacer {
  display: block;
  width: var(--logo-w);
  height: var(--logo-w);   /* hauteur non essentielle, juste pour l'équilibre */
}

/* Responsive */
@media (max-width: 600px) {
  .navbar {
    --logo-w: 50px;        /* réduit automatiquement le logo sur mobile */
    padding: 10px 14px;
    gap: 10px;
  }
  .nav-links { gap: 18px; flex-wrap: wrap; }
}




/* Section hero */
.hero {
  text-align: center;
  padding: 20px 20px;
 /* background: url('images/salon.jpg') center/cover no-repeat;*/
  color: white;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 25px;
}

.btn {
  background: #f4a261;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #e76f51;
}

/* Contenu principal */
.container {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.container h2 {
  text-align: center;
  margin-bottom: 20px;
}


/* Formulaire réservation */
.form-reservation {
  display: flex;
  flex-direction: column;
  gap: 15px;            /* espace entre les champs */
}

.form-reservation label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

.form-reservation input,
.form-reservation select,
.form-reservation textarea {
  width: 100%;          /* prend toute la largeur */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

/* Checkbox et label associés */
.form-reservation .checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-reservation button {
  width: 100%;          /* bouton sur toute la largeur */
  padding: 12px;
  margin-top: 10px;
  border: none;
  border-radius: 6px;
  background: #b22222;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.form-reservation button:hover {
  background: #8b1a1a;
}
/* Carte coiffeur */
.team { margin-top: 40px; text-align: center; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.card {
  background: #f9f9f9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
  display: flex; flex-direction: column; height: 100%;
}
.card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 14px; display: grid; gap: 10px; }
.card-body h3 { margin: 0; }

/* message jour fériés */
.note-date{
  margin:.5rem 0 0;
  padding:.6rem .8rem;
  border:1px solid #FF9C9C;
  background:rgb(119, 0, 0);
  color:#ffdede;
  border-radius:8px;
  font-size:.95rem;
}
.note-date.ok{
  border-color:#2fbf71;
  background:rgba(47,191,113,.12);
  color:#d8ffe9;
}


/* Footer */
footer {
  text-align: center;
  padding: 15px;
  background: #222;
  color: #fff;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 2em;
  }
}

/* Prestations */
.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

.prestations-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.prestation-item {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
}

.prestation-item:hover {
    transform: translateY(-5px);
}

.prestation-item h2 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #333;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #b22222;
}

.titre-prestation {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

/* Layout général contact */
.contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .contact .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.contact-card h2 { margin-bottom: 12px; }
.contact-card ul li { list-style: none; padding-left: 0; }

.hours { margin: 8px 0 0; padding-left: 18px; }

/* Formulaire page de contact */
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}
.form-row label {
  margin-bottom: 6px;
  font-weight: 600;
}
.form-row input,
.form-row textarea {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1rem;
  outline: none;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: #b22222;
  box-shadow: 0 0 0 3px rgba(178,34,34,0.08);
}

.btn {
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  background: #b22222;
  color: #fff;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .95; }




/* Map */
.map-section { margin-top: 40px; }
.map-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  background: #eee;
}
.map-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-note {
  margin-top: 10px;
  font-size: .95rem;
  color: #555;
}


/* background feuille */
html, body { background: #000; }

#background-container {
  position: fixed;
  inset: 0;
  z-index: 0;            /* plus de -1 */
  pointer-events: none;
}

#leaves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Assure que ton contenu passe AU-DESSUS du canvas */
body > *:not(#background-container) {
  position: relative;
  z-index: 1;
  pointer-events: auto;  /* les clics restent possibles */
}
/* Fin background feuille */
