/* Estilos globales */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    background-color: #333;
}

/* Estilos del encabezado */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background-color: rgba(0, 0, 0, 0.8);
}

header .logo img {
    width: 100px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

/* Estilos de la sección hero */
.hero {
    position: relative;
    height: 100vh;
    background-image: url('fondo.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin: 0;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.5rem;
    margin: 10px 0 20px;
}

.hero-content button {
    border: none;
    padding: 15px 25px;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 0.007);
    color: #f30909;
    font-size: 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content button:hover {
    background-color: rgba(221, 0, 0, 0);
}

.fa-play,
.fa-pause {
    font-size: 2rem;
}

/* Estilos para la tabla de horarios */
.schedule {
    padding: 50px;
    background-color: #222;
    color: #fff;
}

.schedule h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #f5f5f5;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.schedule table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
}

.schedule th,
.schedule td {
    padding: 15px;
    border: 1px solid #555;
    text-align: center;
    font-size: 1.2rem;
    font-family: 'Open Sans', sans-serif;
}

.schedule th {
    background-color: #444;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}

.schedule td {
    background-color: #555;
    color: #ddd;
}

.schedule td:hover {
    background-color: #666;
    transition: background-color 0.3s ease;
}

.schedule td span {
    display: block;
    margin-top: 5px;
    font-size: 0.9rem;
    color: #aaa;
}

/* Estilos responsivos para la tabla de horarios */
@media (max-width: 768px) {
    .schedule table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .schedule th,
    .schedule td {
        font-size: 1rem;
        padding: 10px;
    }

    .schedule h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {

    .schedule th,
    .schedule td {
        font-size: 0.9rem;
        padding: 8px;
    }

    .schedule h2 {
        font-size: 1.8rem;
    }
}

/* Estilos de la sección de anuncios */
.ads {
    padding: 50px;
    background-color: #222;
}

.ads h2 {
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.ads-item {
    background-color: #444;
    border: 2px solid #555;
    border-radius: 10px;
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ads-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.ads-item img {
    width: 250px;
    height: 250px;
    max-height: 250px;
    object-fit: cover;
    border-bottom: 2px solid #555;
    margin-bottom: 15px;
    border-radius: 5px;
}

.ads-item p {
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
    padding: 10px 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Cotizaciones */
.adsd {
    padding: 50px 0;
    background-color: #333;
    text-align: center;
}

.adsd h2 {
    font-size: 2.5rem;
    color: #e7dede;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    margin-bottom: 30px;
}

.adsd-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.quote-box {
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 320px;
}

.quote-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.quote-box iframe {
    width: 100%;
    height: 260px;
    border-radius: 10px;
    border: none;
}

/* Media query para pantallas pequeñas */
@media (max-width: 1024px) {
    .ads-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ads-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    header {
        flex-direction: column;
        padding: 10px 20px;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .ads-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .quote-box {
        max-width: 100%;
    }
}

.social-icons {
    position: absolute;
    /* Asegura que los íconos estén posicionados en relación con su contenedor padre */
    left: -400px;
    /* Espacio desde el borde izquierdo de su contenedor padre */
    top: 50%;
    /* Centrado verticalmente en su contenedor padre */
    transform: translateY(-50%);
    /* Ajusta para centrar verticalmente en su contenedor */
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Espacio entre los íconos */
}

.social-icons a {
    text-decoration: none;
    color: #fff;
    /* Color de la silueta blanca */
    font-size: 2rem;
    /* Tamaño de los íconos */
    transition: background-color 0.3s ease;
}

.social-icons i {
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    background-color: #6a0dad;
    /* Fondo violeta */
    transition: background-color 0.3s ease;
}

.social-icons i:hover {
    background-color: #50108b;
    /* Color violeta más oscuro al pasar el mouse */
}

/* Ajustes para pantallas más pequeñas */
@media screen and (max-width: 768px) {
    .social-icons {
        left: 10px;
        /* Menor espacio en pantallas pequeñas */
        gap: 15px;
    }

    .social-icons i {
        padding: 10px;
        font-size: 1.5rem;
    }
}

/* Estilos para la barra inferior */
.footer {
    position: static;
    /* Fija la barra en la parte inferior de la pantalla */
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #222;
    /* Color de fondo de la barra */
    color: #fff;
    /* Color del texto */
    text-align: center;
    /* Centra el texto dentro de la barra */
    padding: 15px 0;
    /* Espaciado interno */
    border-top: 2px solid #6a0dad;
    /* Línea superior en color violeta */
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.3);
    /* Sombra para darle profundidad */
    z-index: 1000;
    /* Asegura que la barra esté sobre otros elementos */
    font-family: 'Arial', sans-serif;
    /* Fuente más atractiva */
    font-size: 1rem;
    /* Tamaño de fuente ajustado */
    font-weight: 700;
    /* Hacer el texto más grueso */
}

.footer p {
    margin: 0;
    /* Elimina el margen del párrafo */
    line-height: 1.5;
    /* Espaciado entre líneas */
}

.footer a {
    color: #6a0dad;
    /* Color del enlace */
    text-decoration: none;
    /* Elimina el subrayado del enlace */
    font-weight: 700;
    /* Hace el texto del enlace más grueso */
    transition: color 0.3s ease, text-shadow 0.3s ease;
    /* Transiciones suaves */
}

.footer a:hover {
    text-decoration: underline;
    /* Subraya el enlace al pasar el ratón */
    color: #8e2de2;
    /* Color del enlace al pasar el ratón */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    /* Agrega sombra al texto para un efecto visual */
}

.text-primary {
    color: #6a0dad;
    /* Color primario para los enlaces */
}

.text-secondary {
    color: #bcbcbc;
    /* Color secundario para el texto no enlazado */
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer p {
        font-size: 0.9rem;
        /* Tamaño de fuente más pequeño en pantallas más pequeñas */
    }
}

/* Estilo para el contador de visitas */
.visit-counter {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: #6a0dad;
    /* Color violeta */
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-family: 'Arial', sans-serif;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    font-weight: 700;
    /* Texto grueso */
}

.visit-counter p {
    margin: 0;
    text-align: center;
}

/* Contenedor del carrusel */
/* Contenedor general */
.vendor-carousel {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    /* Oculta cualquier desbordamiento */
    width: 100%;
    /* Ocupa todo el ancho del contenedor padre */
    white-space: nowrap;
    /* Evita el salto de línea de los elementos flex */
}

/* Aseguramos que todos los items tengan el mismo tamaño y sean responsivos */
.vendor-carousel .bg-light {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    /* Tamaño fijo del contenedor de la imagen */
    height: 150px;
    /* Altura fija del contenedor de la imagen */
    margin-right: 20px;
    /* Espacio entre los logos */
    padding: 10px;
    background-color: #333;
    border-radius: 8px;
    flex-shrink: 0;
    /* Evita que los elementos se encojan */
    box-sizing: border-box;
    /* Asegura que el padding y borde se incluyan en el tamaño del contenedor */
}

/* Ajuste de imágenes */
.vendor-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Mantiene las proporciones de las imágenes */
}

/* Ocultar scrollbars y eliminar desbordamiento */
.owl-carousel {
    display: flex;
    overflow: hidden;
    width: 100%;
    /* Asegura que el carrusel no genere desplazamiento lateral */
    white-space: nowrap;
    /* Fuerza a los elementos a estar en una sola fila */
    scrollbar-width: none;
    /* Oculta scrollbar en Firefox */
}

.owl-carousel::-webkit-scrollbar {
    display: none;
    /* Oculta scrollbar en navegadores basados en WebKit (Chrome, Safari) */
}

/* Aseguramos que el contenedor no cause desbordamiento en la página */
html,
body {
    overflow-x: hidden;
    /* Evita el desplazamiento horizontal en toda la página */
}

/* Estilos responsive */
@media (max-width: 768px) {
    .vendor-carousel .bg-light {
        width: 150px;
        /* Ajuste de tamaño en pantallas más pequeñas */
        height: 120px;
    }

    .vendor-logo {
        max-height: 100%;
        /* Ajusta el tamaño de las imágenes en pantallas pequeñas */
    }
}

@media (max-width: 576px) {
    .vendor-carousel .bg-light {
        width: 120px;
        /* Tamaño más pequeño para dispositivos móviles */
        height: 100px;
    }

    .vendor-logo {
        max-height: 100%;
        /* Ajuste del tamaño de las imágenes en móviles */
    }
}

/*clima*/

#weather {
    margin-left: 20px;
    font-size: 18px;
    /* Aumentar tamaño del texto */
    font-weight: bold;
    color: #e6dede;
    display: flex;
    align-items: left;
}

#weather img {
    margin-right: 10px;
    width: 60px;
    /* Aumentar tamaño del ícono */
    height: 60px;
    /* Aumentar tamaño del ícono */
}