  nav a {
    text-decoration: none;
    font-size: 24px;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

/* Efecto de subrayado que aparece desde el centro */
nav a:hover {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}
  .logo-img {
    height: 160px; /* Usa height en lugar de max-height */
    width: auto;
    transition: height 0.3s ease-in-out, margin 0.3s ease-in-out; /* Suaviza la animación */
    margin-top: 80px;
    margin-bottom: 80px;
    margin-right: 50px;
}

/* Cuando se hace scroll */
.logo-img.shrink {
    height: 80px !important; /* Ajusta el tamaño */
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    margin-right: 20px !important;
}
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.event-image {
    width: 60%;
    max-height: 400px;
    object-fit: contain; /* Evita que la imagen se corte */
    display: block;
    margin: 0 auto;
}


.event-content {
    padding: 20px;
    text-align: left;
}

.event-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    
    /* Propiedades para hacer el texto más atractivo */
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    text-transform: uppercase;
    background: linear-gradient(45deg, #3498db, #2980b9);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    padding: 10px 0;
    border-bottom: 2px solid #3498db;
}


.event-info {
    font-size: 16px;
    color: #555;
}

.event-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 5px 0;
}

.available-spots {
    font-weight: bold;
    color: #2c7be5;
}

.promotional-slider {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  height: auto;
  min-height: 500px; /* Altura mínima aumentada */
  max-height: 800px; /* Altura máxima aumentada */
  background-color: #f0f0f0;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
  width: 100%;
}

.slider-container .slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 0;
  margin: 0;
}

.slider-container .slide img {
  width: 100%;
  height: auto; /* Altura automática para mantener proporción */
  max-height: 100%;
  object-fit: contain; /* Muestra la imagen completa sin recortes */
  object-position: center;
}

/* Botones de navegación más grandes */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 3.5rem; /* Tamaño de fuente aumentado */
  font-weight: bold;
  width: 80px; /* Tamaño de botón aumentado */
  height: 80px; /* Tamaño de botón aumentado */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  opacity: 0.85;
  backdrop-filter: blur(5px);
}

.slider-prev {
  left: 30px; /* Posición ajustada */
}

.slider-next {
  right: 30px; /* Posición ajustada */
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.slider-prev:active,
.slider-next:active {
  transform: translateY(-50%) scale(0.95);
}

/* Indicadores de posición más grandes */
.slider-dots {
  position: absolute;
  bottom: 30px; /* Posición ajustada */
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px; /* Espacio aumentado */
  z-index: 10;
}

.slider-dots .dot {
  width: 16px; /* Tamaño aumentado */
  height: 16px; /* Tamaño aumentado */
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.slider-dots .dot.active {
  background: #000;
  transform: scale(1.3);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .promotional-slider {
    min-height: 400px;
  }
  
  .slider-prev,
  .slider-next {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .promotional-slider {
    min-height: 350px;
  }
  
  .slider-prev,
  .slider-next {
    font-size: 2rem;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .promotional-slider {
    min-height: 250px;
  }
  
  .slider-prev,
  .slider-next {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
  }
  
  .slider-dots .dot {
    width: 12px;
    height: 12px;
  }
}