/* Style principal pour le site Des Plumes et des Pattes */

/* Variables CSS */
:root {
  --primary-color: #609966;     /* Vert Nature */
  --secondary-color: #F4EAD5;   /* Beige Doux */
  --accent-color: #A0C4FF;      /* Bleu Ciel Doux */
  --dark-color: #333333;        /* Texte principal */
  --light-color: #f9f9f9;       /* Fond clair (légèrement ajusté) */
  --white-color: #ffffff;       /* Blanc */
  --footer-color: #406843;      /* Vert Nature Foncé */
  --font-main: 'Nunito', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--dark-color);
  line-height: 1.6;
  background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block; /* Élimine l'espace sous les images */
  background-color: transparent; /* Aucun fond par défaut */
}

/* Style pour standardiser les conteneurs d'images */
.image-container {
  overflow: hidden;
  position: relative;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.05);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white-color);
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.btn-primary {
  background-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
}

.btn-special {
  background-color: #F4A261;
  position: relative;
}

.btn-special:hover {
  background-color: #E76F51;
  color: var(--white-color);
}

.btn-special::after {
  content: '';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #E76F51;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(231, 111, 81, 0.7);
  }
  
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(231, 111, 81, 0);
  }
  
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(231, 111, 81, 0);
  }
}

.text-center {
  text-align: center;
}

.my-4 {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.py-4 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Header */
.header {
  background-color: var(--white-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  margin-right: 10px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 1.5rem;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--dark-color);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
  background-color: #f5f5f5;
}

.hero-slider {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white-color);
  width: 80%;
  max-width: 800px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--white-color);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.quick-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(76, 175, 80, 0.8);
  color: var(--white-color);
  padding: 1rem 0;
  z-index: 3;
}

.quick-info-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  margin: 0.5rem;
}

.info-item i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* Page Banner */
.page-banner {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.page-banner h1 {
  color: var(--white-color);
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.breadcrumb {
  color: var(--white-color);
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--white-color);
}

.breadcrumb a:hover {
  color: var(--accent-color);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-subtitle {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--accent-color);
}

.bg-light {
  background-color: var(--light-color);
}

.bg-white {
  background-color: var(--white-color);
}

.p-4 {
  padding: 1.5rem;
}

.rounded {
  border-radius: 8px;
}

.event-item {
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.event-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.events-content {
  max-width: 800px;
  margin: 0 auto;
}

.school-text {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* About Section */
.about {
  background-color: var(--white-color);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* History Content */
.history-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
}

.history-text {
  flex: 2;
  min-width: 300px;
}

.history-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.history-image img {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.image-caption {
  font-style: italic;
  color: var(--dark-color);
  opacity: 0.8;
}

/* Mission Content */
.mission-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.mission-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--white-color);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.mission-item:hover {
  transform: translateY(-5px);
}

.mission-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.mission-text h3 {
  margin-bottom: 1rem;
}

/* Farm Content */
.farm-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 2rem;
}

/* Nouvelle mise en page pour les photos */
.photo-showcase {
  display: flex;
  gap: 20px;
  margin-bottom: 2rem;
  max-width: 100%;
  overflow: hidden;
}

.showcase-item {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 300px;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.showcase-item:hover img {
  transform: scale(1.05);
}

/* Règle globale pour les éléments avec des images en arrière-plan */
[style*="background-image"] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.farm-text {
  flex: 1;
  min-width: 300px;
}

.farm-gallery {
  flex: 1;
  min-width: 300px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16/9; /* Force un rapport hauteur/largeur de 16:9 */
  height: 250px; /* Hauteur fixe */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Couvre tout l'espace disponible */
  object-position: center; /* Centre l'image */
}

/* Testimonials */
.testimonials {
  overflow: hidden;
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  display: none;
  padding: 2rem;
  background-color: var(--white-color);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.testimonial-card.active {
  display: block;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: bold;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color);
}

/* CTA Section */
.cta {
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  color: var(--white-color);
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  color: var(--white-color);
  margin-bottom: 1.5rem;
}

.cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Animal Categories */
.animal-categories {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.category-btn {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  cursor: pointer;
  font-weight: bold;
  color: var(--dark-color);
  position: relative;
}

.category-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.category-btn:hover::after,
.category-btn.active::after {
  width: 100%;
}

.category-btn.active {
  color: var(--primary-color);
}

.animal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.animal-card {
  background-color: var(--white-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

/* Styles pour les animaux dans la section Autres Oiseaux */
.animal-image-container {
  height: 250px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  position: relative;
  background-color: transparent; /* Fond transparent */
}

.full-width-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.animal-card:hover .full-width-image {
  transform: scale(1.05);
}

.animal-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  aspect-ratio: 4/3; /* Standardise le format des images */
}

.animal-details {
  padding: 1.5rem;
}

.animal-details h3 {
  margin-bottom: 0.5rem;
}

/* Animal Categories Tabs */
.animal-categories-tabs {
  display: flex;
  justify-content: center;
  margin: 3rem 0 1rem;
}

.category-tab {
  background: none;
  border: none;
  padding: 0.8rem 1.5rem;
  margin: 0 0.5rem;
  cursor: pointer;
  font-weight: bold;
  color: var(--dark-color);
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.category-tab:hover {
  color: var(--primary-color);
}

.category-tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.animal-category-section {
  display: none;
}

.animal-category-section.active {
  display: block;
}

.category-description {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* Poules Focus Section */
.poules-focus {
  max-width: 1000px;
  margin: 2rem auto 4rem;
  padding: 1.5rem;
  background-color: var(--white-color);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Styles pour le panneau de vente */
.vente-panel {
  background-color: #FAF1E6;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  border-left: 4px solid #F4A261;
}

.vente-panel h4 {
  color: #E76F51;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.3rem;
}

.vente-list {
  list-style: none;
  margin: 1.5rem 0;
  padding-left: 1rem;
}

.vente-list li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 2rem;
}

.vente-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: #E76F51;
}

.vente-note {
  font-style: italic;
  margin-top: 1rem;
  border-top: 1px dashed #ccc;
  padding-top: 1rem;
}

.vente-contact {
  text-align: center;
  margin-top: 1.5rem;
}

.poules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.poule-item {
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.poule-item:hover {
  transform: translateY(-5px);
}

.poule-image {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.poule-details {
  padding: 1rem;
}

.poule-details h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.poule-details p {
  font-size: 0.9rem;
  line-height: 1.5;
}



.text-center {
  text-align: center;
}

/* Interaction Content */
.interaction-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.interaction-text {
  flex: 1;
  min-width: 300px;
}

.interaction-text h3 {
  margin-top: 1.5rem;
  color: var(--accent-color);
}

.interaction-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.interaction-image img {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Activities Section */
.activities {
  background-color: var(--white-color);
}

.activity-full {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  align-items: flex-start; /* Alignement vertical des éléments vers le haut */
}

.activity-full .activity-image { /* Ciblage plus spécifique pour les activités en pleine largeur */
  flex: 1;
  min-width: 300px;
  min-height: 450px; /* Hauteur minimale pour s'aligner avec le texte */
  display: flex; /* Pour centrage vertical */
  align-items: flex-start; /* Alignement vers le haut pour correspondre au titre */
  justify-content: center; /* Centrage horizontal */
  overflow: hidden; /* Assurer que l'image coupée par object-fit ne dépasse pas */
  position: relative; /* Pour les effets de survol */
  border-radius: 8px 0 0 8px; /* Coins arrondis uniquement à gauche */
  background-color: transparent; /* Fond transparent */
}

/* Style pour les images dans les cartes d'aperçu (grid) */
.activities-grid .activity-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: transparent; /* Fond transparent */
}

.activity-full .activity-image img { /* Ciblage plus spécifique */
  width: 100%;
  height: 100%; /* Remise en hauteur 100% */
  object-fit: cover;
  object-position: center; /* Centrer l'image */
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease; /* Transition douce */
}

.activity-full:hover .activity-image img {
  transform: scale(1.03); /* Léger zoom au survol */
  filter: brightness(1.05); /* Légère augmentation de luminosité */
}

/* Styles pour l'image */
.activity-image img,
.animal-image-container img {
  transition: transform 0.5s ease, filter 0.5s ease;
}

.activity-text {
  flex: 1;
  min-width: 300px;
  padding: 1.2rem 2rem 2rem 2rem; /* Ajustement précis du padding supérieur */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Aligne le contenu vers le haut */
}

.activity-text.bg-white {
  background-color: var(--white-color);
}

.activity-text h2 {
  margin-top: 0; /* Supprime la marge supérieure du titre */
  margin-bottom: 1.5rem; /* Conserve un espacement sous le titre */
}

.activity-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature {
  display: flex;
  align-items: center;
}

.feature i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 450px));
  gap: 2rem;
  justify-content: center;
}

.activity-card {
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.activity-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.activity-details {
  padding: 1.5rem;
  flex: 1;
}

.activity-details.bg-white {
  background-color: var(--white-color);
}

.activity-details h3 {
  margin-bottom: 0.5rem;
}

/* Practical Info Section */
.practical-info {
  background-color: var(--light-color);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.info-card {
  background-color: var(--white-color);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.info-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.map-container {
  margin-top: 3rem;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
  background-color: var(--white-color);
}

/* Styles pour la nouvelle mise en page de contact sans formulaire */
.contact-info-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--white-color);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-container h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.contact-social {
  text-align: center;
  margin: 2rem 0;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white-color);
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: var(--accent-color);
}

.contact-image {
  text-align: center;
  margin-top: 3rem;
}

.contact-image img {
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-caption {
  margin-top: 1rem;
  font-style: italic;
  color: var(--dark-color);
  opacity: 0.8;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

textarea.form-control {
  min-height: 150px;
}

.error-message {
  color: #d9534f;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.form-control.error {
  border-color: #d9534f;
}

.success-message {
  padding: 1rem;
  background-color: #dff0d8;
  color: #3c763d;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--footer-color);
  color: var(--white-color);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-info {
  flex: 2;
  min-width: 300px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-nav {
  flex: 1;
  min-width: 150px;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--white-color);
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 0.8rem;
}

.footer-link a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  padding-left: 5px;
}

.footer-link a:hover {
  color: var(--white-color);
}

.social-media {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white-color);
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* Ressources Pédagogiques Section */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.resource-card {
  background-color: var(--white-color);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.resource-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.resource-details h3 {
  margin-bottom: 1rem;
}

.resource-details p {
  margin-bottom: 1.5rem;
}

.btn.disabled,
.btn:disabled {
  background-color: #cccccc;
  color: #666666;
  cursor: not-allowed;
}

.btn.disabled:hover,
.btn:disabled:hover {
   background-color: #cccccc;
   color: #666666;
}


/* Overlay pour images d'activités - transparent */
.activity-image::after {
  content: none; /* Suppression complete de l'overlay */
}

/* Media Queries */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--white-color);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    transition: top 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    top: 0;
  }

  .nav-item {
    margin: 1rem 0;
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .quick-info-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1rem;
  }

  .info-item {
    margin: 0.5rem 0;
  }

  .page-banner {
    height: 200px;
  }

  .page-banner h1 {
    font-size: 2rem;
  }
  
  /* Ajustements pour les activités sur mobile */
  .activity-full {
    flex-direction: column;
  }
  
  .activity-full .activity-image {
    border-radius: 8px 8px 0 0; /* Coins arrondis en haut seulement */
    min-height: 300px; /* Hauteur minimale au lieu d'une hauteur fixe */
  }
  
  .activity-text {
    border-radius: 0 0 8px 8px; /* Coins arrondis en bas seulement */
  }
}

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

  .section {
    padding: 2rem 0;
  }

  .animal-grid, 
  .activities-grid, 
  .info-grid,
  .mission-content {
    grid-template-columns: 1fr;
  }

  .animal-categories-tabs {
    flex-direction: column;
    align-items: center;
  }

  .category-tab {
    margin: 0.5rem 0;
  }
}
