body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 0;
  padding-top: 80px; /* espacio para header fijo */
  background-color: #f8f9f4;
  background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
  background-repeat: repeat;
  color: #2f3e2e;
  line-height: 1.6;
}

header {
  background-color: #e6efe4;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  box-sizing: border-box; /* evita desbordes */
}

header h1 {
  font-size: 1.6em;
  color: #2f5d37;
  margin: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #2f5d37;
  font-weight: bold;
}

nav a:hover {
  color: #1a3921;
}


/* Hero */
.hero {
  text-align: center;
  padding: 100px 20px;
  background-image: url('img/hojas\ verdes.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(47, 61, 46, 0.55); /* capa oscura translúcida para legibilidad */
}

.hero h2, .hero p, .hero .btn {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 2.5em; /* aumenta el tamaño de la letra */
  margin-bottom: 20px;
  line-height: 1.2; /* opcional, para que no se vea muy separado */
}

.btn {
  background-color: #2f5d37;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #244b2c;
}

/* Secciones de contenido */
.content {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.species-list {
  text-align: left;
  display: inline-block;
  margin-top: 20px;
}

.species-list li {
  margin-bottom: 10px;
}

/* Pie de página */
footer {
  background-color: #e6efe4;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #4d5d4b;
}
/* Sección de especies */
.species {
  margin-bottom: 40px;
  text-align: center;
}

.species img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* Diseño en columnas: imagen + texto */
.species {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
  flex-wrap: wrap; /* para que se acomode en pantallas chicas */
}

.species img {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.species-info {
  max-width: 400px;
  text-align: left;
}

.species-info h3 {
  margin-top: 0;
  color: #2f5d37;
}
.species img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.species img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
#participa {
  width: 100%;               /* ocupa todo el ancho */
  max-width: 100vw;          /* evita que se desborde horizontalmente */
  background-color: #2f5d37; /* verde oscuro */
  color: #ffffff;            /* texto blanco */
  padding: 80px 20px;        /* espacio vertical y horizontal */
  text-align: center;
}

#participa .btn {
  background-color: #ffffff;   /* botón contrastante */
  color: #2f5d37;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

#participa .btn:hover {
  background-color: #d9e8d0;
  color: #2f5d37;
}
/* Contenedor del logo + título */
header .logo {
  display: flex;
  align-items: center;
  gap: 10px; /* espacio entre el loguito y el título */
}

header .logo img {
  width: 40px; /* tamaño del icono */
  height: auto;
}
