/* =====================================
Paleta de colores (Variables CSS)
Son los colores a usar en todas las páginas para mantener formato general.
======================================== */
:root {
  /* Colores principales */
  --primario: rgb(0 0 0);
  --secundario: #f8f8f8;
  --terciario: #ebc90e;
}

/* =====================================
Reset y configuración global
======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

}

html {
  scroll-behavior: smooth;
}

body {
  overflow: hidden;
  overflow-y: auto;
  font-family: Poppins, sans-serif;
  line-height: 1.6;
  background-color:  #fffaf0 ;
}

/* =====================================
Tipografía y elementos base
======================================== */
h1 {
  font-size: 3.5em;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

h2 {
  font-size: 2.7em;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

h3 {
  font-size: 2em;
}

p {
  font-size: 1.25em;
}

ul {
  list-style: none;
}

li {
  font-size: 1.25em;
}

/* =====================================
Botones
======================================== */


/* =====================================
Contenedores y utilidades
======================================== */


/* =====================================
HEADER
======================================== */
header {
  background-image: linear-gradient(to right, #0d0a09, #181305);
  padding: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: auto;
  padding: 0 20px;
}

.contImg {
  gap: 20px;
  margin-right: 50px;
  display: flex;
  align-items: center;
}

.logo a {
  display: inline-block;
  text-decoration: none;
  border: none;
  padding: 5px;
  /* Ajusta el grosor del "borde" degradado */
  border-radius: 15px;
  /* Asegúrate de que sea igual o mayor que el de la imagen */
}

.logos-inicio {
  display: flex;
  gap: 20px;
  /* Puedes ajustar el valor a tu gusto */
}

.logo a img {
  display: block;
  width: 100px;
  height: auto;
  border-radius: 10px;
  /* Puedes ajustar para que se vea armonioso */
}

header .logo img {
  width: 100px;
  height: auto;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.1);
}

header .banner-title {
  font-family: Anton, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 3rem;
  color: var(--terciario);
  text-shadow: 2px 2px 4px rgb(0 0 0 / 30%);
  animation: popIn 1s ease-out;
  margin: 0 20px;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  letter-spacing: 3px;
}

header .banner-title2 {
  font-family: 'Glacial Indifference', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.45rem;
  color: var(--terciario);
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: popIn 1s ease-out;
  margin: 0 20px;
}

.white-strip{
  margin-bottom: 40px;
}

.fila-principal {

  max-width: 200px;
  align-items: center;

}

.fotoLogo {

  max-width: 500px;
  align-items: center;
  display: flex;
  margin-left: 80%;
  margin-bottom: 40px;

}

.insta-logo,
.tiktok-logo,
.linkedin-logo {
  transform: translateY(0px);
  width: 25px;
  height: 25px;
}

.insta-logo:hover,
.tiktok-logo:hover,
.linkedin-logo:hover {
  transform: scale(1.2);
  /* un 20% más grande */
}

@media (max-width: 1028px) {

 header .banner-title {
    font-size: 2rem;
    margin: 10px 0;
    align-items: center;
    margin-left: 80px;
  }

  .logos-inicio {
  display: block;
  gap: 20px;
  /* Puedes ajustar el valor a tu gusto */
}

}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  header .logo img {
    width: 100px;
    margin-bottom: 10px;
  }

  header .banner-title {
    font-size: 2rem;
    margin: 10px 0;
  }

  .ticket-box {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  header .banner-title {
    font-size: 1.5rem;
  }

  .ticket-box {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }
}

/* =====================================
NAVEGACIÓN
======================================== */
nav {
  background: linear-gradient(135deg, #0d0a09, #181305);
}

.navbar {
  background-color: #0d0d0d;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

button {
  width: 100%;
  box-shadow: 2px 2px 5px rgb(0 0 0 50%);
}

button:hover {
  background-color: rgb(187, 180, 194);
}


.navbar-nav {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #FFF;
  font-weight: bold;
  font-family: Raleway, serif;
  font-size: 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-light .navbar-nav .nav-link, .navbar-light .navbar-brand {
    color: white;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #000;
}

.navbar .nav-link {
  font-size: 1rem; /* O el tamaño que prefieras */
}

    .navbar-socials,
    .social-icons {
      display: flex;
      gap: 10px;
      font-size: 20px;
    }

    .navbar-light .social-icons i {
      color: white !important;
    }

    .navbar-title {
      text-align: center;
      font-size: 2.8rem;
      color: #f1c40f;
      font-family: 'Georgia', serif;
      font-weight: bold;
      margin: 20px 0;
    }

    /*
#navbarNavDropdown {
  display: flex;
  align-items: center;
}

.collapse .navbar-collapse {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
*/

    .navbar-nav {
      display: flex;
      justify-content: space-around;
      gap: 20px;
    }

    .navbar-light .navbar-nav .nav-link,
    .navbar-light .navbar-brand {
      color: white;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-brand:hover {
      color: yellow;;
    }

    .nav-item.dropdown {
      position: relative;
    }

    .dropdown-menu {
      top: 100%;
      left: 0;
      margin-top: 0px;
      z-index: 1000;
      min-width: 200px;
      display: none;
      border: 1px solid rgba(0, 0, 0, .15);
      background-color: rgb(80, 66, 66);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .dropdown-item {
      background-color: rgb(80, 66, 66);
      color: white;
    }

    .dropdown-menu .dropdown-item {
      color: yellow;
      font-size: large;
      padding: 10px 10px;
      white-space: nowrap;
    }

    .dropdown-menu .dropdown-item:hover {
      background-color: #e4af2c;
      color: white;
    }

    .nav-item {
      display: block !important;
    }
    /* ===== COMPORTAMIENTO HOVER (DESKTOP) ===== */
    @media (min-width: 769px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
  }
  .dropdown-toggle::after {
    display: none !important;
  }
}

/* ===== CLICK (Móvil ≤768px) ===== */
@media (max-width: 768px) {
  /* El contenedor colapsable permanece oculto hasta pulsar */
  .navbar-collapse.collapse {
    display: none;
  }
  /* Sólo cuando bootstrap añade .show se muestra */
  .navbar-collapse.collapse.show {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  .nav-item.dropdown {
    width: 100%;
    text-align: center;
    position: relative;
  }

  /* Dropdowns se muestran sólo cuando tienen .show */
  .dropdown-menu {
    width: 100%;
    margin-top: 0;
    position: static !important;
    box-shadow: none !important;
    display: none; /* por defecto oculto */
    background-color: white;
  }
  .dropdown.show > .dropdown-menu {
    display: block !important;
  }

  .dropdown-toggle::after {
    display: inline-block !important;
  }

  .dropdown-menu .dropdown-item {
    text-align: center;
    color: black;
    padding: 10px;
    white-space: nowrap;
  }
  .dropdown-menu .dropdown-item:hover {
    background-color: #007bff;
    color: white;
  }

  .navbar-title {
    font-size: 2rem;
  }
}

/* =====================================
FOOTER
======================================== */
footer {
  background: #222;
  color: #fff;
  padding: 20px 0 1% 0;
  font-size: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  width: 100%;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

.footer-content {
  display: flex;
  gap: 40px;
  justify-content: space-around;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-section {
  flex: 1 1 250px;
  margin: 10px;
  min-width: 220px;
  display: inline-block;
  flex-direction: column;

}

.footer-section h3 {
  margin-top: 0;
  color: var(--terciario);
  font-family: 'Glacial Indifference', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: popIn 1s ease-out;
  margin: 0 20px;
}

.footer-section p {
  font-size: 1rem;
  margin: 5px 0;
}

.colabora-opciones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comentarios input[type="text"] {
  padding: 6px;
  border-radius: 4px;
  border: none;
  width: 150px;
  margin-right: 5px;
}

.footer-section button {
  width: 60%;
  align-items: center;
  

}

.btn-donar{
  margin-left: 20%;

}

.btn-donar,
.btn-enviar {
  background: var(--terciario);
  color: #222;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
  margin-top: 5px;
  width: 100%;
}

.modalContainer {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 300px;
  border-radius: 8px;
  position: relative;
  color: #222;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.newsletter-form{
    flex-direction: column;
    align-items: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 10px;
  text-decoration: none;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
}

.close:hover {
  color: #000;
}

/* MODAL COMENTARIO */
.emergente-oculta {
  display: none;
}

.emergente-visible {
  display: block;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.contenido-emergente {
  background: #fff;
  color: #222;
  padding: 20px;
  border-radius: 8px;
  width: 250px;
  margin: 15% auto;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.contenido-emergente button {
  margin-top: 10px;
  background: var(--terciario);
  color: #222;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.contenido-emergente button:hover {
  background: var(--terciario);
}

@media (max-width: 700px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
}

.newsletter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.newsletter-form input {
  padding: 10px;
  border: none;
  border-radius: 5px;
  width: 70%;
  max-width: 300px;
}

 .newsletter-form input[type="email"] {
   padding: 6px;
   border-radius: 4px;
   border: none;
   width: 150px;
   margin-right: 5px;
 }

 .newsletter-form button {
   background: var(--terciario);
   color: #222;
   border: none;
   padding: 8px 16px;
   border-radius: 4px;
   font-weight: bold;
 }
