@charset "UTF-8";

/* ---------- Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #2b2b2b;
  background-color: #fafafa;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- Navbar ---------- */
.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: #1b4d3e !important;
}

.nav-link {
  color: #2b2b2b !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #198754 !important;
}

/* ---------- Hero ---------- */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 4rem 0;
  background: linear-gradient(135deg, #f4fdf8 0%, #ffffff 100%);
}

.hero-section h1 {
  color: #1b4d3e;
  font-size: 2.8rem;
  font-weight: 700;
}

.hero-section .lead {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-section img {
  max-width: 480px;
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ---------- Botones ---------- */
.btn-success {
  background-color: #1b4d3e;
  border-color: #1b4d3e;
  font-weight: 600;
}

.btn-success:hover {
  background-color: #256a56;
  border-color: #256a56;
  transform: translateY(-2px);
}

/* ---------- Secciones ---------- */
section {
  margin: 4rem 0;
}

section h2 {
  color: #1b4d3e;
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

section p {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
}

/* ---------- Cards ---------- */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ---------- Videos ---------- */
.ratio iframe {
  border-radius: 12px;
}

/* ---------- Galer¨ªa ---------- */
#galeria .img-fluid {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
}

#galeria .img-fluid:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* ---------- Conservaci¨®n ---------- */
#conservacion .card h5 {
  color: #256a56;
}

#conservacion .card p {
  font-size: 0.95rem;
}

/* ---------- Donaciones (oculta por ahora) ---------- */
#donaciones {
  display: none; /* lista para mostrar luego */
  background-color: #e8f7f0;
  padding: 3rem 0;
  text-align: center;
}

#donaciones h2 {
  color: #1b4d3e;
  margin-bottom: 1rem;
}

#donaciones p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ---------- Footer ---------- */
footer {
  background-color: #1b4d3e;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

footer a {
  color: #b6e6c2;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: #1b4d3e;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: #1b4d3e;
  border-radius: 50%;
  left: calc(50% - 10px);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-section {
    text-align: center;
    flex-direction: column;
  }
  .hero-section img {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    width: 100%;
    text-align: left;
    left: 0;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item::before {
    left: 0;
  }
}

