/* Réinitialisation et styles généraux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #FFFFFF;
    color: #333;
    line-height: 1.6;
}

.logo img {
    max-height: 80px;
    width: auto;
  }

a {
    text-decoration: none;
    color: #a77e6a;
}

a:hover {
    color: #eac0ae;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #FFFFFF;
    border-bottom: 1px solid #eaeaea;
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: #a77e6a;
    font-weight: bold;
}

.navbar ul li a:hover {
    color: #eac0ae;
}

/* Section Hero */
.hero {
    position: relative;
    background-image: url('1e09812a69986f97d7e2aa7330c3e15a.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    z-index: 1;
    height: 100vh;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(59, 38, 17, 0.508); /* marron avec 50% opacité */
    z-index: -1;
}


.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 60px;
}

.cta-button {
    padding: 10px 20px;
    background-color: #a77e6a;
    color: white;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #eac0ae;
}

#dossard{
    height: 60vh;
}

.don-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px;
  background-color: #fff;
  flex-wrap: wrap;
}

.don-content {
  flex: 1;
  max-width: 550px;
}

.don-content h2 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.don-content .accent {
  color: #d4b0a2;
  font-weight: 600;
  font-style: italic;
}

.don-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.don-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: #d4b0a2;
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #d4b0a2;
}

.don-image {
  flex: 1;
  display: flex;
  justify-content: center;
  padding-left: 40px;
}

.don-image img {
  max-width: 50%;
  border: 10px solid #d4b0a2;
  border-radius: 10px;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1em;
}

/* ======= SECTION STYLES ======= */
#notre-organisme {
  padding: 4rem 1.5rem;
  background-color: #ffffff;
  color: #1a202c;
}

#notre-organisme .max-w-6xl {
  max-width: 1200px;
  margin: 0 auto;
}

#notre-organisme .grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  #notre-organisme .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ======= IMAGES ======= */
#notre-organisme img {
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#notre-organisme img:hover {
  transform: scale(1.02);
}

/* ======= TEXT ======= */
#notre-organisme h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 3rem;
}

#notre-organisme p {
  font-size: 1rem;
  color: #be9783;
}

#notre-organisme strong {
  color: #a77e6a;
}

#notre-organisme h4 {
  margin-top: 1rem;
  color: #a77e6a;
  font-weight: 600;
}

#devenir-beneficiaire {
  padding: 4rem 1.5rem;
  background-color: #f7fafc;
  color: #1a202c;
}

#devenir-beneficiaire .max-w-6xl {
  max-width: 1200px;
  margin: 0 auto;
}

#devenir-beneficiaire .grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  #devenir-beneficiaire .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

#devenir-beneficiaire img {
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#devenir-beneficiaire img:hover {
  transform: scale(1.02);
}

#devenir-beneficiaire h2,
#devenir-beneficiaire h3 {
  color: #a77e6a;
}

#devenir-beneficiaire p {
  color: #a77e6a;
}

#devenir-beneficiaire a {
  text-decoration: none;
}


/* Services */
.services {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.service-item {
    margin-bottom: 40px;
}

.service-item h3 {
    font-size: 2rem;
    color: #a77e6a;
    margin-bottom: 10px;
}

/* Témoignages */
.temoignages {
    padding: 60px 0;
    background-color: #FFFFFF;
    text-align: center;
}

.temoignage p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 10px;
}

/* Section Blog */
.blog-section {
    padding: 60px 0;
    background-color: #f5ded2;
    text-align: center;
}

.blog-section h2 {
    font-size: 2rem;
    color: #a77e6a;
    margin-bottom: 20px;
}

.blog-section p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 30px;
}

/* Conteneur des cartes */
.blog-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px;
}

/* Style des cartes de blog */
.blog-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease-in-out;
}

.blog-card:hover {
    transform: scale(1.05);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit:cover;
    border-radius: 10px 10px 0 0;
}

.blog-card-content {
    padding: 20px;
}

.blog-card-content h3 {
    font-size: 1.5rem;
    color: #a77e6a;
    margin-bottom: 10px;
}

.blog-card-content p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

.read-more {
    font-size: 1rem;
    color: #a77e6a;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #eac0ae;
}

@media screen and (max-width: 1200px) {
    .blog-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .blog-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .blog-cards {
        grid-template-columns: 1fr;
    }
}


/* Section Contact */
.contact-section {
    background-color: #f5ded2;
    padding: 60px 0;
}

.contact-section h2 {
    font-size: 2rem;
    color: #a77e6a;
    margin-bottom: 20px;
    text-align: center;
}

.contact-section p {
    font-size: 1.2rem;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 1rem;
    color: #a77e6a;
    margin-bottom: 10px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    color: #333;
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #a77e6a;
    color: #fff;
    font-size: 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #eac0ae;
}


/* Footer */
.footer {
    background-color: #eac0ae;
    padding: 20px;
    text-align: center;
}

.footer .social-links {
    margin-top: 10px;
    }
    
    .footer .social-links a {
    margin: 0 10px;
    color: #a77e6a;
    }
    /* Media Query pour les écrans de moins de 768px */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 0.5rem;
  }

  .navbar ul li {
    margin: 0;
  }

  .hero-text {
    padding: 2rem 1rem;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .cta-button {
    display: inline-block;
    margin-top: 1rem;
  }

  .services .container,
  #notre-organisme .max-w-6xl,
  #devenir-beneficiaire .max-w-6xl {
    padding: 0 1rem;
  }

  .grid.md\:grid-cols-2 {
    display: flex;
    flex-direction: column;
  }

  .don-section {
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
  }

  .don-content,
  .don-image {
    width: 100%;
  }

  .don-image img {
    width: 100%;
    height: auto;
  }

  .temoignages .container {
    padding: 0 1rem;
  }

  .temoignage {
    margin-bottom: 2rem;
  }

  .btn-primary {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}
