/* ============================================================
   PAGE-INDEX.CSS — Spécifique à index.php (page d'accueil)
   S'appuie sur les variables et la typo définies dans base.css
   ============================================================ */

/* ---------- Section Hero (bandeau d'accueil plein écran) ---------- */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: url("../images/hai-me-con.jpg") center/cover no-repeat;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* voile sombre pour que le texte reste lisible */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; /* passe au-dessus du voile sombre */
  max-width: 800px;
}

.hero-title {
  font-size: 1.2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-trust {
  margin-top: 30px;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 1.2rem;
}

.hero-trust p {
  font-size: 0.9rem;
}

/* ---------- Section Intro ---------- */
.intro-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}

.intro-text {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
  color: #e0e0e0;
}

/* ---------- Section Process (photo atelier + texte) ---------- */
.process-container {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1100px;
  margin: auto;
}

.process-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

.process-text h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

/* ---------- Section Gallery ---------- */
.gallery-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}

.gallery-subtitle {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
  font-weight: 600;
  color: #e0e0e0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 40px auto;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

.gallery-grid img:hover {
  transform: translateY(-8px) scale(1.02);
  cursor: pointer;
  filter: brightness(1.1);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
  .gallery-grid img {
    max-width: 290px;
    width: 100%;
  }
}

/* ---------- Section Category (choix du style de portrait) ---------- */
.category-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}

.category-subtitle {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
  color: #f9f4f4;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 40px auto;
}

.category-card {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.category-card img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  cursor: pointer;
  filter: brightness(1.1);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.category-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  text-align: center;
  text-decoration: none;
}

.category-card p {
  font-size: 1rem;
  color: #e0e0e0;
  text-align: center;
}

@media (max-width: 768px) {
  .category-card img {
    max-width: 290px;
    width: 100%;
  }
}

/* ---------- Section Order (étapes de commande) ---------- */
.order-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}

.order-subtitle {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
  color: #f9f4f4;
}

.order-steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  text-align: center;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.step p {
  font-size: 1rem;
  text-align: center;
  line-height: 1.5;
}

/* ---------- Section Testimonials ---------- */
.testimonials-title {
  font-size: 1.4rem;
  margin-bottom: 40px;
  text-align: center;
  width: 100%;
  display: block;
}

.testimonials-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto;
  text-align: center;
}

.testimonial {
  flex: 1;
  padding: 25px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.testimonial p {
  font-style: italic;
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.testimonial span {
  display: block;
  margin-top: 15px;
  font-family: var(--font-title);
  font-style: normal;
  font-weight: bold;
  letter-spacing: 1px;
}
