* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #111;
  color: white;
  padding-top: 80px;
}

/* Estilos para los filtros de categoría */
.category-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px 0;
  margin-top: 50px;
  margin-bottom: 30px;
}

.category-filters button {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
}

.category-filters .color-button, .category-filters .comedor-button {
  position: relative;
}

.color-options, .comedor-options {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  border-radius: 15px;
  padding: 10px;
  margin-top: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-width: 100%;
  z-index: 100;
}

.color-button:hover .color-options,
.comedor-button:hover .comedor-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.color-options button, .comedor-options button {
  display: block;
  width: 100%;
  text-align: left;
  margin: 5px 0;
  white-space: nowrap;
}

.category-filters .color-button, .category-filters .comedor-button {
  position: relative;
}

.color-options, .comedor-options {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  border-radius: 15px;
  padding: 10px;
  margin-top: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-width: 100%;
  z-index: 100;
}

.color-button:hover .color-options,
.comedor-button:hover .comedor-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.color-options button, .comedor-options button {
  display: block;
  width: 100%;
  text-align: left;
  margin: 5px 0;
  white-space: nowrap;
}

.category-filters button:hover {
  background-color: #f4c26b;
  color: #111;
  transform: translateY(-2px);
}
  
  /* HEADER */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: transparent;
    transition: background 0.3s ease, padding 0.3s ease;
    z-index: 1000;
  }
  
 
header.scrolled {
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 50px;
}

/* Logo */
.logo-container h1 {
  color: white;
  font-size: 1.4rem;
  font-weight: 400;
}
.logo-img {
  height: 60px; /* puedes ajustar el tamaño */
  object-fit: contain;
}


/* NAV */
nav ul {
  display: flex;
align-items: center; /* Centra verticalmente todo en el nav */
justify-content: space-between;

}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: transform 0.3s ease;

  padding: 10px 15px;
transition: color 0.3s ease, border-bottom 0.3s ease;
}

nav ul li a:hover {
  transform: scale(1.1);
  color: #f4c26b; /* Color dorado al pasar el mouse */
border-bottom: 2px solid #f4c26b; /* Opcional: subrayado animado */
}

/*Barra de busqueda */

.search-container {
  display: flex;
  align-items: center;
  background-color: #222;
  border-radius: 20px;
  padding: 5px 12px;
  height: 35px;
  margin-left: 20px;
  min-width: 200px;
  transition: all 0.3s ease;
}

.search-container:focus-within {
  background-color: #333;
  box-shadow: 0 0 10px rgba(244, 194, 107, 0.3);
}

.search-container input {
  border: none;
  outline: none;
  background: transparent;
  color: white;
  padding: 5px;
  font-size: 14px;
}

.search-container button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 16px;
  padding-left: 5px;
  position: relative;
  top: -7px; 
}

.search-container button:hover {
  transform: scale(1.2); /* Agranda al pasar el mouse */
  color: #f4c26b; /* Cambia el color, opcional */
}


/* Estilos para el menú desplegable */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  top: 100%;
  left: 0;
  border-radius: 4px;
  padding: 8px 0;
}

.dropdown-content li {
  margin: 0;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.dropdown-content a:hover {
  color: #f4c26b;
  border-bottom: none;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Aqui termina lo que va en todooo*/

.descripcion-eventos {
  text-align: justify;
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-top: -10px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}


.eventos-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.eventos-container h1 {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 3rem;
    font-size: 3.5rem;
    color: #f4c26b;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.carousel {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    position: relative;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    transform: scale(0.7) translateX(0);
    opacity: 0;
    pointer-events: none;
}

.carousel-item.active {
    transform: scale(1) translateX(0);
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.carousel-item.prev {
    transform: scale(0.6) translateX(-100%);
    opacity: 0.3;
    z-index: 1;
    filter: blur(2px);
}

.carousel-item.next {
    transform: scale(0.6) translateX(100%);
    opacity: 0.3;
    z-index: 1;
    filter: blur(2px);
}

.carousel-item img {
    width: 80%;
    height: 70%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-info {
    position: absolute;
    bottom: 0;
    width: 80%;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 0 0 10px 10px;
    text-align: center;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.carousel-info h3 {
    color: #f4c26b;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.carousel-info p {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-button:hover {
    background: rgba(244, 194, 107, 0.8);
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

@media (max-width: 768px) {
    .carousel-container {
        height: 400px;
    }

    .carousel-item img {
        width: 90%;
    }

    .carousel-info {
        width: 90%;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
    }
}



.social-sidebar {
    position: fixed;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.social-sidebar a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-sidebar a:hover {
    transform: scale(1.2);
}


@media (max-width: 768px) {
    .carousel-container {
        height: 400px;
    }

    .carousel-item img {
        width: 90%;
    }

    .carousel-info {
        width: 90%;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }

    nav ul {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .social-sidebar {
        left: 10px;
        bottom: 20px;
    }
}


/* Estilos para el menú móvil */
.menu-toggle {
   
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: absolute; /* <-- clave */
  top: 25px;
  left: 25px;
  z-index: 2000;
}



.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #111;
        transition: 0.3s;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    nav ul li {
        margin: 15px 0;
    }

    .search-container {
        margin: 15px 0;
        width: 80%;
    }
}

