/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');


.back-button {
    background-color: #FFA500; /* Color del fondo */
    color: #fff; /* Color del texto/icono */
    padding: 10px 20px;
    border: none;
    border-radius: 10px; /* Ajuste de lo redondo */
    cursor: pointer;
    font-size: 1.2em;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.back-button:hover {
    background-color: #FF8C00; /* Color más oscuro al hacer hover */
}

.container {
    padding: 40px 20px; /* Aumenta el padding para dar más espacio alrededor del contenido */
    margin-bottom: 30px; /* Añade más espacio entre las secciones */
}

.tarifas h1, .tarifas h2 {
    text-align: center;
}

h1, h2 {
    margin-top: 30px;
    margin-bottom: 20px; /* Incrementa el margen superior e inferior para separar los títulos del contenido */
}

p {
    margin-bottom: 20px; /* Añade margen inferior a los párrafos para separarlos de otros elementos */
}

.celda-naranja {
    background-color: #E53D00; /* Naranja */
    color: #ffffff; /* Color de texto negro para buen contraste */
}

.celda-verde {
    background-color: #90ee90; /* Verde claro */
    color: #000; /* Color de texto negro para buen contraste */
}

.celda-white {
    background-color: #FF0000; /* Verde claro */
    color: #ffffff; /* Color de texto negro para buen contraste */
}

/* Botón de "Viajes Hacia Afuera" */
.scroll-button1 {
    background-color: #e3091f; /* Naranja */
    color: #fff; /* Blanco */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px; /* Ajusta el margen superior según sea necesario */
    transition: background 0.3s ease, transform 0.3s ease;
}

/* Botón de "Viajes Hacia Afuera" */
.scroll-button {
    background-color: #FFA500; /* Naranja */
    color: #fff; /* Blanco */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px; /* Ajusta el margen superior según sea necesario */
    transition: background 0.3s ease, transform 0.3s ease;
}

.scroll-button:hover {
    background-color: #FF8C00; /* Naranja más oscuro al hacer hover */
    transform: translateY(-3px);
}

.scroll-button1:hover {
    background-color: #b50012; /* Naranja más oscuro al hacer hover */
    transform: translateY(-3px);
}

/* Botón de "ir arriba" */
.to-top-button {
    position: fixed;
    bottom: 20px; /* Distancia desde la parte inferior */
    right: 20px; /* Distancia desde la parte derecha */
    width: 80px; /* Ancho del botón */
    height: 50px; /* Alto del botón */
    background-color: #ffdd57; /* Color de fondo */
    color: #000; /* Color del icono */
    border: none;
    border-radius: 20%; /* Botón redondo */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em; /* Tamaño del icono */
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Sombra para dar dimensión */
    z-index: 1000; /* Asegura que el botón esté por encima de otros elementos */
    transition: background 0.3s ease, transform 0.3s ease;
}

.to-top-button:hover {
    background-color: #ffc107; /* Cambia de color al pasar el cursor */
    transform: translateY(-5px); /* Movimiento hacia arriba al hacer hover */
}

.to-top-button i {
    margin-right: 4; /* Elimina margen entre iconos */
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    transition: transform 0.s ease;
    animation: enlarge 3s infinite;
}

@keyframes enlarge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.linea-text {
    color: white;
}

.linea-number {
    color: red;
}

body {
    font-family: 'Roboto', sans-serif;
    background: url('background.png') no-repeat center center fixed;
    background-size: cover;
    color: white;
    margin: 0;
    padding: 0;
}

.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1); /* Aumenta el tamaño al 110% */
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

header {
    text-align: center;
    position: relative;
}

.back-button {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffdd57;
    border: none;
    border-radius: 50%;
    padding: 10px 15px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #000;
    font-size: 1.2em;
    transition: background 0.3s ease, transform 0.3s ease;
}

.back-button:hover {
    background: #ffc107;
    transform: translateY(-3px);
}

header .logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
    margin: 20px 0;
    background: linear-gradient(to right, #FF7F50, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tarifas h2 {
    font-size: 2.0em;
    margin: 20px 0 10px;
    color: #ff0000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tarifas table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.tarifas table, .tarifas th, .tarifas td {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tarifas th {
    text-align: left;
}

.tarifas th, .tarifas td {
    padding: 20px; /* Incrementa el padding para dar más espacio dentro de cada celda */
}

.tarifas tr:hover {
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.boleto-zonal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 15px;
}

.boleto-zonal span {
    font-size: 1.2em;
}

/* Add some padding to make the content more readable on mobile devices */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header .logo {
        max-width: 80%;
    }

    h1 {
        font-size: 2em;
    }

    .tarifas h2 {
        font-size: 1.5em;
    }

    .tarifas th, .tarifas td {
        padding: 10px;
    }

    .boleto-zonal {
        flex-direction: column;
        align-items: flex-start;
    }

    .boleto-zonal span {
        margin-bottom: 10px;
    }
}

.scroll-button {
    background-color: #FFA500; /* Naranja */
    color: #fff; /* Blanco */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px; /* Ajusta el margen superior según sea necesario */
    transition: background 0.3s ease, transform 0.3s ease;
}

.scroll-button:hover {
    background-color: #FF8C00; /* Naranja más oscuro al hacer hover */
    transform: translateY(-3px);
}

/* Importa la fuente Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');


/* Estilo para el footer */
footer {
	background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
    transition: background-color 0.5s ease;
    border-radius: 25px; /* Hace redondeado el footer */
    max-width: 95%; /* Opcional: para que el footer no ocupe todo el ancho de la página */
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Añade una sombra para darle profundidad */
}

/* Estilo para el contenedor de WhatsApp */
.whatsapp-container {
    display: flex;
    align-items: center; /* Alinea el texto y el icono verticalmente */
    justify-content: center; /* Opcional: centra el contenido horizontalmente */
    gap: 10px; /* Espacio entre el texto y el icono */
    margin-top: 15px; /* Opcional: espacio superior */
    font-size: 1.2em; /* Aumenta el tamaño del texto si es necesario */
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    animation: enlarge 3s infinite;
}

/* Animación para la ampliación del icono */
@keyframes enlarge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}
.footer-contact span {
    display: block; /* Asegura que el texto y los iconos se mantengan en línea */
    margin-bottom: 5px; /* Espacio debajo para separar del siguiente elemento */
}


.email-link {
    color: #fff; /* Color del texto */
    text-decoration: none; /* Quita el subrayado */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px; /* Espacio superior */
}

.email-link i {
    font-size: 1.2em; /* Tamaño del icono */
    transition: transform 0.3s ease; /* Transición para el efecto de hover */
}

.email-link:hover i {
    transform: scale(1.1); /* Aumenta el tamaño del icono al hacer hover */
}

.email-link:hover {
    text-decoration: underline; /* Subraya el texto al hacer hover */
}

@keyframes zoomAndFade {
    0% {
        transform: scale(1.1); /* Mayor tamaño al inicio */
        opacity: 0.5; /* Mayor transparencia al inicio */
    }
    100% {
        transform: scale(1); /* Vuelve al tamaño original */
        opacity: 1; /* Vuelve a ser completamente opaco */
    }
}

.header-text h1 {
    animation: zoomAndFade 2s ease-in-out; /* Duración y tipo de animación */
    font-size: 3rem; /* Asegúrate de que el tamaño del texto se mantenga */
  /*  font-weight: bold; /* Asegúrate de que el texto se vea más destacado */
    text-transform: uppercase; /* Opcional: convierte el texto a mayúsculas */
    letter-spacing: 2px; /* Añade espaciado entre letras para un efecto más imponente */
}

footer i {
    margin-right: 10px;
    color: #ffdd57;
}

.header-text h1 {
    font-family: 'Bebas Neue', sans-serif; /* Aplica la fuente Bebas Neue */
	font-style: italic; /* Aplica el estilo en cursiva */
    animation: zoomAndFade 2s ease-in-out; /* Mantiene la animación existente */
    font-size: 3rem; /* Tamaño del texto */
    text-transform: uppercase; /* Convierte el texto a mayúsculas */
    letter-spacing: 2px; /* Espaciado entre letras */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Sombra para mejorar la legibilidad */
}