/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* HEADER & NAVBAR */
header {
  background-color: #111;
  color: #f4f4f4;
  padding: 25px 0;
  text-align: center;
}
header h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}
header p {
  font-size: 1.2rem;
}

/* Navbar fixe en haut */

.navbar-logo {
  display: flex;
  align-items: center; /* centre verticalement le contenu */
  height: 100%; /* prend toute la hauteur de la navbar */
}

.navbar-logo img {
  height: 60px; /* garde ta taille actuelle */
  width: auto;
  display: block;
  border-radius: 10px; /* arrondit les coins sans faire un cercle */
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.23);
  padding: 15px 50px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px; /* hauteur fixe pour éviter l'effondrement */
}
/* Liste des liens centrée */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 65px; /* Espacement entre les liens */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
/* Style des éléments de la liste */
.nav-links li {
  margin: 0;
  position: relative;
}
/* Style de base des liens */
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  padding: 8px 0; /* Espace pour le soulignement */
  transition: color 0.3s ease;
  position: relative;
  background: transparent; /* Fond transparent par défaut */
}
/* Suppression du fond gris au survol/focus */
.nav-links a:hover,
.nav-links a:focus {
  background: transparent !important; /* Force le fond transparent */
  color: #f1c40f;
  outline: none; /* Supprime le contour de focus */
}
/* Effet de soulignement animé */
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 3px;
  left: 0;
  background-color: #f1c40f;
  transition: width 0.3s ease;
}
/* Animation au survol */
.nav-links a:hover::after {
  width: 100%;
}
/* Bouton à droite */
.btn-reserver {
  background-color: #1a73e8;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-left: auto;
  display: flex;
  align-items: center;
  height: 100%; /* <-- Cette ligne aligne verticalement au milieu */
}
.btn-reserver:hover {
  background-color: #0e58b6;
  transform: translateY(-2px);
}

/* HEADER AVEC IMAGE */
#header {
  height: 100vh;
  background: url("kam-idris-U39FPHKfDu0-unsplash.jpg") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: white;
}
#header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* noir semi-transparent */
  z-index: 1;
}
.header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: -85px;
}
.header-content h1 {
  font-size: 3rem;
  color: #fff; /* texte blanc */
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4); /* contour sombre */
}
.header-content p {
  font-size: 1.2rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  display: inline-block;
  padding: 8px 15px;
  border-radius: 8px;
}

/* SECTION HERO MODERN */
.hero-textile-modern {
  padding: 80px 60px;
  background-color: #fff;
  calc (-50vw + 50%);
}
.hero-container-modern {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  max-width: 1350px;
  margin: 0 auto;
}
.hero-text-modern {
  flex: 3;
  min-width: 500px;
  text-align: left;
  color: #222;
}
.hero-subtitle-modern {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #1a73e8;
  font-size: 0.85rem;
  margin-bottom: 10px;
  border-left: 3px solid #1a73e8;
  padding-left: 10px;
}
.hero-text-modern h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
  line-height: 1.3;
}
.hero-text-modern p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 900px;
}
.hero-phone-modern a {
  color: #1a73e8;
  font-weight: bold;
  text-decoration: none;
}
.hero-btn-modern {
  display: inline-block;
  margin-top: 20px;
  background-color: #1a73e8;
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.hero-btn-modern:hover {
  background-color: #0e58b6;
  transform: translateY(-2px);
}
.hero-image-modern {
  flex: 1;
  min-width: 300px;
  text-align: right;
}
.hero-image-modern img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
@media (max-width: 1000px) {
  .hero-container-modern {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .hero-text-modern {
    text-align: center;
  }
  .hero-image-modern {
    text-align: center;
  }
  .hero-image-modern img {
    max-width: 350px;
  }
}

/* Centrage des titres de section */
section h2 {
  text-align: center;
  margin: 0 auto 40px auto;
  font-size: 2rem;
  color: #111;
  width: fit-content;
  position: relative;
  padding-bottom: 10px;
}

/* Filet décoratif sous le titre */
section h2::after {
  content: '';
  position: absolute;
  bottom: 8px; /* <-- Remplace "0" par "5px" pour rapprocher la barre du texte */
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #1a73e8;
}

/* SECTION PRESTATIONS */
#prestations .cards {
  display: flex;
  flex-wrap: wrap; /* Permet un retour à la ligne si nécessaire */
  gap: 25px; /* Espacement entre les cartes */
  justify-content: center;
}

#prestations .card {
  flex: 0 0 220px; /* Largeur fixe augmentée (220px au lieu de 180px) */
  max-width: 250px; /* Largeur maximale augmentée */
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Ombre plus marquée */
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  height: 300px; /* Hauteur fixe pour uniformiser les cartes */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px; /* Espace interne */
}

#prestations .card {
  flex: 0 0 280px; /* largeur légèrement plus grande */
  max-width: 300px; /* largeur maximale augmentée */
  height: 300px;    /* hauteur augmentée */
}

#prestations .card:hover {
  transform: translateY(-8px) scale(1.03); /* Effet de survol plus visible */
}

#prestations .card img {
  width: 100%;
  height: 180px; /* Hauteur de l'image augmentée */
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 15px; /* Espace sous l'image */
}

#prestations .card h3 {
  margin: 10px 0;
  color: #111;
  font-size: 1.2rem; /* Taille du titre légèrement augmentée */
}

/* BOUTON TARIFS */
.tarif-btn-container {
  text-align: center;
  margin-top: 20px;
}
.btn-tarifs {
  padding: 12px 20px;
  font-size: 1rem;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.btn-tarifs:hover {
  background: #333;
  transform: scale(1.05);
}

/* SECTION TARIFS */
.tarifs {
  margin-top: 30px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.hidden {
  display: none;
}

.tarifs-note {
  text-align: center;
  color: #555;
  font-size: 1.0rem;
  margin-top: -25px;  /* rapproche un peu du texte du dessus */
  margin-bottom: 25px;
  font-style: italic;
}


/* Section des tarifs - Fond blanc agrandi */
.tarifs {
  margin: 30px auto;
  padding: 40px; /* Padding augmenté pour agrandir le fond */
  max-width: 1300px; /* Largeur maximale augmentée */
  background: #fff; /* Fond blanc */
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden; /* Évite les débordements */
}

/* Titre et alerte */
.tarifs h2 {
  color: #1a73e8;
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.tarifs-alert {
  color: #000; /* Texte en noir */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  background: transparent; /* Suppression du fond */
  padding: 10px;
}

/* Conteneur des cartes de tarifs */
.tarifs-table {
  display: flex;
  flex-wrap: nowrap; /* Une seule ligne */
  gap: 30px; /* Espacement entre les cartes */
  justify-content: center; /* Alignement à gauche */
  overflow-x: auto; /* Défilement horizontal */
  padding: 20px 0; /* Espace vertical */
  width: 100%; /* Prend toute la largeur */
  scrollbar-width: thin; /* Barre de défilement fine */
  scrollbar-color: #1a73e8 rgba(0, 0, 0, 0.1); /* Couleur de la barre */
  -ms-overflow-style: none; /* Cache la barre pour IE/Edge */
}

.tarifs-table::-webkit-scrollbar {
  height: 10px; /* Hauteur de la barre */
}

.tarifs-table::-webkit-scrollbar-thumb {
  background-color: #1a73e8; /* Couleur bleue */
  border-radius: 10px;
}

.tarifs-table::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1); /* Fond légèrement gris */
}

/* Carte individuelle (agrandie) */
.tarif-card {
  flex: 0 0 280px; /* Largeur inchangée */
  min-width: 280px;
  height: 500px; /* Hauteur augmentée à 480px (au lieu de 420px) */
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* En-tête de la carte */
.tarif-header {
  background: #1a73e8; 
  color: white;
  padding: 20px 15px; /* Espace interne augmenté */
  text-align: center;
  font-weight: 600;
  font-size: 1.2rem; /* Taille du titre augmentée */
}

/* Icône dans l'en-tête */
.tarif-header i {
  font-size: 1.8rem; /* Icône plus grande */
  margin-bottom: 10px;
}

/* Tableau des prix */
.tarif-card table {
  width: calc(100% - 30px); /* Largeur ajustée */
  margin: 15px auto 0; /* Espace en haut */
  border-collapse: separate;
  border-spacing: 0 8px; /* Espace entre les lignes */
}

.tarif-card table {
  margin: 15px auto;
  max-height: 350px; /* Hauteur maximale pour le tableau */
  overflow-y: auto; /* Défilement vertical si nécessaire */
}

.tarif-card table tr {
  background: rgba(26, 115, 232, 0.05); /* Fond bleu très clair */
  border-radius: 8px;
  margin: 5px 0;
}

.tarif-card table td {
  padding: 12px 15px;
  text-align: left;
  border: none;
}

.tarif-card table td:last-child {
  text-align: right;
  font-weight: 600;
  color: #1a73e8;
  font-size: 1.1rem;
}


/* SECTION OPTIONS */
/* Pour la section Options */
#options {
  padding: 30px 20px; /* Réduction du padding vertical */
  max-width: 1100px; /* Légère réduction de la largeur max */
  margin: 40px auto; /* Marge verticale réduite */
}

#options .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

#options .card {
  background-color: #fff;
  padding: 15px; /* Padding interne réduit */
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  min-height: 20px; /* Hauteur minimale réduite */
  max-height: 115px; /* Hauteur maximale pour éviter l'étirement */
  display: flex;
  flex-direction: column;
}

/* SECTION PACKS */
#packs {
  text-align: center;
  margin: 40px auto;
  max-width: 900px;
}
#packs h2 {
  font-size: 2rem;
  margin-bottom: 5px;
}
#packs .subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
  font-style: italic;
}
#packs table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
#packs th, #packs td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}
#packs th {
  background-color: #111;
  color: white;
}
#packs tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* SECTION CONTACT */

#contact {
  margin-bottom: 20px; /* <-- ajoute un espace entre contact et footer */
}

#contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}
#contact input, #contact textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
}
#contact button {
  padding: 15px;
  border: none;
  background-color: #111;
  color: #fff;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
}
#contact button:hover {
  background-color: #333;
}

/* FOOTER */
footer {
  background-color: #111;
  color: #f4f4f4;
  text-align: center;
  padding: 30px 20px;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 20px 20px;
  }

  .nav-links {
    flex-direction: column;
    gap: 20px; /* plus d’espace entre les liens */
    text-align: center;
    margin: 15px 0;
  }

  .nav-links a {
    font-size: 1.3rem; /* liens plus gros sur mobile */
  }

  .btn-reserver {
    width: 90%;
    padding: 15px 0;
    font-size: 1.2rem; /* bouton plus lisible */
    margin: 10px 0 0 0;
  }
}


