/* ===== FUENTES ===== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap');

/* ===== ESTILOS GENERALES ===== */
body {
  font-family: 'Open Sans', sans-serif;
  color: #545454;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: #0e3810;
  transition: 0.3s ease;
}

a:hover {
  color: #01ee0d;
}

/* ===== NAVBAR FLOANTE MODERNO ===== */
.navbar-flotante {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(9, 97, 22, 0.85); /* Verde con transparencia */
  backdrop-filter: blur(8px); /* efecto vidrio */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 8px 0;
}

/* Efecto al hacer scroll */
.navbar-flotante.scrolled {
  background: rgba(9, 97, 22, 0.95);
  box-shadow: 0 4px 15px rgba(0,0,0,0.35);
  padding: 5px 0;
}

/* Contenedor */
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.navbar-brand img {
  height: 55px;
  width: auto;
  transition: all 0.3s ease;
}

.navbar-flotante.scrolled .navbar-brand img {
  height: 45px;
}

/* Menú */
.navbar-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 0;
}

/* Enlaces del menú */
.navbar-nav > li > a {
  font-size: 15px;
  color: #ffffff !important;
  font-weight: 600;
  text-transform: none;
  position: relative;
  padding: 10px 12px;
  transition: all 0.3s ease;
}

/* Subrayado animado */
.navbar-nav > li > a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav > li > a:hover::after {
  width: 60%;
}

.navbar-nav > li > a:hover {
  color: #dfffe4 !important;
}


/* ===== BANNER ===== */
.banner {
  background: rgba(3, 71, 13, 0.4);
  padding: 150px 0;
  text-align: center;
  color: #000;
  margin-top: 70px; /* Compensa la barra flotante */
}

.banner h2 {
  font-size: 28px;
  font-weight: 600;
}

/* ===== EVENTOS ===== */
.event {
  padding: 60px 0;
}

.default-heading h2 {
  font-size: 30px;
  font-weight: 600;
  color: #000;
  text-align: center;
  margin-bottom: 40px;
}

.event-item {
  text-align: left;
}

.event-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.event-item h4 {
  font-size: 18px;
  font-weight: 600;
}

.event-item p {
  font-size: 14px;
  color: #555;
}

.row > [class*='col-'] {
  margin-bottom: 30px;
}

/* ===== FOOTER ===== */
footer {
  background: #03470d;
  color: #fff;
  text-align: center;
  padding: 50px 0;
  margin-top: 50px;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: #00ff66;
}


footer .social a {
  display: inline-block;
  margin: 5px;
  width: 35px;
  height: 35px;
  background: #fff;
  color: #03470d;
  border-radius: 50%;
  line-height: 35px;
}

footer .social a:hover {
  background: #00b84a;
  color: #fff;
}
.event h2 {
  color: #1a4d1a; /* título principal “Eventos” */
  font-weight: bold;
}

.event-item h4 a {
  color: #0d730d; /* color de los subtítulos */
  text-decoration: none;
}

.event-item h4 a:hover {
  color: #1b9b1b;
}

.event-item p {
  color: #555; /* texto del párrafo */
}

.copy-right {
  margin-top: 10px;
  font-size: 13px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 767px) {
  .navbar-collapse {
    background: rgba(3, 71, 13, 0.95);
  }
  .navbar-nav > li > a {
    color: #fff !important;
  }
  .banner {
    padding: 100px 20px;
  }
  .banner h2 {
    font-size: 22px;
  }
}
