/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: linear-gradient(90deg, #ff61a6 0%, #6a82fb 100%);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px #ff61a6;
  display: flex;
  align-items: flex-end; /* <-- Añadido para alinear hijos abajo */
  gap: 0.5rem;
}
.logo a {
  color: inherit;
  text-decoration: none;
}
.logo a:hover {
  color: #fff;
  text-shadow: 2px 2px 8px #6a82fb;
  transition: color 0.3s, text-shadow 0.3s;
}
.logo a.logo-main {
  font-size: 1.5rem;
  font-weight: 900;
  margin-right: 0.5rem;
  vertical-align: bottom;
}
.logo a.logo-ciudad {
  font-size: 1.1rem;
  font-weight: 700;
  margin-right: 0.3rem;
  vertical-align: bottom;
}
.logo span.logo-sala {
  font-size: 1.1rem;
  font-weight: 700;
  vertical-align: bottom;

}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  transition: color 0.2s; 
  padding: 0.3rem 1rem;
  border-radius: 20px;
}
.nav-links li a:hover {
  background: #fff;
  color: #ff61a6;
}
  .menu-toggle {
    display: none;
  }
/* Responsive navbar */
@media (max-width: 1024px) {
  .navbar {
    flex-direction: row;
    padding: 1.2rem 1.2rem;
    position: relative;
  }
  .logo {
    font-size: 1.5rem;
    z-index: 20;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
  }
  .logo a.logo-main {
  font-size: 1.5rem;
  font-weight: 900;
  margin-right: 0.5rem;
  }
  .logo a.logo-ciudad {
    font-size: 1.1rem;
    font-weight: 700;
    margin-right: 0.3rem;
  }
  .logo span.logo-sala {
    font-size: 1rem;
    font-weight: 700;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 21;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: -1px; /* Elimina cualquier margen */
    padding: 0; /* Elimina padding superior/inferior extra */
    background: linear-gradient(90deg, #ff61a6 0%, #6a82fb 100%);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0;
    display: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-radius: 0 0 18px 18px;
    z-index: 19;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links li a {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 0;
    text-align: left;
  }
  .nav-links li a:hover {
    background: #fff;
    color: #ff61a6;
  }
}

/* Responsive para móviles pequeños */
@media (max-width: 600px) {
  .navbar {
    padding: 0.7rem 0.7rem;
  }
  .logo {
    font-size: 1.1rem;
    flex: 1 1 auto;
    position: relative; 
  }
  .logo a.logo-main {
  font-size: 1.2rem;
  font-weight: 900;
  margin-right: 0.5rem;
}
.logo a.logo-ciudad {
  font-size: 1rem;
  font-weight: 700;
  margin-right: 0.3rem;
}
.logo span.logo-sala {
  font-size: 0.9rem;
  font-weight: 600;
}
  .menu-toggle {
    font-size: 1.6rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
  }
  .nav-links li a {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
}



