.services-section {
  padding: 20px 8%;
  width: 100%;
}

/* Header */
.header-prestations {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)),
    url("../images/barber 9.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 80px 20px;
}

.header-prestations h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.header-prestations p {
  color: #ccc;
  font-size: 1.2em;
  opacity: 0.9;
}

.book-button {
  display: inline-block;
  margin-top: 20px;
  padding: 15px 30px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 1.1em;
  animation: pulse 2s infinite;
  transition: all 0.3s ease;
}

.book-button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

@keyframes pulse {
  0% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 15px rgba(0, 123, 255, 0);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

/* Intro */
.intro {
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  font-size: 1.1em;
  padding: 0 20px;
  color: #555;
}

/* Tarifs */
.tarifs {
  padding: 60px 8%;
  text-align: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  margin-top: 40px;
  margin-bottom: 40px;
  border-radius: 12px;
}

.tarifs h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #2c3e50;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.tarifs h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #0056b3);
  border-radius: 2px;
}

.tarif-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: auto;
  align-items: start;
}

.tarif-card {
  background: white;
  padding: 35px 25px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  height: fit-content;
}

.tarif-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #007bff, #0056b3);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tarif-card:hover::before {
  transform: scaleX(1);
}

.tarif-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  border-color: #007bff;
}

.tarif-card h3 {
  text-align: center;
  margin-bottom: 25px;
  color: #2c3e50;
  font-size: 1.5em;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tarif-card h3 i {
  font-size: 1.3em;
  color: #007bff;
}

.tarif-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tarif-card li {
  padding: 14px 0;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95em;
  color: #555;
  transition: all 0.2s ease;
  gap: 15px;
  flex-wrap: nowrap;
  text-align: left;
}

.tarif-card li .prestation-nom::after {
  content: " :";
  white-space: nowrap;
}

.tarif-card li:last-child {
  border-bottom: none;
}

.tarif-card li:hover {
  padding-left: 10px;
  color: #007bff;
  background: #f8f9fa;
  border-radius: 6px;
}

.tarif-card li .prestation-prix {
  font-weight: 700;
  color: #007bff;
  font-size: 1em;
  background: #e7f3ff;
  padding: 4px 12px;
  border-radius: 20px;
  min-width: 60px;
  text-align: center;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Services spéciaux */
.services-speciaux {
  padding: 60px 8%;
  border-radius: 12px;
  background: #ffffff;
}

.services-speciaux h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #2c3e50;
  font-weight: 700;
  position: relative;
  display: inline-block;
  width: 100%;
  padding-bottom: 15px;
}

.services-speciaux h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #28a745, #20c997);
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: auto;
}

.service-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 25px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
  color: white;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  transition: all 0.6s ease;
}

.service-card:hover::before {
  top: -60%;
  right: -60%;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.service-card:nth-child(1) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-card:nth-child(2) {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-card:nth-child(3) {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.service-card i {
  font-size: 3em;
  color: white;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.service-card h4 {
  margin-bottom: 15px;
  font-size: 1.5em;
  color: white;
  font-weight: 600;
}

.service-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1em;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
  margin-top: 30px;
}
