/* style.css - CÓDIGO FINAL OPTIMIZADO Y ORDENADO */

/* ----------------------------------------------------- */
/* --- 1. IMPORTACIÓN DE FUENTES DE GOOGLE FONTS --- */
/* ----------------------------------------------------- */
/*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700;900&display=swap');


/* ----------------------------------------------------- */
/* --- 2. ESTILOS GLOBALES Y BASE DE LA PÁGINA --- */
/* ----------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.7;
  color: #333;
  padding-top: 115px; /* Espacio superior para el navbar fijo */
  /*background-color: #ffffff;

 /* --- Código para la imagen de fondo --- */
  background-image: url('/img/fondo/Fondo.png'); /* Cambia 'URL_DE_TU_IMAGEN.jpg' por la ruta de tu imagen */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
  background-size: cover; /* Ajusta la imagen para que cubra todo el fondo sin deformarse */
  background-attachment: fixed; /* Mantiene la imagen fija mientras el contenido se desplaza */
  background-position: center center; /* Centra la imagen en la página */

}

.section {
  position: relative;
  width: 100%;
  padding-top: 60px;
  padding-bottom: 60px;
 
  
}
.imagen-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9; /* O 4/3 o lo que mejor se vea */
  overflow: hidden;
  position: relative;
}

h2 {
  font-weight: 700;
  margin-bottom: 40px;
  color: #212529;
}
h3 {
  font-weight: 700;
}


/* ----------------------------------------------------- */
/* --- 3. NAVBAR (BARRA DE NAVEGACIÓN SUPERIOR) --- */
/* ----------------------------------------------------- */
.navbar {
  min-height: 110px;
  box-shadow: none;
  border-bottom: none;
  z-index: 1030;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  flex-grow: 1;
}

.navbar-brand {
  padding: 0;
  margin: 0;
  line-height: 1;
  margin-left: -40px;
}

.navbar-brand img {
  height: 60px;
  width: auto;
  display: block;
}

.navbar-collapse {
  justify-content: flex-end;
  flex-grow: 0;
  margin-right: -20px;
}

#navbar .navbar-nav .nav-item .nav-link {
 
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  margin-left: 100px !important;
  color: #893d9e !important;
  font-weight: 900 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  text-transform: uppercase !important;
  border-bottom: 2px solid transparent !important;
  transition: color 0.3s ease, border-color 0.3s ease !important;
  line-height: 1.2 !important;
}

#navbar .navbar-nav .nav-item .nav-link:hover,
#navbar .navbar-nav .nav-item .nav-link.active {
  background-color: transparent !important;
  color: #893d9e !important;
  border-bottom: 2px solid #893d9e !important;
}


/* ----------------------------------------------------- */
/* --- 4. SECCIÓN BANNER PRINCIPAL (#hero-banner) --- */
/* ----------------------------------------------------- */
#hero-banner {
  width: 70%;
  height: 760px;
  margin: 0 auto;
  background: url('/img/banner.png') no-repeat center center/cover;
  position: relative;
  overflow: hidden;
  background-position: center center;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-banner {
  background-color: transparent !important;
  border: 10px solid white !important;
  color: white !important;
  font-weight: 700 !important;
  padding: 10px 85px !important;
  border-radius: 30px !important;
  font-size: 2rem !important;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

  position: absolute;
  left: 51% !important;
  top: 65% !important;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.btn-banner:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  border-color: white !important;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}


/* ----------------------------------------------------- */
/* --- 5. SECCIÓN ¿QUÉ ES +CREA TURISMO? (#que-es / .red-section) --- */
/* ----------------------------------------------------- */
.red-section {
  background-color: #e13327;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  margin-top: 0 !important;
  margin-bottom: 0;
  position: relative;
}

.red-section h2 {
  color: white !important;
  font-weight: 900 !important;
  font-size: 3rem !important;
  margin-bottom: 50px !important;
  letter-spacing: 4px;
}

.red-section-description {
  color: white !important;
  font-size: 1.8rem;
  line-height: 1.5;
  max-width: 2000px;
  text-align: justify;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: normal;
}

.btn-red-section-unique {
  position: absolute;
  right: 0;
  top: 85%;
  transform: translateY(-50%);
  background-color: #ffffff !important;
  color: #e13327 !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 900 !important;
  font-size: 1.5rem !important;
  padding: 15px 70px !important;
  border-top-left-radius: 50px !important;
  border-bottom-left-radius: 50px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, padding 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 5px; /* Aquí se añade el espacio entre las letras */
}

.btn-red-section-unique:hover {
  background-color: #893d9e !important;
  color: white !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}


/* ----------------------------------------------------- */
/* --- 6. SECCIONES DE IMAGEN (TÍTULOS Y 6 IMÁGENES) --- */
/* ----------------------------------------------------- */

.full-width-image-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  background-color: #ffffff;
}

.imagen-ajustable {
  width:100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.imagen-wrapper {
  width: 90%; /* Ancho que le diste */
  margin: 0 auto; /* <--- AÑADE ESTA LÍNEA: Centra el contenedor horizontalmente */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.boton-wrapper {
  text-align: center;
  margin-top: 10px;
  top: 10% !important;
}
.imagen-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-image-overlay {
  position: absolute;
  right: 0;
  top: 0;
  transform: translateY(-50%);
  background-color: #e13327;
  color: white !important;
  font-weight: 900 !important;
  font-family: 'Poppins', sans-serif !important;
  padding: 19px 70px !important;
  border-top-left-radius: 50px !important;
  border-bottom-left-radius: 50px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, padding 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  font-size: 1.5rem !important;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 10;
  letter-spacing: 5px; /* Aquí se añade el espacio entre las letras */
}

.btn-image-overlay:hover {
  background-color: #893d9e !important;
  color: white !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

#btn-img-1 { top: 85%; right: -5px; }
#btn-img-2 { top: 95%; right: -5px; }
#btn-img-3 { top: 95%; right: -5px; }
#btn-img-4 { top: 90%; right: -5px; }
#btn-img-5 { top: 90%; right: -5px; }
#btn-img-6 { top: 90%; right: -5px; }


/* ----------------------------------------------------- */
/* --- 7. SECCIÓN INSCRIPCIÓN (#inscripcion) --- */
/* ----------------------------------------------------- */
#inscripcion {
  background-color: #ffffff;
  min-height: 400px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.section-title-red {
  color: #dc3545 !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  font-size: 2.3rem;
  margin-bottom: 80px !important;
  font-family: 'Poppins' !important;
  letter-spacing: 7px; /* Aquí se añade el espacio entre las letras */
}


/* ----------------------------------------------------- */
/* --- 8. SECCIÓN CONTACTO Y REDES SOCIALES (#contacto-redes) --- */
/* ----------------------------------------------------- */
#contacto-redes {
  background-color: #ffffff;
  padding: 80px 0;
}

.email-contacto {
  font-family: 'Poppins', sans-serif;
  color: #6e2383 !important;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 80px !important;
  text-align: center;
}

.social-logo {
  max-width: 80px;
  height: auto;
  filter: grayscale(0%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.social-logo:hover {
  filter: grayscale(0%);
  opacity: 1; /* Corregida la opacidad a 1 */
  transform: scale(1.1);
}


/* ----------------------------------------------------- */
/* --- 9. SECCIÓN PATROCINADORES (#seccion-patrocinadores) --- */
/* ----------------------------------------------------- */
#seccion-patrocinadores {
  background-color: #f8f9fa;
  padding: 80px 0;
}
.patrocinador-logo {
  max-width: 250px;
  max-height: 120px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}
.patrocinador-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}


/* ----------------------------------------------------- */
/* --- 10. OTRAS SECCIONES (EXISTENTES) --- */
/* ----------------------------------------------------- */

/* Cards (Expositores / Speakers) */
.card {
  min-height: 370px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-img-top {
  border-bottom: none;
  object-fit: cover;
}

.speaker-title {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 950 !important;
    font-size: 2.8rem;
    color: #e13327 !important; /* <--- COLOR ROJO para "EXPOSITORES" */
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 7px; /* Aquí se añade el espacio entre las letras */
}

.speaker-subtitle {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 950 !important;
    font-size: 2.8rem;
    color: #893d9e !important; /* <--- COLOR MORADO para "MARTES 9" */
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 7px; /* Aquí se añade el espacio entre las letras */
}

/* Programa del Evento (Timeline Style) */
.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}
.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background-color: #f8f9fa;
}

.timeline .list-group-item {
  position: relative;
  background-color: transparent;
  border: none;
  padding: 20px 0;
  color: #555;
  text-align: center;
}
.timeline .list-group-item:before {
  content: '';
  position: absolute;
  top: 25px;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #0d6efd;
  border: 3px solid #fff;
  margin-left: -10px;
  z-index: 1;
}

.timeline .list-group-item h5 {
  color: #0d6efd;
  font-weight: 600;
  margin-bottom: 10px;
}
.timeline .list-group-item p {
  margin-bottom: 5px;
}
.timeline .timeline-date {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 5px;
}

.ratio {
  border-radius: 8px;
  overflow: hidden;
}

/* Footer */
footer {
  margin-top: 60px;
  padding: 30px 0;
  background-color: #ffffff !important;
}


/* ----------------------------------------------------- */
/* --- 11. MEDIA QUERIES (RESPONSIVIDAD) --- */
/* ----------------------------------------------------- */

/* Estilos para pantallas <= 991.98px (Tablets y Laptops pequeñas) */
@media (max-width: 991.98px) {
  .section { padding-top: 50px; padding-bottom: 50px; }
  .navbar { min-height: 70px; }
  .navbar .container {
    flex-wrap: wrap; justify-content: space-between; align-items: center; width: 100%; padding: 0 15px;
  }
  .navbar-brand { margin-left: 0px; }
  .navbar-collapse {
    width: 100%; margin-top: 10px; background-color: #ffffff !important; padding: 10px 0;
    border-top: 1px solid #e0e0e0; justify-content: center !important; margin-right: 0px;
  }
  .navbar-nav { width: 100%; align-items: center; margin: 0 !important; flex-direction: column; }
  .navbar-nav .nav-item { width: 100%; text-align: center; margin-bottom: 10px; }
  #navbar .navbar-nav .nav-item .nav-link {
    font-size: 1.1rem !important; color: #333333 !important; margin-left: 0 !important; padding: 10px 0 !important;
    border-bottom: none !important;
  }
  #navbar .navbar-nav .nav-item .nav-link:hover, .navbar-nav .nav-item .nav-link.active {
    background-color: #f0f0f0 !important; color: #893d9e !important;
  }
  .navbar-brand img { height: 70px; }
  .imagen-ajustable { width: 90%; height: 40vh !important; margin: 0 auto; object-fit: cover !important; }
  .centered-title-image { max-width: 80%; }
  .centered-subtitle-image { max-width: 60%; }
}


/* Estilos para pantallas <= 767.98px (Móviles) */
@media (max-width: 767.98px) {
  .section { 
   
    
  padding: 1%;  /* espacio interno */
  margin-bottom: 20px; /* separación entre secciones */
  }
  .navbar { min-height: 60px; }
  .navbar .container { flex-wrap: wrap; }
  .navbar-collapse { width: 100%; margin-top: 10px; }
  .navbar-brand img { height: 50px; }

  #hero-banner { 
    width: 100%; 
    height: 400px; 
    
  }

  .btn-banner {
    padding: 12px 25px !important; font-size: 1.2rem !important; top: 60%;
  }
  .red-section { min-height: 600px; padding: 60px 0; }
  .red-section-description { font-size: 1rem; max-width: 90%; }
  .imagen-ajustable { width: 95%; height: 30vh !important; margin: 0 auto; object-fit: cover !important; }


  .btn-image-overlay {
    position: relative; 
    display: block; 
    margin: 5px; 
    top: auto; 
    right: auto; 
    transform: none;
    padding: 2px 40px ; 
    font-size: 1.2rem ; 
    border-top-left-radius: 30px; 
    border-bottom-left-radius: 30px;
  }
  
  #btn-img-1, #btn-img-2, #btn-img-3, #btn-img-4, #btn-img-5, #btn-img-6 { 
    top: auto; 
    right: auto; 
    margin: 15px auto;
   }
  .btn-red-section-unique {
    position: static; 
    display: block; 
    left: auto; 
    top: auto; 
    transform: none; 
    margin: 5px  !important;
    padding: 20px 40px !important; 
    font-size: 1.2rem !important;
  
  }
  #contacto-redes { padding: 50px 0; }
  .email-contacto { font-size: 1.3rem; margin-bottom: 30px; }
  .social-logo { max-width: 60px; }
  .section-title-red { font-size: 2rem; }
  .timeline .list-group-item { text-align: left; padding-left: 50px; }
  .timeline:before { left: 20px; margin-left: 0; }
  .timeline .list-group-item:before { left: 20px; margin-left: -10px; }
  .centered-title-image { max-width: 90%; }
  .centered-subtitle-image { max-width: 70%; }
  .patrocinador-logo { max-width: 150px; }
}
@media (max-width: 767.98px) {
  .imagen-wrapper {
    aspect-ratio: 4 / 3;
  }
}
.container h2 {
    font-size: 1.5rem;
  }