/* ============================================================
   Jay Luna Oficial - Estilo general (Reguetón Urbano)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

:root {
  --primary: #ff004f;
  --secondary: #00fff2;
  --bg: #000000;
  --text: #ffffff;
  --gray: #cccccc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ===============================
   NAVBAR
   =============================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 200;
  backdrop-filter: blur(6px);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 1px;
}

.logo span {
  color: var(--primary);
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 3px;
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  z-index: -2;
  border: none;
  object-fit: cover;
}

.banner-img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: brightness(0.8);
}

/* ===============================
   MENÚ HAMBURGUESA MODERNO
   =============================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  cursor: pointer;
  width: 35px;
  height: 30px;
  position: relative;
  z-index: 300;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  border-radius: 3px;
  transition: all 0.4s ease;
}

/* Animación cuando se abre */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ===============================
   RESPONSIVE NAVBAR (MÓVILES)
   =============================== */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
    position: absolute;
    right: 25px; /* 🔹 Alineado a la derecha */
    top: 22px;
  }

  .navbar {
    justify-content: flex-start;
    padding: 20px 25px;
  }

  .navbar nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease-in-out;
    box-shadow: -4px 0 20px rgba(255, 0, 79, 0.3);
    z-index: 250;
  }

  .navbar nav.active {
    right: 0;
  }

  .navbar nav a {
    display: block;
    margin: 20px 0;
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
  }

  .navbar nav a:hover {
    color: var(--primary);
  }

  /* Asegura que el contenido no quede tapado */
  .hero {
    margin-top: 80px;
  }
}

/* ===============================
   HERO CONTENIDO
   =============================== */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.hero-content {
  color: var(--text);
  padding: 20px;
  z-index: 5;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--text);
  text-shadow: 0 0 20px var(--primary), 0 0 40px var(--secondary);
}

.hero-content span {
  color: var(--primary);
}

.hero-content p {
  margin-top: 10px;
  font-size: 1.2rem;
  color: var(--gray);
}

/* Botón principal */
.btn-whatsapp {
  display: inline-block;
  background: #25D366;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 25px;
  transition: 0.3s;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: scale(1.05);
}

/* ===============================
   SECCIONES INTERNAS
   =============================== */
.content {
  max-width: 1000px;
  margin: 120px auto 60px auto;
  padding: 20px;
  text-align: center;
}

.content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.content p {
  line-height: 1.6;
  color: var(--gray);
}

/* ===============================
   GALERÍA
   =============================== */
.gallery .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  transition: 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--primary);
}

/* ===============================
   EVENTOS
   =============================== */
.event-list {
  list-style: none;
  margin-top: 20px;
}

.event-list li {
  background: rgba(255, 255, 255, 0.05);
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
  color: var(--gray);
}

/* ===============================
   FOOTER
   =============================== */
footer {
  background: #111;
  color: var(--gray);
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer a {
  color: var(--primary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
