/* ======================== */
/* BASE GENERAL */
/* ======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
}

a {
  color: white;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

/* ======================== */
/* HEADER Y NAVEGACIÓN */
/* ======================== */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  text-align: center;
  padding: 1rem;
}

.logo {
  font-size: 2rem;
  color: white;
}

.navbar {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  position: relative;
  justify-content: flex-end;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.menu li a {
  font-family: 'Orbitron', sans-serif;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-end;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem 0;
    text-align: center;
  }

  .menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    align-self: flex-end;
  }
}

/* ======================== */
/* HERO SECTION */
/* ======================== */
.hero {
  height: 100vh;
  background: url('../images/portada2.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero .content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

/* ======================== */
/* BOTONES */
/* ======================== */
.btn {
  padding: 0.75rem 2rem;
  background-color: #ff004f;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
  font-size: 1rem;
}

.btn:hover {
  background-color: #e60045;
}

.volver-btn {
  margin-top: 2rem;
  display: inline-block;
}

/* ======================== */
/* SECCIÓN SOBRE MÍ */
/* ======================== */
.about-section {
  padding: 4rem 2rem;
  background-color: #111;
  text-align: center;
}

.about-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ff004f;
}

.about-section p {
  max-width: 800px;
  margin: 0 auto 1rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* ======================== */
/* CARRUSEL DE EVENTOS */
/* ======================== */
.eventos-container {
  margin: 120px auto 60px;
  padding: 0 2rem;
  max-width: 1000px;
}

.eventos-container h1 {
  font-size: 2rem;
  margin: 2rem 0 1rem;
}

.carousel-container {
  position: relative;
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
}

.event-card {
  flex: 0 0 auto;
  width: 25%;
  min-width: 250px;
  max-width: 300px;
  margin: 10px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px #000;
  transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 0, 79, 0.4);
}

.event-card h3 {
  margin: 0.5rem 0 0.2rem;
  font-size: 1.1rem;
}

.event-card img,
.gallery-item img {
  height: 350px; /* Puedes ajustar la altura según el diseño */
  width: 100%;
  object-fit: cover;
  display: block;
}


@media (max-width: 768px) {
  .event-card {
    width: 80vw;
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn.left {
  left: 0;
}

.carousel-btn.right {
  right: 0;
}

/* ======================== */
/* LIGHTBOX */
/* ======================== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(255, 0, 79, 0.3);
  border: 3px solid rgba(255, 0, 79, 0.6);
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #ff004f;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s;
}

.close:hover {
  color: #ffffff;
}

@media (max-width: 600px) {
  .lightbox-content {
    max-width: 95%;
    max-height: 85%;
  }

  .close {
    top: 10px;
    right: 20px;
    font-size: 2rem;
  }
}

/* ======================== */
/* GALERÍA */
/* ======================== */
.gallery-container {
  margin: 120px auto 60px;
  padding: 0 2rem;
  max-width: 1200px;
}

.gallery-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1.5rem 0;
}

.gallery-item {
  flex: 0 0 auto;
  width: 25%;
  min-width: 250px;
  max-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px #000;
}

@media (max-width: 768px) {
  .gallery-item {
    min-width: 80vw;
  }
}

/* ======================== */
/* CONTACTO */
/* ======================== */
.contact-container {
  max-width: 700px;
  margin: 120px auto 60px;
  padding: 0 2rem;
}

.contact-container h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-info {
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.socials {
  list-style: none;
}

.socials li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.socials a {
  color: #fff;
  transition: color 0.3s;
}

.socials a:hover {
  color: #ff4081;
}

@media (max-width: 600px) {
  .socials li {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .contact-container h1 {
    font-size: 2rem;
  }

  .contact-info {
    font-size: 1rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  background-color: #222;
  color: #fff;
  border: 1px solid #444;
  border-radius: 5px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff004f;
}

/* ======================== */
/* FOOTER */
/* ======================== */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #111;
  color: #777;
  font-size: 0.9rem;
}


/* Estilos para el aviso de cookies */
    .cookie-consent-banner {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: #333;
      color: #fff;
      padding: 15px 20px;
      text-align: center;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
    }

    .cookie-consent-banner p {
      margin: 0 15px;
      font-size: 0.9em;
    }

    .cookie-consent-banner a {
      color: #87CEEB; /* Un azul claro para el enlace */
      text-decoration: underline;
    }

    .cookie-consent-banner button {
      background-color: #87CEEB; /* Mismo azul claro para el botón */
      color: #333;
      border: none;
      padding: 8px 15px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 0.9em;
      margin-left: 15px;
      transition: background-color 0.3s ease;
    }

    .cookie-consent-banner button:hover {
      background-color: #6495ED; /* Un azul un poco más oscuro al pasar el ratón */
    }


    /* Estilo para la sección de política de privacidad */
.privacy-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
}

.privacy-section h1 {
  font-size: 2em;
  margin-bottom: 20px;
  border-bottom: 2px solid #fff;
  padding-bottom: 10px;
}

.privacy-section h2 {
  margin-top: 30px;
  font-size: 1.4em;
  color: #00ffff;
}

.privacy-section p {
  margin-top: 10px;
  line-height: 1.6;
}
