/* General */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  color: #333;
}

header {
  background-color: #0056b3;
  color: #fff;
  text-align: center;
  padding: 1.4rem;
}

#formulario {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

input, select {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

input[readonly] {
  background-color: #f9f9f9;
  font-weight: bold;
  color: #333;
}

/* Encabezado principal */
.header-container {
  display: flex;
  justify-content: space-between; /* Espacio entre los elementos */
  align-items: center; /* Alinear verticalmente en el centro */
  padding: 1rem 2rem; /* Espaciado interno */
  background-color: #0056b3; /* Azul bandera */
  color: #ffffff;
}

/* Estilo para el texto del título "Billetaxo" */
.header-container h1 {
  font-size: 2.0rem; /* Ajusta el tamaño del texto según prefieras */
  
  text-transform: uppercase;
  text-shadow: 
      2px 2px 4px #ffffff; /* Sombra blanca suave */
}

/* Contenedor del logo y el título juntos (horizontalmente) */
.logo-eslogan {
  display: flex;
  flex-direction: row; /* horizontal */
  align-items: center; /* alineación vertical al centro */
  gap: 1rem; /* espacio entre el logo y el texto */
}

/* Estilo del logo (imagen) */
.logo-container {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagen del logo */
.logo-container img {
  width: 160%; /* Ajustar imagen al contenedor */
  height: auto; /* Mantener proporción de la imagen */
  object-fit: contain; /* Ajustar la imagen dentro del contenedor sin recortar */
}

/* Texto "Billetaxo" */
.header-container h1 {
  font-size: 2rem;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px #ffffff;
  color: #fff;
}

.mensajes-dinamicos {
  background-color: #6ed0e4; /*  */
  color: #0056b3; /* Texto rojo */
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  margin-bottom: 1rem;
  border-radius: 5px;
  font-size: 1.2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: fade-in-out 15s infinite; /* Animación de entrada/salida */
}

@keyframes fade-in-out {
  0%, 100% {
      opacity: 0;
}

50% {
  opacity: 0;
}

}

/* Contenedor del logo en la derecha */
.logo-container {
  width: 50px; /* Ancho del logo */
  height: 50px; /* Alto del logo */
  border-radius: 50%; /* Forma circular */
  overflow: hidden; /* Recortar bordes sobrantes */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra alrededor */
  border: 2px solid #ffffff; /* Borde blanco */
}

.navbar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-weight: bold;
}

.nav-list {
  list-style: none;       /* Elimina los puntos de la lista */
  margin: 0;              /* Elimina márgenes */
  padding: 0;             /* Elimina padding */
  display: flex;          /* Flexbox para mejor control */
  justify-content: flex-start; /* Alinea los elementos al inicio (izquierda) */
  align-items: center;    /* Alinea verticalmente los ítems */
}

.nav-list li {
  margin-right: 20px;     /* Espaciado entre elementos */
}

.nav-list a {
  text-decoration: none;
  color: #ffffff; /* blanco para fondo azul */
  font-size: 1rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

/* Sección principal */
main {
  padding: 2rem;
}

h2,h3,h4 {
  color: #0056b3; /* Rojo */
  margin-bottom: 1rem;
  margin: 20px auto; text-align: center;
}

h1 {
  color: #0056b3; /* Rojo */
  margin-bottom: 1rem;
}

/* Formulario */
#formulario {
  background-color: #ffffff;
  padding: 2rem;
  border: 2px solid #0056b3;
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

form input, form select {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  background-color: #0056b3; /* Rojo bandera */
  color: #ffffff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #0056b3; /* Rojo más oscuro */
}

/* Métodos de pago */
.metodos-pago {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.metodo {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0056b3; /* Azul del rectángulo */
  border: none; /* Eliminar bordes */
  border-radius: 8px; /* Borde redondeado */
  padding: 1rem;
  width: 280px;
  height: 80px; /* Asegurar altura uniforme */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metodo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.metodo img {
  width: 50%; /* Ajustar proporción del logo */
  height: auto; /* Mantener proporción */
}

.metodo span {
  font-weight: bold;
  color: #ffffff; /* Blanco para texto */
  margin-left: 10px; /* Separar texto del logo */
  font-size: 1rem;
}

/* Pie de página */
footer {
  background-color: #0056b3; /* Azul bandera */
  color: #ffffff; /* Texto blanco */
  padding: 1rem;
  text-align: center;
  margin-top: 2rem;
}

.footer-links {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ffffff; /* Texto blanco */
  text-decoration: none;
  margin: 0 0.5rem;
  font-weight: bold;
  font-size: 1.0rem;
}

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

/* Encabezado */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #0056b3; /* Azul bandera */
  border-bottom: 2px solid #0056b3; /* Línea azul */
}

.logo-eslogan {
  text-align: center;
      margin-top: 0.5rem;
}

/* Ajustes para el botón de Whatsapp */
#whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#whatsapp-button img {
  width: 40px; /* Ajustar el tamaño del ícono */
  height: 40px;
}

#whatsapp-button span {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  background-color: #0056b3; 
  padding: 5px 10px;
  border-radius: 5px;
}

/* Aplicar Roboto como fuente principal para el cuerpo del sitio */
body, head {
  font-family: 'Roboto', sans-serif;
}

/* Usar Playfair Display para los encabezados */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

/* Ejemplo adicional para botones (opcional) */
button {
  font-family: 'Roboto', sans-serif;
}

/* Ajustar mensajes de error */
.mensaje-error {
  color: #cc0000; /* Rojo */
  font-size: 0.9rem;
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Borde en los recuadros con error */
input.error, select.error {
  border-color: #cc0000; /* Rojo */
  outline: none;
}

#conversion {
  background-color: #f9f9f9; /* Fondo claro */
  color: #333; /* Texto oscuro */
  border: 1px solid #ccc; /* Borde gris */
  padding: 0.5rem;
  margin-top: 0.5rem;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 5px;
  width: 100%;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Sección adicional debajo del formulario */
#informacion-adicional {
  margin-top: 2rem;
  text-align: center;
}

/* Mensajes estáticos */
.mensajes h3 {
  font-size: 1.5rem;
  color: #0056b3; /* azul bandera */
  
  margin: 0.5rem 0 3.5rem;
}

.mensajes p {
  font-size: 0.9rem;
  color: #cc0000;
  margin: 0.5rem 0;
}

.nav-list a:hover {
  color: #007BFF;         /* Color al pasar el cursor */
}

/* Contenedor principal del encabezado */
.header-container {
  display: flex;
  justify-content: space-between; /* Alinear elementos en extremos */
  align-items: center; /* Alinear verticalmente al centro */
  padding: 1rem 2rem;
  background-color: #0056b3; /* Azul bandera */
  color: #ffffff; /* Texto blanco */
}

/* Texto Billetaxo y eslogan a la izquierda */
.logo-eslogan {
  display: flex;
  flex-direction: column; /* Colocar Billetaxo y eslogan en columna */
  justify-content: center; /* Centrar verticalmente */
  align-items: flex-start; /* Alinear a la izquierda */
}

.logo-eslogan .logo-text {
  font-size: 1.6rem; /* Tamaño reducido */
  font-weight: bold;
  color: #ffffff; /* Rojo bandera */
  margin: 0;
  text-shadow: 2px 2px 4px #ffffff; /* Sombra blanca */
}

.logo-eslogan .eslogan {
  font-size: 1.1rem; /* Tamaño ajustado */
  margin: 0;
  font-weight: normal;
  color: #ffffff;
}

/* Contenedor del logo en la derecha */
.logo-container {
  width: 40px; /* Tamaño reducido del contenedor */
  height: 40px;
  border-radius: 50%; /* Forma circular */
  overflow: hidden; /* Recortar bordes sobrantes */
  display: flex; /* Para centrar el contenido */
  justify-content: center; /* Centrar horizontalmente */
  align-items: center; /* Centrar verticalmente */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
  background-color: #ffffff; /* Fondo blanco para mejor visibilidad */
}

/* Alinear la navegación a la izquierda */
.navbar {
  text-align: left;       /* Alinea todo el contenido a la izquierda */
  margin: 0;              /* Elimina márgenes extra */
  padding: 0 20px;        /* Espaciado a la izquierda */
}

/* Responsividad */
@media (max-width: 768px) {
  .header-container {
      flex-direction: row; /* Cambiar a columna en pantallas pequeñas */
      justify-content: space-between;
}

.navbar .nav-list {
  flex-direction: column; /* Mostrar el menú en columna */
      gap: 1rem;
}

}

.mensaje-dinamico {
  text-align: center;
  font-size: 1.2rem;
  color: #0056b3;
  font-weight: bold;
  animation: parpadeo 2.5s infinite;
}

@keyframes parpadeo {
  0%, 100% {
      opacity: 1;
}

}


#paypal-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  height: 20px;
  margin: 10px 0;
}

.metodos-pago .metodo {
  margin-bottom: 20px;
  text-align: center;
}

.pago-boton {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pago-boton:hover {
  background-color: #ffffff;
}

#paypal-container-FZSF73FABRDCG {
  margin: 20px auto;
  text-align: center;
}

/* CSS para imagen responsiva */
.responsive-image {
  display: block; /* Centrar la imagen horizontalmente */
  max-width: 60%; /* Limitar el ancho máximo al 100% del contenedor */
  height: auto; /* Mantener la proporción de la imagen */
  margin: 0 auto; /* Centrar la imagen */
  object-fit: contain; /* Asegurar que la imagen se ajuste sin deformarse */
}

/* Opcional: estilos adicionales para pantallas pequeñas */
@media (max-width: 768px) {
  .responsive-image {
      max-height: 250px; /* Reducir la altura en dispositivos más pequeños */
}

}



/* Estilos para el cuadro informativo */
.info-proceso {
  margin: 20px auto;
  padding: 20px;
  background-color: #6ed0e4; /* Color de fondo suave */
  border: 1px solid #ddd;    /* Borde delgado */
  border-radius: 8px;
  text-align: center;
  max-width: 800px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-proceso h3 {
  margin-bottom: 10px;
  color: #0056b3;
  font-family: 'Roboto', sans-serif;
}

.info-proceso p {
  color: #0056b3;
  line-height: 1.6;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
}

/* Botón de navegación centrado con texto amarillo */
.navbar {
  display: flex;
  justify-content: center; /* Centrar los elementos */
  gap: 2rem;               /* Espacio entre elementos */
  font-weight: bold;
}

/* Ajustar el contenedor del botón PayPal */
#paypal-container-MD5YDUGAEXKK6 {
  max-width: 290px;       /* Limita el ancho máximo */
  margin: 0 auto 20px;    /* Centra horizontalmente con margen inferior */
  text-align: center;     /* Asegura que el contenido interno esté centrado */
  display: flex;          /* Flexbox para un mejor control */
  justify-content: center; /* Centra el botón internamente */
}

.mensaje-dinamico-pagos {
  text-align: center;
  font-size: 0.6rem;
  color: #cc0000;
  font-weight: bold;
  animation: parpadeo 2.5s infinite;
}

/* Redes Sociales Generales */
.redes-sociales {
  display: flex;
  justify-content: center;
  gap: 15px; /* Espaciado entre los íconos */
  margin: 20px 0;
}

.red-social {
  width: 50px; /* Tamaño fijo para los íconos */
  height: 50px;
  border-radius: 50%; /* Contenedor circular */
  overflow: hidden; /* Ocultar cualquier parte de la imagen que sobresalga */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f1f1f1; /* Fondo gris claro */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Sombra sutil */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.red-social img {
  width: 100%; /* Ajustar imagen al contenedor */
  height: 100%;
  object-fit: cover; /* Escalar la imagen manteniendo la proporción */
}

.red-social:hover {
  transform: scale(1.1); /* Zoom al pasar el cursor */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
}

/* Sección específica para Telegram */
.telegram-section {
  text-align: center;
  margin: 30px 0;
}

.telegram-section a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Espaciado entre el texto y el ícono */
  background-color: #0088cc; /* Azul Telegram */
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.telegram-section a img {
  width: 25px; /* Tamaño del logo */
  height: 25px;
}

.telegram-section a:hover {
  background-color: #005f99; /* Azul más oscuro al pasar el cursor */
}

/* Títulos de las secciones */
.redes-sociales-container h3 {
  font-family: 'Roboto', sans-serif;
  color: #0056b3; /* Azul bandera */
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
}

#whatsapp-btn {
  position: fixed;
    bottom: 20px; /* Espaciado desde abajo */
    right: 20px; /* Espaciado desde la derecha */
    z-index: 1000; /* Para asegurarse de que esté encima de otros elementos */
    width: 50px; /* Ancho del botón */
    height: 50px; /* Altura del botón */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366; /* Color de fondo */
    border-radius: 50%; /* Botón circular */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
    transition: transform 0.3s ease;
}

#whatsapp-btn img {
  width: 60px; /* Tamaño del icono */
    height: 60px;
}

#whatsapp-btn:hover {
  transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
}

.metodos-de-pagos-container {
  display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0; /* Espaciado superior e inferior */
}

.metodos-de-pagos {
  display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Permitir que los íconos pasen a la siguiente fila en pantallas pequeñas */
    gap: 15px; /* Espaciado entre los íconos */
}

#por-que-billetaxo {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: left;
}

#por-que-billetaxo h2 {
  text-align: center;
  font-size: 2rem;
  color: #0056b3;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f7f7f7;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature p {
  margin: 0;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.suscripcion-container {
  max-width: 600px;
  margin: 4rem auto;
  padding: 2rem 1rem; /* márgenes laterales para móviles */
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  box-sizing: border-box;
}

#form-suscripcion {
  width: 100%;
}

#form-suscripcion input,
#form-suscripcion button {
  width: 100%; /* ahora ocupa el 100% del contenedor */
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border-radius: 5px;
  box-sizing: border-box;
}

#form-suscripcion input {
  border: 1px solid #ccc;
  outline: none;
}

#form-suscripcion button {
  background-color: #0056b3;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#form-suscripcion button:hover {
  background-color: #003e80;
}

#boton-suscripcion {
  transition: background-color 0.4s ease, color 0.4s ease;
}

.mensaje-suscripcion {
  color: #cc0000;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  margin: 1rem auto;
  background-color: #ffe6e6;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #cc0000;
  max-width: 600px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: fadeOut 5s forwards;
}

@keyframes fadeOut {
  0%, 80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

input.error, select.error, textarea.error {
  border: 2px solid #d93025 !important;
  background-color: #fff6f6 !important;
}

small.mensaje-error {
  color: #d93025;
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
}


.icono-social {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}

.botones-compartir .btn {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  gap: 8px;
  transition: background 0.3s, transform 0.2s;
}

.botones-compartir .btn:hover {
  transform: scale(1.05);
}

.red-whatsapp { background-color: #25D366; }
.red-facebook { background-color: #1877F2; }
.red-twitter  { background-color: #000000; }
.red-enlace   { background-color: #6c757d; }

footer {
  background-color: #004080; /* azul oscuro si quieres más contraste */
  color: white;
  padding: 2rem 1rem; /* más alto */
  text-align: center;
  font-size: 0.95rem;
}

footer .footer-links {
  margin-bottom: 1rem;
}

footer .footer-links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 0.4rem;
}

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



