/*
Author: Silas
Page: À propos
*/

.hero {
  position: relative;
  width: 100%;
  height: 60vh;
}

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

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 10%;
  z-index: 2;
  text-align: center;
  color: #ebd8b7;
  transform: translateY(-50%);
}

.hero-overlay .title {
  font-size: 48px;
  font-weight: bold;
  text-decoration: underline;
  margin-bottom: 10px;
}

.hero-overlay .subtitle {
  font-size: 22px;
}

.content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.intro-section {
  text-align: center;
  margin: 60px 0;
}

.intro-text h2 {
  font-size: 36px;
  color: #574002;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 20px;
  color: #8d7c5e;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.story-section {
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 80px 0;
}

.story-image {
  flex: 1;
}

.story-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
}

.story-text {
  flex: 1;
}

.story-text h2 {
  font-size: 32px;
  color: #574002;
  margin-bottom: 20px;
}

.story-text p {
  font-size: 18px;
  color: #8d7c5e;
  line-height: 1.8;
  margin-bottom: 15px;
}

.values-section {
  margin: 80px 0;
  text-align: center;
}

.values-section h2 {
  font-size: 36px;
  color: #574002;
  margin-bottom: 50px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-card h3 {
  font-size: 24px;
  color: #574002;
  margin-bottom: 15px;
}

.value-card p {
  font-size: 16px;
  color: #8d7c5e;
  line-height: 1.6;
}

.process-section {
  margin: 80px 0;
  text-align: center;
}

.process-section h2 {
  font-size: 36px;
  color: #574002;
  margin-bottom: 50px;
}

.process-steps {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: #6b5c35;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 22px;
  color: #574002;
  margin-bottom: 10px;
}

.step p {
  font-size: 16px;
  color: #8d7c5e;
  line-height: 1.6;
}

.cta-section {
  background-color: #ffffff;
  padding: 60px 20px;
  border-radius: 10px;
  text-align: center;
  margin: 80px 0 40px;
}

.cta-content h2 {
  font-size: 36px;
  color: #574002;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  color: #8d7c5e;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  text-decoration: none;
  padding: 15px 40px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #6b5c35;
  color: rgb(255, 239, 216);
}

.btn-primary:hover {
  background-color: #574002;
  color: rgb(255, 255, 255);
}

.btn-secondary {
  background-color: transparent;
  color: #6b5c35;
  border: 2px solid #6b5c35;
}

.btn-secondary:hover {
  background-color: #6b5c35;
  color: rgb(255, 239, 216);
}

/* Responsive Design */
@media (max-width: 900px) {
  .story-section {
    flex-direction: column;
    gap: 30px;
  }

  .story-image img {
    max-width: 100%;
  }

  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 40vh;
  }

  .hero-overlay {
    left: 5%;
  }

  .hero-overlay .title {
    font-size: 32px;
  }

  .hero-overlay .subtitle {
    font-size: 16px;
  }

  .intro-text h2 {
    font-size: 28px;
  }

  .intro-text p {
    font-size: 16px;
  }

  .story-text h2 {
    font-size: 24px;
  }

  .story-text p {
    font-size: 16px;
  }

  .values-section h2,
  .process-section h2,
  .cta-content h2 {
    font-size: 28px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 200px;
  }
}
@media (max-width: 400px) {
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 120px;
  }
}