html,
body {
  overflow-x: hidden !important;
}

img {
  max-width: 100% !important;
  height: auto !important;
}

.container,
.col,
.navbar {
  max-width: 100% !important;
}
.evento {
  width: 100%; /* ocupa todo el ancho disponible */
  max-width: 430px; /* límite para pantallas grandes */
  margin: 20px auto; /* centra horizontalmente */
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.evento img {
  width: 100%; /* la imagen se adapta al ancho del contenedor */
  height: auto; /* mantiene proporción */
  display: block;
}
.trabajos div {
  margin-bottom: 24px;
  margin-top: 24px;
}

.botonesContacto {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-self: center;
}
header button {
  all: unset; /* Elimina todos los estilos por defecto*/
  height: 58px;
  width: 34px;
}

#menu li a {
  color: #8a8a8e;
}
.active {
  text-decoration: 1px underline;
  text-underline-offset: 6px;
}

/**/

#gallery,
.gallery-filter ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Estilos del filtro */
.gallery-filter ul li {
  display: inline-block;
  margin: 0 5px;
}

.gallery-filter a {
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 25px;
  border: 1px solid #ffffff;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s;
}

.gallery-filter li.current a,
.gallery-filter a:hover {
  background: #565656;
  color: white;
}

/* Items de la galería */
.gallery-item {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-top: 40px;
  transition: opacity 0.3s ease;
}

/* Responsive: apilar en móvil */
@media (max-width: 980px) {
  .gallery-item {
    flex-direction: column;
  }

  .gallery-filter ul li {
    margin: 7px;
  }
}

/* Item oculto por el filtro */
.hidden-item {
  opacity: 0;
  pointer-events: none;
  height: 0;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  transition: all 0.3s ease;
}

/**/
/* ★ OCULTAR botón hamburguesa en pantallas grandes (>= 992px) */
@media (min-width: 992px) {
  .navbar .navbar-toggler {
    display: none !important;
  }

  /* Mostrar el menú en desktop */
  .navbar .navbar-collapse {
    display: flex !important;
  }
}

/*  Mostrar hamburguesa y ocultar el menú < 992px */
@media (max-width: 991px) {
  .navbar .navbar-collapse {
    display: none;
  }

  .navbar .navbar-collapse.show {
    /* Menú visible cuando se abre */
    display: block;
    background: none; /* evitar que se mezcle con contenido */
  }
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  padding: 20px;
}

.lightbox-img {
  max-width: 95%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  animation: zoomIn 0.3s ease;
}

/* Botón cerrar */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

/* Animación */
@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

H1 {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  margin-top: 5px;
}

p {
  font-family: "Ubuntu", sans-serif, light;
  font-optical-sizing: auto;
}

@media (max-width: 980px) {
  .logo {
    width: 150px;
  }
}

header nav .container {
  margin-top: -7px;
}

.contacto {
  padding-top: 100px;
  padding-left: 40px;
  padding-right: 40px;
}

.contacto i {
  color: aliceblue;
}

.contacto a {
  height: 109px;
  border: solid white 1px;
}

.contacto .container ul {
  list-style: none;
}

.contacto .container ul li {
  padding: 20px;
}
#RedesFooter{list-style: none;}
