html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  background-color: #f7f7f7;
}

main {
  flex: 1;
}

/* ================================
   NAVBAR
================================ */
.navbar-custom {
  background-color: #b5ceb2;
  padding: 12px 30px;
}

.logo-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.titulo-nav {
  font-size: 22px;
  font-weight: 700;
  color: #1d4d3d;
  white-space: nowrap;
}

.nav-item {
  font-size: 18px;
  margin-right: 10px;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: #1d4d3d !important;
  margin: 0 5px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background-color: #709b76;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dropdown-menu {
  border-radius: 8px;
  padding: 10px 0;
}

.dropdown-item:hover {
  background-color: #e9f6ef;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  filter: brightness(0.2);
}
/* Título del evento */
.titulo-evento h1 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0d6efd;
}

/* Hero del evento */
.hero-evento {
    height: 400px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.hero-evento .hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.hero-evento:hover .hero-img {
    transform: scale(1.05);
}

/* Overlay degradado para mejor contraste del texto */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13,110,253,0.6), rgba(0,0,0,0.6));
}

/* Información del evento */
.informacion-evento .card {
    border-radius: 12px;
}

.informacion-evento .card-title {
    color: #0d6efd;
    margin-bottom: 1rem;
}

/* Recursos */
.recursos-items img {
    width: 40px;
    height: auto;
}

.recursos-items a.btn {
    font-size: 0.875rem;
}

/* Foro / Comentarios */
.foro .input-group input {
    border-radius: 0.25rem 0 0 0.25rem;
}

.foro .input-group button {
    border-radius: 0 0.25rem 0.25rem 0;
}

/* ================================
   FOOTER
================================ */
.contenido-inferior {
  background-color: #b5ceb2;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 -5px 10px #d4d3d3;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col.izquierda h4,
.footer-col.izquierda p {
  text-align: left;
  color: #1b5e20;
  font-size: 16px;
}

.footer-col.izquierda img {
  width: 100px;
  margin-top: 15px;
}

.footer-col.derecha {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer-col.derecha h4 {
  color: #1b5e20;
  font-size: 16px;
}

.redes-footer {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.redes-footer a img {
  width: 42px;
  height: 42px;
  transition: transform 0.3s ease;
}

.redes-footer a img:hover {
  transform: scale(1.2);
}

/* Responsividad Swiper en móviles */
@media (max-width: 768px) {
    .swiper {
        height: 250px;
    }
}

/* Sombra y transición cards */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Espaciado personalizado */
.container h1, .container h3 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 3rem !important;
}
