/* ========================================
   COULEURS PRINCIPALES
   ======================================== */
:root {
  --color-marron: #3C2415;
  --color-or: #E6A817;
  --color-blanc: #FFFFFF;
  --color-gris: #F5F5F5;
  --color-dark: #121212;
  --color-light-text: #E0E0E0;
}

/* ========================================
   STYLES GÉNÉRAUX
   ======================================== */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-marron);
  background-color: var(--color-blanc);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--color-marron);
}

/* ========================================
   NAVBAR / HEADER
   ======================================== */
.navbar {
  background-color: var(--color-blanc) !important;
  border-bottom: 1px solid #e0e0e0;
}

.navbar-brand {
  font-weight: 700;
  color: var(--color-marron) !important;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  max-height: 60px;
  margin-right: 10px;
}

.nav-link {
  color: var(--color-marron) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-or) !important;
}

.nav-link.active {
  color: var(--color-or) !important;
}

/* ========================================
   CAROUSEL / SLIDES
   ======================================== */
.carousel-section {
  position: relative;
  min-height: 550px;
  overflow: hidden;
}

#carouselSlides {
  height: 100%;
}

.carousel-item {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(60, 36, 21, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 2;
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  color: var(--color-blanc);
  padding: 60px 30px;
  max-width: 900px;
  background: rgba(60, 36, 21, 0.8);
  border-radius: 10px;
  width: 90%;
}

.carousel-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-or);
  text-shadow: none;
  line-height: 1.2;
}

.carousel-description {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: var(--color-blanc);
  text-shadow: none;
  line-height: 1.6;
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

/* ========================================
   BOUTONS
   ======================================== */
.btn-primary {
  background-color: #c68600 !important;
  border-color: #c68600 !important;
  color: #fff !important;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #a86c00 !important;
  border-color: #a86c00 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(198, 134, 0, 0.4);
}

/* ========================================
   SECTIONS GÉNÉRALES
   ======================================== */
section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-marron);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--color-or);
  border-radius: 2px;
}

/* ========================================
   SECTION À PROPOS
   ======================================== */
.about-section {
  background-color: var(--color-blanc);
}

.about-text {
  font-size: 1.1rem;
  /*font-weight: 700; */
  text-align: justify;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* ========================================
   SECTION ACTIVITÉS
   ======================================== */
.activities-section {
  background-color: var(--color-gris);
}

.activity-card {
  background-color: var(--color-blanc);
  border: none;
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(230, 168, 23, 0.2);
}

.activity-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.activity-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--color-marron);
}

.activity-card p {
  color: #333;
  font-size: 1rem;
}

/* ========================================
   SECTION PRODUITS
   ======================================== */
.products-section {
  background-color: var(--color-blanc);
}

.product-card {
  background-color: var(--color-blanc);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: var(--color-or);
}

.product-image {
  position: relative;
  width: 100%;
  height: 300px;
  background-color: var(--color-gris);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(230, 168, 23, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-marron);
  margin-bottom: 10px;
}

.product-description {
  color: #333;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.product-feature {
  color: #c68600;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
  padding-top: 12px;
  border-top: 2px solid #d0d0d0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ========================================
   SECTION VALEURS
   ======================================== */
.values-section {
  background-color: var(--color-gris);
}

.value-card {
  text-align: center;
  padding: 30px;
}

.value-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-marron);
  margin-bottom: 15px;
}

.value-description {
  color: #333;
  font-size: 0.95rem;
}

/* ========================================
   SECTION STATISTIQUES
   ======================================== */
.stats-section {
  background: linear-gradient(135deg, var(--color-marron) 0%, #5a3b2a 100%);
  color: var(--color-blanc);
}

.stat-item {
  text-align: center;
  padding: 30px 0;
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-or);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--color-blanc);
}

/* ========================================
   SECTION FERME
   ======================================== */
.farm-section {
  background-color: var(--color-blanc);
}

.farm-tabs {
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 30px;
}

.farm-tabs .nav-link {
  color: #666;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.farm-tabs .nav-link:hover {
  color: var(--color-marron);
  border-bottom-color: #ddd;
}

.farm-tabs .nav-link.active {
  color: var(--color-marron);
  border-bottom-color: #c68600;
  background-color: transparent;
}

.farm-tab-content {
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.farm-stat {
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  border-left: 4px solid #c68600;
}

.farm-stat h5 {
  color: var(--color-marron);
  margin-bottom: 10px;
}

.farm-stat p {
  color: #333;
  font-size: 1.1rem;
  margin: 0;
}

.farm-feature {
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.farm-feature:last-child {
  border-bottom: none;
}

.farm-feature h3 {
  color: var(--color-or);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.farm-feature p {
  color: #333;
  font-size: 1rem;
}

.farm-info-card,
.farm-detail-box {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid #c68600;
}

.farm-subtitle {
  color: var(--color-marron);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.farm-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.farm-list li {
  color: #333;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.farm-list li:last-child {
  border-bottom: none;
}

/* ========================================
   SECTION TÉMOIGNAGES
   ======================================== */
.testimonials-section {
  background-color: var(--color-gris);
}

.testimonial-card {
  background-color: var(--color-blanc);
  border-left: 4px solid var(--color-or);
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-marron);
  margin-bottom: 5px;
}

.testimonial-role {
  color: #c68600;
  font-size: 0.9rem;
}

/* ========================================
   SECTION CONTACT
   ======================================== */
.contact-section {
  background-color: var(--color-blanc);
}

.contact-intro {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 30px !important;
}

.contact-info {
  padding: 30px;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  border-left: 4px solid #c68600;
}

.contact-info h3 {
  color: #1a1a1a;
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-info p {
  color: #333;
  margin: 5px 0;
  font-size: 0.95rem;
}

.contact-info a {
  color: #c68600;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: #a86c00;
  text-decoration: underline;
}

.contact-form {
  background-color: #e8e8e8;
  padding: 40px;
  border-radius: 10px;
  border: 2px solid #bbb;
}

.contact-form-wrapper h3,
.contact-info h3 {
  color: #1a1a1a;
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-item-title {
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-item {
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}

.contact-item:last-child {
  border-bottom: none;
}

.social-links {
  padding: 20px;
  background-color: #f0f0f0;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.social-links h5 {
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 15px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #c68600;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-link i {
  color: var(--color-blanc);
}
.social-link:hover {
  background-color: #a86c00;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(198, 134, 0, 0.3);
}

.form-control,
.form-select {
  border: 1px solid #bbb;
  border-radius: 5px;
  padding: 12px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: #fff;
  color: #333;
}

.form-control:focus,
.form-select:focus {
  border-color: #c68600;
  box-shadow: 0 0 0 0.2rem rgba(198, 134, 0, 0.25);
  color: #333;
}

.form-label {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  display: block;
}

/* ========================================
   MAP
   ======================================== */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 30px 0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background-color: var(--color-marron);
  color: var(--color-blanc);
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-section {
  margin-bottom: 20px;
}

.footer-title {
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-section h6 {
  font-weight: 700;
  color: var(--color-blanc);
  margin-bottom: 15px;
  font-size: 1rem;
}

.footer-slogan {
  font-size: 0.95rem;
  color: var(--color-blanc);
  margin-top: 15px;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-blanc);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #FFD700;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #FFD700;
  color: var(--color-marron);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.1rem;
}

.footer-social-link:hover {
  background-color: var(--color-blanc);
  transform: translateY(-3px);
}

.footer-contact {
  font-size: 0.95rem;
  color: var(--color-blanc);
  line-height: 1.8;
}

.footer-contact a {
  color: var(--color-blanc);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #FFD700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 30px;
  margin-top: 30px;
  text-align: center;
  color: var(--color-blanc);
  font-size: 0.95rem;
}

.copyright {
  color: var(--color-blanc);
  margin: 0;
}

.footer-credit {
  color: var(--color-blanc);
  margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  .carousel-title {
    font-size: 2rem;
  }

  .carousel-description {
    font-size: 1rem;
  }

  .carousel-content {
    padding: 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .activity-card,
  .product-card {
    margin-bottom: 20px;
  }

  .carousel-item {
    min-height: 300px;
  }

  .stat-value {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.95rem;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .carousel-title {
    font-size: 1.5rem;
  }

  .carousel-description {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .carousel-item {
    min-height: 250px;
  }
}

/* ========================================
   MODE SOMBRE (optionnel)
   ======================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --color-dark: #0f0f0f;
    --color-light-text: #f5f5f5;
  }

  body {
    background-color: #0f0f0f;
    color: #f5f5f5;
  }

  .navbar {
    background-color: #1a1a1a !important;
    border-bottom-color: #333;
  }

  .navbar-brand {
    color: #f5f5f5 !important;
  }

  .nav-link {
    color: #f5f5f5 !important;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--color-or) !important;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #f5f5f5;
  }

  .section-title {
    color: #f5f5f5;
  }

  .about-text,
  .activity-card p,
  .product-description,
  .value-description,
  .contact-info p,
  .farm-list li {
    color: #e0e0e0;
  }

  .activity-card,
  .product-card,
  .testimonial-card,
  .farm-detail-box,
  .farm-info-card {
    background-color: #1a1a1a;
    border-color: #333;
    color: #f5f5f5;
  }

  .activity-card h3,
  .product-name,
  .testimonial-card,
  .farm-subtitle,
  .value-title {
    color: #f5f5f5;
  }

  .contact-form,
  .contact-form-wrapper {
    background-color: #252525;
    color: #f5f5f5;
    border: 1px solid #3a3a3a;
    padding: 30px;
    border-radius: 8px;
  }

  .form-control,
  .form-select {
    background-color: #2a2a2a;
    border-color: #444;
    color: #f5f5f5;
  }

  .form-control::placeholder {
    color: #999;
  }

  .form-control:focus,
  .form-select:focus {
    background-color: #333;
    border-color: var(--color-or);
    color: #f5f5f5;
  }

  .form-label {
    color: #f5f5f5;
    font-weight: 700;
  }

  .contact-info {
    background-color: #252525;
    border-color: #3a3a3a;
  }

  .contact-info h3,
  .contact-form-wrapper h3 {
    color: #f5f5f5;
  }

  .contact-info p,
  .contact-item-title {
    color: #e0e0e0;
  }

  .contact-info a {
    color: #FFD700;
  }

  .contact-info a:hover {
    color: #fff;
  }

  .contact-item {
    border-bottom-color: #3a3a3a;
  }

  .social-links {
    background-color: #252525;
    border-color: #3a3a3a;
  }

  .social-links h5 {
    color: #f5f5f5;
  }

  .social-link {
    background-color: #FFD700;
    color: #0f0f0f;
  }

  .social-link:hover {
    background-color: #fff;
  }

  section {
    background-color: #0f0f0f;
  }

  .activities-section,
  .values-section,
  .testimonials-section,
  .products-section,
  .about-section,
  .contact-section,
  .farm-section {
    background-color: #1a1a1a;
  }

  .stats-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  }

  .stat-value {
    color: var(--color-or);
  }

  .stat-label {
    color: #e0e0e0;
  }

  .contact-info {
    color: #f5f5f5;
  }

  .contact-item-title {
    color: #f5f5f5;
  }

  .social-link {
    background-color: transparent;
    border: 2px solid var(--color-or);
    color: var(--color-or);
  }

  .social-link:hover {
    background-color: var(--color-or);
    color: #0f0f0f;
  }

  footer {
    background-color: #0f0f0f;
    border-top: 1px solid #333;
  }

  .footer-title,
  .footer-section h6 {
    color: var(--color-or);
  }

  .footer-slogan,
  .footer-links a,
  .footer-contact,
  .copyright,
  .footer-credit {
    color: #f5f5f5;
  }

  .footer-links a:hover,
  .footer-contact a:hover {
    color: var(--color-or);
  }

  .carousel-title {
    color: var(--color-or);
  }

  .carousel-description {
    color: #f5f5f5;
  }

  .testimonial-quote {
    color: #e0e0e0;
  }

  .testimonial-author,
  .testimonial-role {
    color: #f5f5f5;
  }
}
