
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

.navbar {
    position: absolute;
    top: 60px;
    right: 0; 
    display: flex;
    align-items: stretch;
    border-radius: 0;
    overflow: hidden;
    z-index: 10;
}

.menu {
    background-color: white;
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.menu li {
    margin: 0;
}

.menu li a {
    display: block;
    padding: 20px 22px 14px 22px; 
    text-decoration: none;
    color: black;
    font-weight: bold;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.menu li a:hover {
    background-color: black;
    color: white;
    transform: scale(1.05); /* leve “zoom” del texto */
}

.telefono {
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; 
}

/* Imagen normal */
.telefono-img {
    width: 28px;
    height: auto;
    margin-right: 10px;
    transition: opacity 0.3s ease; /* suave transición */
}

/* Imagen alternativa cuando el mouse está encima */
.whatsapp-link:hover .telefono-img {
    content: url('../../../img/recreo-campestre/telf-cabeza-2.svg'); /* cambia la imagen */
}

.whatsapp-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    height: 100%; 
    padding: 16px 22px;
    transition: color 0.3s, background 0.3s;
}

.whatsapp-link:hover {
    color: #ffffff; 
}

.logo-img {
    width: 28px; 
    height: auto;
    margin-right: 10px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
}

/* --- ANIMACIÓN DEL LOGO --- */
.logo-negocio {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 15;
    cursor: pointer;
    transition: transform 0.3s ease; /* suaviza la animación */
}

.logo-negocio:hover {
    transform: scale(1.15); /* “infla” el logo un poco */
}

.img-logo-negocio {
    width: 120px;       /* tamaño inicial del logo */
    height: auto;
    user-select: none;  /* evita que se seleccione al hacer clic */
}

/* --- HERO CONTENT (texto sobre la imagen) --- */
.hero-content {
    position: absolute;
    top: 50%;
    left: 180px;          /* 🔹 antes 80px → lo empuja más a la derecha */
    transform: translateY(-50%);
    color: white;
    z-index: 12;
    max-width: 600px;
}



.hero-title {
    font-size: 3rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    font-weight: 300;
    text-transform: uppercase;
    font-style: italic;   /* 🔹 convierte el texto en itálico */
}

.hero-title strong {
    font-weight: 700;
    font-style: italic;   /* 🔹 mantiene la negrita pero también en itálica */
}

.hero-btn {
    display: inline-block;
    position: relative;
    padding: 14px 36px;
    font-weight: bold;
    font-size: 1.1rem;
    color: black;
    background-color: white;
    border: 2px solid white;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Efecto hover elegante */
.hero-btn:hover {
    background-color: black;
    color: white;
    transform: translateY(-3px); /* pequeño levantamiento */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Brillo animado */
.hero-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-25deg);
    transition: left 0.5s ease;
}

.hero-btn:hover::before {
    left: 200%;
}

@media (max-width: 600px) {

  .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    content: url('../../../img/recreo-campestre/hero-fondo-600px.png');
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; 
  }

  .logo-negocio,
  .hero-content,
  .telefono {
    display: none;
  }

  .navbar {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
  }

.menu {
  display: none;
  position: absolute;
  top: 60px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.95);
  list-style: none;
  padding: 0;
  margin: 0;
  width: 180px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999; /* 👈 asegúrate de que esté encima de todo */
}

.menu.active {
  display: block; /* se muestra al hacer clic */
}

.menu li a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    text-align: right;
    transition: background 0.3s, color 0.3s;
    }

.menu li a:hover {
    background-color: black;
    color: white;
}

.hero-btn-mobile {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    background-color: white;
    color: black;
    text-decoration: none;
    padding: 12px 28px;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 30px;
    border: 2px solid white;
    text-transform: uppercase;
    transition: all 0.3s ease;
    z-index: 30; 
}
}


@media (max-width: 500px) {

  .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    content: url('../../../img/recreo-campestre/hero-fondo-500px.png');
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* 👈 asegura que quede detrás */
  }

  .logo-negocio,
  .hero-content,
  .telefono {
    display: none;
  }

  .navbar {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
  }

.menu {
  display: none;
  position: absolute;
  top: 60px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.95);
  list-style: none;
  padding: 0;
  margin: 0;
  width: 180px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999; /* 👈 asegúrate de que esté encima de todo */
}

.menu.active {
  display: block; /* se muestra al hacer clic */
}

.menu li a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    text-align: right;
    transition: background 0.3s, color 0.3s;
    }

.menu li a:hover {
    background-color: black;
    color: white;
}

.hero-btn-mobile {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    background-color: white;
    color: black;
    text-decoration: none;
    padding: 12px 28px;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 30px;
    border: 2px solid white;
    text-transform: uppercase;
    transition: all 0.3s ease;
    z-index: 30; 
}
}

@media (max-width: 400px) {

  .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    content: url('../../../img/recreo-campestre/hero-fondo-400px.png');
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* 👈 asegura que quede detrás */
  }

  .logo-negocio,
  .hero-content,
  .telefono {
    display: none;
  }

  .navbar {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
  }

.menu {
  display: none;
  position: absolute;
  top: 60px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.95);
  list-style: none;
  padding: 0;
  margin: 0;
  width: 180px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999; /* 👈 asegúrate de que esté encima de todo */
}

.menu.active {
  display: block; /* se muestra al hacer clic */
}

.menu li a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    text-align: right;
    transition: background 0.3s, color 0.3s;
    }

.menu li a:hover {
    background-color: black;
    color: white;
}

.hero-btn-mobile {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    background-color: white;
    color: black;
    text-decoration: none;
    padding: 12px 28px;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 30px;
    border: 2px solid white;
    text-transform: uppercase;
    transition: all 0.3s ease;
    z-index: 30; 
}
}

.eventos-seccion
{
    padding: 60px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.eventos-seccion:hover {
    background-color: #e0e0e0;
    transform: scale(1.01);
    transition: transform 0.3s ease, background 0.3s ease;
}


/* =======================================================
  SECCIÓN DE ÍCONOS
======================================================= */
.servicios-iconos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 80px 40px;
  background-color: white;
  text-align: center;
}

.icono {
  transition: transform 0.3s ease;
}

.icono img {
  width: 160px;
  height: 160px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  user-select: none;
}

.icono p {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animación suave */
.icono:hover {
  transform: translateY(-6px);
}

.icono:hover img {
  transform: scale(1.1);
}

.servicios-titulo {
  grid-column: 1 / -1;        /* hace que ocupe todo el ancho de la cuadrícula */
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

/* Pequeño subrayado decorativo */
.servicios-titulo::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: black;
  margin: 12px auto 0;
  border-radius: 2px;
  
}

@media (max-width: 600px) {
  .servicios-iconos {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas */
    gap: 30px;
    justify-items: center;  /* centra cada ícono horizontalmente */
    align-items: center;
    justify-content: center; /* centra la última fila si hay menos de 3 */
    padding: 60px 20px;
  }

  .icono img {
    width: 110px; /* tamaño más pequeño para móviles */
    height: 110px;
  }

  .icono p {
    font-size: 0.9rem;
  }
}

.servicios-titulo {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
@media (max-width: 500px) {
  .servicios-iconos {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ✅ dos columnas */
    gap: 25px 30px; /* espacio entre filas y columnas */
    justify-content: center; /* centra la cuadrícula en la pantalla */
    justify-items: center;   /* centra cada ícono dentro de su celda */
    align-items: center;
    padding: 50px 20px;
  }

  .icono img {
    width: 100px; /* ajusta el tamaño de los íconos */
    height: 100px;
  }

  .icono p {
    font-size: 0.9rem;
  }
    .servicios-titulo {
    font-size: 1.2rem;
    margin-bottom: 25px;
  }

}

@media (max-width: 400px) {
  .servicios-iconos {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 🔹 dos columnas */
    gap: 20px 25px; /* espacio entre filas y columnas */
    justify-content: center;  /* centra la cuadrícula */
    justify-items: center;    /* centra los íconos dentro */
    align-items: center;
    padding: 40px 15px;
  }

  .icono img {
    width: 90px;  /* tamaño adecuado para móviles muy pequeños */
    height: 90px;
  }

  .icono p {
    font-size: 0.85rem;
  }

    .servicios-titulo {
    font-size: 1.2rem;
    margin-bottom: 25px;
  }
}

/* =======================================================
CARRUSEL AUTOMÁTICO (3 imágenes visibles tipo póster)
======================================================= */
.carrusel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 70px 0;
  background-color: #fafafa;
}

.carrusel-track {
  display: flex;
  gap: 25px; /* 🔹 espacio entre las imágenes */
  transition: transform 0.9s ease-in-out;
  padding: 0 30px; /* margen lateral dentro del carrusel */
}

.carrusel-track img {
  flex: 0 0 calc((100% / 3) - 20px); /* 🔹 3 imágenes visibles con separación */
  height: 420px; /* 🔹 más alto que ancho (aspecto rectangular) */
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease;
}

.carrusel-track img:hover {
  transform: scale(1.03);
}

.carrusel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #bbb;
  transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background-color: #333;
  transform: scale(1.2);
}


/* 🔹 Adaptación responsive */
@media (max-width: 600px) {
  .carrusel-track img {
    flex: 0 0 calc((100% / 2) - 15px); /* 2 imágenes visibles */
    height: 360px;
  }
  .carrusel-dots {
    bottom: 15px;
    gap: 12px;
  }
  .dot {
    width: 14px;
    height: 14px;
  }
}


@media (max-width: 500px) {
  .carrusel-track img {
    flex: 0 0 calc((100% / 2) - 15px); /* 2 imágenes visibles */
    height: 360px;
  }
  .carrusel-dots {
    bottom: 15px;
    gap: 12px;
  }
  .dot {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 400px) {
  .carrusel-track img {
    flex: 0 0 100%; /* 1 imagen visible */
    height: 340px;
  }
    .carrusel-dots {
    bottom: 12px;
    gap: 8px;
  }

  .dot {
    width: 12px;
    height: 12px;
  }
}

/* ===========================
SECCIÓN UBICACIÓN (RESPONSIVE)
=========================== */
.ubicacion-seccion {
  padding: 80px 5%;
  background-color: #f8f8f8;
}

.ubicacion-titulo {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: #222;
  text-align: left;
  margin-bottom: 40px;
}

.ubicacion-contenido {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3%;
  flex-wrap: wrap;
}


.ubicacion-mapa-container {
  position: relative;
  flex: 1 1 60%;
  max-width: 750px;
  aspect-ratio: 4 / 3; 
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.ubicacion-mapa {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ubicacion-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background 0.4s ease, opacity 0.4s ease;
}

.overlay-icono {
  width: 70px;
  height: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.overlay-texto {
  color: white;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ubicacion-mapa-container:hover .ubicacion-overlay {
  background-color: rgba(0, 0, 0, 0.55);
  opacity: 1;
}
.ubicacion-mapa-container:hover .overlay-icono,
.ubicacion-mapa-container:hover .overlay-texto {
  opacity: 1;
  transform: translateY(0);
}

/* 🔹 Imágenes laterales */
.ubicacion-imagenes-laterales {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 35%;
  max-width: 500px;
}

.img-lateral {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-lateral:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ===========================
RESPONSIVE
=========================== */
@media (max-width: 1000px) {
  .ubicacion-contenido {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .ubicacion-mapa-container,
  .ubicacion-imagenes-laterales {
    width: 90%;
    max-width: none;
  }

  .ubicacion-mapa-container {
    aspect-ratio: 16 / 9;
  }

  .ubicacion-imagenes-laterales {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .img-lateral {
    flex: 1 1 45%;
    max-width: 300px;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 500px) {
  .ubicacion-seccion {
    padding: 50px 20px;
  }

  .ubicacion-titulo {
    font-size: 1.6rem;
    margin-left: 0;
  }

  .ubicacion-mapa-container {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .ubicacion-imagenes-laterales {
    flex-direction: column;
    width: 100%;
  }

  .img-lateral {
    width: 100%;
    aspect-ratio: 3 / 2;
  }
}

/* ============================
SECCIÓN: RAZONES / POR QUÉ ESCOGERNOS
============================ */
.razones-seccion {
  padding: 100px 60px;
  background-color: #fff;
  text-align: center;
}

.razones-titulo {
  font-size: 2.2rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* 🔹 Contenedor de las tres tarjetas */
.razones-contenedor {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
}

/* 🔹 Estilo de cada tarjeta */
.razon-card {
  background-color: #f8f8f8;
  width: 320px;
  height: 460px; /* 🔧 Más alta que ancha */
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.razon-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.razon-subtitulo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.razon-texto {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  text-align: justify;
}

/* ============================
RESPONSIVE
============================ */
@media (max-width: 800px) {
  .razones-contenedor {
    gap: 25px;
  }

  .razon-card {
    width: 280px;
    height: 420px;
  }
}

@media (max-width: 500px) {
  .razones-seccion {
    padding: 60px 20px;
  }

  .razones-titulo {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .razones-contenedor {
    flex-direction: column;
    align-items: center;
  }

  .razon-card {
    width: 90%;
    height: auto;
  }
}

/* ============================
FOOTER
============================ */
.footer {
  background-color: #222;
  color: #eee;
  padding: 80px 60px 40px;
  font-family: 'Poppins', sans-serif;
}

.footer-contenido {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-titulo {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-texto {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

.footer-lista {
  list-style: none;
  padding: 0;
}

.footer-lista li {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-lista a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-lista a:hover {
  color: #fff;
}

.footer-link {
  color: #58a6ff;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* 🔹 Redes Sociales */
.footer-redes a {
  display: inline-block;
  margin-right: 15px;
}

.footer-redes img {
  width: 28px;
  height: 28px;
  filter: invert(100%);
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-redes img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* 🔹 Línea inferior */
.footer-copy {
  border-top: 1px solid #444;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #aaa;
  text-align: center;
}

/* ============================
RESPONSIVE
============================ */
@media (max-width: 800px) {
  .footer {
    padding: 60px 30px 30px;
  }

  .footer-contenido {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer-redes a {
    margin: 0 10px;
  }
}

@media (max-width: 400px) {
  .footer-titulo {
    font-size: 1.1rem;
  }

  .footer-texto,
  .footer-lista li {
    font-size: 0.9rem;
  }

  .footer-copy {
    font-size: 0.8rem;
  }
}

/* === SECCIÓN EVENTOS === */
.eventos {
  padding: 40px 40px 100px 20px; 
  background: #ffebeb;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.eventos-header {
  margin-bottom: 70px;
  text-align: center;
  position: relative;
font-family: 'Rangile', sans-serif;
}


.eventos-subtitle {
  display: block;
  font-size: 26px;        
  font-weight: 800;       
  color: #ff0000;         
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 18px;
font-family: 'Chekharda', sans-serif;
}

.eventos-title {
  font-size: 46px;
  font-weight: 800;
  background: linear-gradient(90deg, #ff6600, #43a047);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.eventos-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #ff6600, #43a047);
  margin: 15px auto 0;
  border-radius: 2px;
}

.eventos-subtitle-frase {
  font-size: 20px;
  color: #000000;
  font-weight: 500;
  max-width: 700px;
  margin: 15px auto 0;
  line-height: 1.6;
}

.eventos-grid {
  display: flex;
  justify-content: center;
  gap: 33px;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: 0 auto;
}

.evento-card {
  position: relative;
  width: 300px;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.4s ease;
}

.evento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.evento-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.5s ease, background 0.5s ease;
  text-align: center;
  padding: 20px;
}

.evento-card .overlay img {
  max-width: 160px;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.evento-card .overlay img {
  width: 140px;
  height: 140px;
  border-radius: 50%;    
  object-fit: cover;       
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.evento-card:hover img {
  transform: scale(1.15);
}

.evento-card:hover .overlay {
  transform: translateX(0);
  background: rgba(0,0,0,0.5);
}

.evento-card:hover .overlay img,
.evento-card:hover .overlay p {
  opacity: 1;
  transform: translateY(0);
}

.evento-card:hover .overlay {
  background: var(--overlay-color, rgba(0,0,0,0.5));
}

.mobile-version {
  display: none;
}

/* 📱 Versión móvil simplificada (355px aprox) */
@media (max-width: 400px) {
  .desktop-version {
    display: none !important;
  }

  .mobile-version {
    display: block;
    padding: 30px 20px 60px;
    background: #ffebeb;
    text-align: center;
  }

  .mobile-version .eventos-subtitle {
    font-size: 22px;
    color: #ff0000;
    letter-spacing: 3px;
    font-family: 'Chekharda', sans-serif;
  }

  .mobile-version .eventos-title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(90deg, #ff6600, #43a047);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
  }

  .eventos-grid-simple {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 🔹 Dos columnas */
    gap: 10px;
    justify-items: center;
  }

  .eventos-grid-simple img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: 150px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  }
}

.eventos-grid-simple a {
  display: block;
  width: 100%;
}

.eventos-grid-simple a img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 150px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.eventos-grid-simple a:active img,
.eventos-grid-simple a:hover img {
  transform: scale(1.03);
}