@font-face {
  font-family: "PoppinsExtraLight";
  src: url("/public/font/Poppins-ExtraLight.ttf");
}

@font-face {
  font-family: "PoppinsBold";
  src: url("/public/font/Poppins-Bold.ttf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  background-color: #f2dcbc;
  position: relative;
  font-weight: bold;
  overflow: hidden;
  min-height: 100vh;
}

/* Section Hero */
.testimonials-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(43, 181, 115, 0.3), rgba(212, 176, 140, 0.3));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-title {
  font-family: "PoppinsBold", sans-serif;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-family: "PoppinsExtraLight", sans-serif;
  font-size: 1.3rem;
  line-height: 1.6;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Témoignages */
.testimonials-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8f4f0 0%, #f2dcbc 100%);
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

/* Cartes de témoignages */
.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 176, 140, 0.2);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: #2bb573;
  opacity: 0.25;
  font-family: serif;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #2bb573;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.client-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #2bb573;
  flex-shrink: 0;
}

.client-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-info {
  flex: 1;
}

.client-name {
  font-family: "PoppinsBold", sans-serif;
  font-size: 1.2rem;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.rating {
  display: flex;
  gap: 0.2rem;
}

.rating i {
  color: #fbbf24;
  font-size: 0.9rem;
}

.testimonial-image {
  margin: 1.5rem 0;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-image:hover {
  transform: scale(1.02);
}

.testimonial-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.model-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius:  0 0 15px 15px;
  color: white;
  padding: 1rem 1.5rem 0.8rem;
  font-family: "PoppinsBold", sans-serif;
  font-size: 1.1rem;
  text-align: center;
  backdrop-filter: blur(5px);
}

.testimonial-content {
  position: relative;
}

.testimonial-text {
  font-family: "PoppinsExtraLight", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5568;
  font-style: italic;
  position: relative;
  z-index: 2;
}


/* Responsive Design */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .testimonials-hero {
    height: 50vh;
    min-height: 300px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-image {
    margin: 1.2rem 0;
  }
  
  .testimonial-image img {
    height: 180px;
  }
  
  .model-name {
    font-size: 1rem;
    padding: 0.8rem 1.2rem 0.6rem;
  }
  
  
  .testimonials-container {
    padding: 0 1rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .testimonials-hero {
    height: 40vh;
    min-height: 250px;
  }
  
  .testimonials-section {
    padding: 3rem 0;
  }
  
  .testimonial-card {
    padding: 1.2rem;
  }
  
  .testimonial-image {
    margin: 1rem 0;
  }
  
  .testimonial-image img {
    height: 160px;
  }
  
  .model-name {
    font-size: 0.9rem;
    padding: 0.6rem 1rem 0.5rem;
  }
  
  .client-photo {
    width: 50px;
    height: 50px;
  }
  
  .client-name {
    font-size: 1.1rem;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
  }
  
}

@media screen and (min-width: 1920px) {
  .hero-title {
    font-size: 4.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  
  .testimonial-card {
    padding: 2.5rem;
  }
  
  .testimonial-image {
    margin: 2rem 0;
  }
  
  .testimonial-image img {
    height: 220px;
  }
  
  .model-name {
    font-size: 1.2rem;
    padding: 1.2rem 1.8rem 1rem;
  }
  
}

/* Animation d'apparition des cartes */
.testimonial-card {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

/* Effet de survol amélioré */
.testimonial-card:hover .client-photo {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.testimonial-card:hover .rating i {
  animation: starPulse 0.6s ease-in-out;
}

@keyframes starPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
} 
