@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

.main-container {
    text-align: center;
}

.header {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.back-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.header-content {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
}

.header-txt h1 {
    font-size: 3rem;
    font-weight: bold;
}

.header-txt p {
    font-size: 1.2rem;
    margin-top: 10px;
}

.info-container {
    width: 70%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    padding: 25px 75px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
    margin-top: 60px;
}

.info-item {
    max-width: 200px;
    text-align: center;
}

.info-icons {
    width: 35px;
    height: 35px;
    color: var(--color-naranja-logo);
    font-size: 30px;
}

.info-item h2 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.info-item p {
    margin: 5px 0;
}

.info-item a {
    margin: 5px 0;
    color: var(--color-naranja-logo);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.seccion-productos {
    margin-top: 80px;
    text-align: center;
}

.seccion-productos h3 {
    color: var(--color-naranja-logo);
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
}

.seccion-productos > p {
    font-size: 20px;
    margin-bottom: 30px;
}

.tipo-productos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    /* width: 100%; */
}

.producto {
    border-radius: 15px;
    overflow: hidden; 
}

.producto-grande {
    width: 90%;
    position: relative;
    margin: 0 auto;
}

.producto-mediano {
    display: flex;
    gap: 20px;
    width: 90%;
    justify-content: center;
}

.producto-peque {
    width: 50%;
    position: relative;
}

.producto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1; /* Lo coloca debajo del texto y el enlace */
    /* pointer-events: none; */
}

.producto img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.producto h3,
.producto a {
    position: absolute;
    color: white;
    z-index: 2;
}

.producto h3 {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    margin: 0;
    width: 80%;
}

.producto a {
    top: calc(50% + 30px);
    left: 5%;
    background-color: var(--color-naranja-logo);
    padding: 10px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 32px;
    transition: background-color 0.3s;
}

.producto a:hover {
    background-color: var(--color-naranja-btn);
}

.descripcion-producto {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    z-index: 2;
    font-size: 20px;
    width: 80%;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
    margin: 0;  
}

/* Estilos para el sidenav*/
.informacion-taller {
    padding: 20px;
}

.contenido-taller {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.contenedor-slider {
    position: relative;
    min-width: 500px;
    height: 500px;
    overflow: hidden;
}

.imagenes-taller {
    display: flex;
    height: 100%;
}

.slide {
    max-width: 500px;
    width: 100%;
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    display: none;
}

.slide.activo {
    display: block;
}

.btn-slider {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 0 10px;
    cursor: pointer;
    z-index: 10;
}

.btn-slider.previo {
    left: 0;
    background-color: var(--color-naranja-logo);
}

.btn-slider.siguiente {
    right: 0;
    background-color: var(--color-naranja-logo);
}

.texto-taller {
    /* text-align: center; */
    margin-top: 20px;
    max-width: 500px;
}

.texto-taller h2 {
    font-size: 1.5rem;
    color: var(--color-naranja-logo);
}

.texto-taller h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.texto-taller p {
    font-size: 1rem;
    line-height: 1.6;
}

/*Estilos para la sección ubicación*/
.ubicacion-empresa {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    background-color: #f4f4f4;
}

.contenido-ubicacion {
    flex: 1;
    padding-right: 20px;
}

.contenido-ubicacion h2 {
    font-size: 1.75rem;
    color: var(--color-naranja-logo);
    margin-bottom: 10px;
}

.contenido-ubicacion h3 {
    font-size: 2.5rem;
    color: #444;
    margin-bottom: 20px;
    font-weight: bold;
}

.contenido-ubicacion p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

.imagen-ubicacion {
    position: relative;
    flex: 1;
    max-width: 500px;
}

.imagen-ubicacion img {
    width: 100%;
    height: auto;
}

.imagen-ubicacion::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.imagen-ubicacion h2, .imagen-ubicacion h3 {
    position: absolute;
    color: white;
    text-align: center;
    width: 100%;
    left: 0;
    z-index: 2;
}

.imagen-ubicacion h2 {
    top: 20%;
    font-size: 1.30rem;
    font-weight: bold;
    background-color: #287ccf;
}

.imagen-ubicacion h3 {
    top: 35%;
    font-size: 2rem;
    font-weight: 600;
}

.imagen-ubicacion a {
    position: absolute;
    bottom: 40px;
    right: 20px; 
    text-decoration: none;
    background-color: var(--color-naranja-logo);
    color: white;
    font-size: 1rem;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    z-index: 2;
}

.imagen-ubicacion a:hover {
    background-color: var(--color-naranja-btn);
}

/* Dispositivos como tablets */
@media (max-width: 1024px) {
    .info-container {
        flex-direction: column;
        align-items: center;
        padding: 25px 40px;
    }

    .contenido-taller {
        flex-direction: column;
        padding: 40px 20px;
    }

    .contenedor-slider {
        min-width: 100%;
        height: auto;
    }

    .slide {
        height: auto;
        max-width: 100%;
    }

    .producto-mediano {
        flex-direction: column;
        align-items: center;
    }

    .producto-peque {
        width: 90%;
    }

    .imagen-ubicacion {
        margin-top: 20px;
    }

    .ubicacion-empresa {
        flex-direction: column;
        padding: 30px 20px;
    }

    .contenido-ubicacion, 
    .imagen-ubicacion {
        width: 100%;
        padding: 0;
    }
}

/* Dispositivos móviles */
@media (max-width: 768px) {
    .header-content {
        top: 85%;
        width: 80%;
        padding: 20px;
    }

    .header-txt h1 {
        font-size: 2rem;
    }

    .header-txt p {
        font-size: 1rem;
    }

    .info-container {
        width: 90%;
        padding: 20px;
    }

    .info-item {
        max-width: 100%;
    }

    .producto h3 {
        font-size: 24px;
        top: 30%;
    }

    .producto a {
        font-size: 16px;
        top: calc(30% + 100px);
        left: 70%;
    }

    .descripcion-producto {
        font-size: 16px;
    }

    .seccion-productos h3 {
        font-size: 28px;
    }

    .seccion-productos > p {
        font-size: 16px;
    }

    .contenido-taller {
        padding: 20px 10px;
        gap: 20px;
    }

    .texto-taller h2 {
        font-size: 1.2rem;
    }

    .texto-taller h3 {
        font-size: 1.5rem;
    }

    .texto-taller p {
        font-size: 0.9rem;
    }

    .imagen-ubicacion h2 {
        font-size: 1rem;
    }

    .imagen-ubicacion h3 {
        font-size: 1.3rem;
    }

    .imagen-ubicacion a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

