/* FotoNaturaleza.net - Estilo claro renovado */
body {
  background-color: #EDF5EE;
  color: #2E3D2F;
  font-family: 'Open Sans', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* --- Tarjetas y botones --- */
.card {
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.btn-success {
  background-color: #87C989;
  border: none;
}

.btn-success:hover {
  background-color: #76b47a;
}

.btn-outline-success {
  border-color: #87C989;
  color: #2E3D2F;
}

.btn-outline-success:hover {
  background-color: #87C989;
  color: #fff;
}

/* --- Pie de página --- */
footer {
  background-color: #93CE95;
  color: #2E3D2F;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
}

/* --- Formularios --- */
input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
  border-radius: 0.5rem !important;
}

.form-control:focus {
  border-color: #87C989;
  box-shadow: 0 0 0 0.2rem rgba(135,201,137,0.25);
}

/* --- Tipografía y enlaces --- */
h1, h2, h3, h4, h5 {
  color: #2E3D2F;
}

a {
  color: #2E3D2F;
}

a:hover {
  color: #000;
}

/* --- Bloque de bienvenida --- */
.bienvenido {
  background: #93CE95;
  color: #2E3D2F;
  padding: 10px;
  text-align: center;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* --- Cabecera completa (banner + menú comparten fondo) --- */
.cabecera {
  background: url("/foro/images/cabecera.webp") center/cover no-repeat;
  width: 100%;
  color: #2E3D2F;
}

/* --- Banner superior (solo define altura) --- */
.top-banner {
  height: 200px;
  width: 100%;
}

/* --- Menú dentro del mismo fondo del banner --- */
.fondo-banner {
  position: relative;
  background: rgba(147, 206, 149, 0.10); 
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
}


/* --- Enlaces del menú --- */
/* Mejora de legibilidad del texto del menú */
.fondo-banner .nav-link {
  color: #f0f0e1 !important;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25); /* sombra sutil */
}


.fondo-banner .nav-link:hover {
  text-decoration: underline;
  color: #000 !important;
}

/* --- Logo del menú --- */
.navbar-brand img {
  height: 42px;
}

/* --- Formularios de búsqueda del menú --- */
form input[type="text"] {
  border-radius: .4rem;
  border: 1px solid #ccc;
  padding: .25rem .5rem;
}

form input[type="submit"] {
  background: #87C989;
  border: none;
  color: #fff;
  border-radius: .4rem;
  padding: .25rem .75rem;
}

form input[type="submit"]:hover {
  background: #76b47a;
}
