/* =========================
   BASE DU SITE
========================= */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #2f4f2f;
  margin: 0;
  padding: 0;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
}

p {
  line-height: 1.7;
}

/* =========================
   NAVBAR CREATIVE
========================= */
.navbar-creative {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #2e7d32;
  transition: all 0.4s ease;
  z-index: 1000;
}

.navbar-creative.scrolled {
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  background: #ffffff;
}

.brand-logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #2e7d32, #a5d6a7);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 10px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: #1b5e20;
}

.navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  margin: 0 8px;
  color: #1b5e20 !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2e7d32, #cddc39);
  transition: width 0.3s ease;
}

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

/* ===== NAVBAR TOGGLER ===== */
.custom-toggler {
  border: none;
  outline: none;
}

.custom-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 1.5em;
  height: 1.5em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0,0,0,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* =========================
   SLIDER
========================= */
.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.overlay-gradient {
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.75));
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay-gradient h1,
.overlay-gradient p {
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   BOUTON DON
========================= */
.btn-donate {
  background: linear-gradient(135deg, #2e7d32, #cddc39);
  color: #fff;
  border-radius: 50px;
  padding: 10px 26px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(46,125,50,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-donate:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(46,125,50,0.5);
  color: #fff;
}

/* =========================
   SECTIONS
========================= */
.section-actions { background-color: #ffffff; }
.section-yellow { background-color: #f4f7c5; }
.section-green { background-color: #e6f4ea; }

.badge-green {
  background-color: #e9f7ef;
  color: #2e7d32;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.action-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}

.action-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

.icon-circle {
  width: 70px;
  height: 70px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 15px auto;
}

img.img-fluid {
  max-width: 100%;
  height: auto;
}

/* =========================
   FOOTER
========================= */
footer {
  background-color: #0f5132;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

/* =========================
   MEDIA QUERIES MOBILE
========================= */
@media (max-width: 991px) {

  /* Menu navbar full width */
  .mobile-menu {
    width: 100%;
    background: #ffffff;
    padding: 1rem;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .navbar-nav .nav-item {
    width: 100%;
    margin: 0;
  }

  .navbar-nav .nav-link {
    display: block;
    width: 100%;
    padding: 12px 0;
    font-size: 1.1rem;
    text-align: center;
  }

  .btn-donate {
    width: 100%;
    margin-top: 10px;
  }

  .carousel-item {
    height: 60vh; /* slider plus petit sur mobile */
  }

  .overlay-gradient h1 {
    font-size: 1.8rem;
  }

  .overlay-gradient p {
    font-size: 1rem;
  }

  .col-md-6, .col-md-4 {
    text-align: center !important;
  }

  .action-card {
    padding: 25px 15px;
  }

  section {
    padding: 50px 15px;
  }
}
