/* styles.css */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;  /* Evita que haya desplazamiento horizontal no deseado */
  }
  
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background-color: #000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    color: #fff;
    height: 60px;
    overflow: hidden;
  }
  
  .logo img {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
    margin-top: -10px;
    margin-bottom: -10px;
  }
  
  .logo img:hover {
    transform: scale(1.1);
    cursor: pointer;
  }
  
  .title {
    font-size: 1rem;
    text-align: center;
    flex: 1;
    margin: 0 1rem;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
    text-decoration: none;
  }
  
  .title:hover {
    transform: scale(1.05);
    color: #007BFF;
    cursor: pointer;
    text-decoration: none;
  }
  
  .social-icons {
    display: flex;
    gap: 0.5rem;
  }
  
  .social-icons a {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .social-icons a:hover {
    transform: scale(1.2);
    color: #FF4136;
  }
  
  nav.site-nav {
    background-color: #000;
    text-align: center;
    padding: 0.5rem 0;
  }
  
  nav.site-nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1rem;
    transition: color 0.3s ease, font-weight 0.3s ease;
  }
  
  nav.site-nav a:hover {
    color: #fff;
    font-weight: bold;
  }
  
  @media (max-width: 600px) {
    .title {
      font-size: 0.9rem;
    }
  
    .social-icons a {
      font-size: 0.9rem;
    }
  
    .logo img {
      height: 60px;
      margin-top: -5px;
      margin-bottom: -5px;
    }
  
    nav.site-nav a {
      font-size: 0.9rem;
      margin: 0 0.5rem;
    }
  }

  .carousel {
    position: relative;
    max-width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    background-color: #000;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
  }
  
  .carousel-track img {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Para que se vea completa sin recorte */
    background-color: #000;
  }
  
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0.4rem 0.6rem;
    border-radius: 50%;
  }
  
  .carousel-btn.prev {
    left: 10px;
  }
  
  .carousel-btn.next {
    right: 10px;
  }
  
  .carousel-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
  }
  
  .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    border-radius: 50%;
    background-color: #bbb;
    cursor: pointer;
  }
  
  .dot.active {
    background-color: white;
  }
  
  /* Responsive más compacto */
  @media (max-width: 768px) {
    .carousel {
      max-height: 280px;
    }
    .carousel-track img {
        object-fit: cover;  /* Esto ayudará a que las imágenes se ajusten mejor */
      }
  }
  
  @media (max-width: 480px) {
    .carousel {
      max-height: 200px;
    }
  
    .carousel-btn {
      font-size: 1rem;
      padding: 0.3rem 0.5rem;
    }
  }  

  .event-section {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
  }
  
  .event-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    max-width: 500px; /* reducido ligeramente */
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .event-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    background-color: #000;
    transition: transform 0.3s ease;
  }
  
  .event-image:hover {
    transform: scale(1.03); /* pequeño zoom */
  }
  
  .event-info {
    padding: 1rem;
  }
  
  .event-info h2 {
    margin-bottom: 0.5rem;
    color: #333;
  }
  
  .event-info p {
    margin: 0.3rem 0;
    color: #555;
    font-size: 0.95rem;
  }
  
  .event-info i {
    margin-right: 6px;
    color: #007BFF;
  }
  
  .register-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .register-btn:hover {
    background-color: #0056b3;
  }
  
  /* Responsive */
  @media (max-width: 480px) {
    .event-card {
      margin: 0 0.5rem;
    }
  
    .event-info h2 {
      font-size: 1.2rem;
    }
  
    .register-btn {
      font-size: 0.9rem;
      padding: 0.5rem 1rem;
    }
  }  
  
    .separador {
    border: none;
    border-top: 2px solid #ccc;
    margin: 2rem auto;
    width: 80%;
    max-width: 900px;
  }
  
    .contenedor-conferencistas {
    text-align: center; /* Centra todo el texto dentro del contenedor */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .conferencistas {
    margin-bottom: 2rem; /* Ajusta el valor según el espacio que desees */
  }
  
  .conferencistas h2,
.conferencistas .descripcion-conferencistas {
  text-align: center;
  margin: 1rem;
}
  
  /* Asegurar que todos los subcontenedores tengan el mismo tamaño */
  .tarjeta-conferencista {
    width: calc(30% - 2rem); /* 5 conferencistas, distribuidos equitativamente */
    min-width: 250px;
    box-sizing: border-box;
    border: 2px solid #007BFF; /* Color de borde */
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .tarjeta-conferencista:hover {
    transform: scale(1.05);
  }
  
  /* Añadir sombra y bordes a las tarjetas */
  .tarjeta-conferencista img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
  }
  
  .tarjeta-conferencista h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    color: #007BFF;
  }
  
  .tarjeta-conferencista p {
    font-size: 0.95rem;
    color: #555;
  }
  
  @media (max-width: 768px) {
    .tarjeta-conferencista {
      width: 90% !important; /* en lugar de 100%, para dejar márgenes */
      margin: 0 auto;        /* centra horizontalmente */
    }
  }    

  .site-footer {
    background-color: #000;
    color: #fff;
    padding: 0.5rem 1rem; /* antes era 1rem 1.5rem */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    flex-direction: row;
    gap: 1rem;
  }  
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
  }
  
  .footer-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }  
  
  .footer-logo {
    max-width: 200px; /* o más si quieres aún más grande */
    height: auto;
    margin-bottom: 0;
  }  
  
  .footer-left p {
    margin: 0;
    font-size: 0.95rem;
    color: #ccc;
  }
  
  .footer-center a {
    margin: 0 0.5rem;
    color: #fff;
    font-size: 1.3rem;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .footer-center a:hover {
    color: #FF4136;
    transform: scale(1.2);
  }
  
  .footer-right p {
    margin: 0.3rem 0;
  }
  
  .footer-right a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
  }
  
  .footer-right a i {
    margin-right: 6px;
    color: #007BFF;
  }
  
  .footer-right a:hover {
    color: #007BFF;
  }
  
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
    }
  
    .footer-left, .footer-center, .footer-right {
      flex: 1 1 100%;
    }
  }  

  .footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #444;
    font-size: 0.85rem;
    color: #aaa;
  }
  
  .footer-bottom a {
    color: #aaa;
    text-decoration: none;
    margin: 0 0.3rem;
    transition: color 0.3s ease;
  }
  
  .footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
  }
  
  @media (max-width: 600px) {
    .footer-bottom {
      font-size: 0.75rem;
      padding: 0.5rem 0.5rem 0.8rem;
    }
  }  