/* Estilos modelismo.html */
.hero {
    height: 80vh;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 50px;

    text-align: center;

    background-color: var(--primaryColorDarker);
}

.hero h1 {
    color: var(--white);
    font-family: var(--textFont);
    font-size: var(--font-big);
    font-weight: var(--font-weight-big);
}

.hero video {
    max-width: 60vw;
    max-height: 50vh;

    border-radius: 15px;
}

.selloCalidad {
    position: relative;
    width: 100%;
    padding: 80px 5vw;
    overflow: hidden;
    
    display: flex;
    justify-content: center;
}

.selloCalidad::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -5%; 
    width: 55%;
    height: 120%;
    
    background-image: url('/img/Logo.png'); 
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    
    filter: grayscale(100%) opacity(0.10);
    z-index: 0;
}

.selloCalidad-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.textoCalidad {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    max-width: 550px;
}

.textoCalidad .etiqueta-premium {
    color: var(--primaryColor);
    font-family: var(--textFont);
    font-size: var(--font-small);
    font-weight: bold;
    text-transform: uppercase;
}

.textoCalidad h2 {
    color: var(--primaryColorDarker);
    font-family: var(--textFont);
    font-size: var(--font-big);
    font-weight: var(--font-weight-big);
    line-height: 1.2;
}

.textoCalidad h3 {
    color: var(--primaryColorDarker);
    font-family: var(--textFont);
    font-size: var(--font-normal);
    font-weight: bold;
}

.textoCalidad p {
    color: var(--secondaryColor);
    font-family: var(--textFont);
    font-size: var(--font-small);
    line-height: 1.6;
}

.textoCalidad button {
    width: 200px;

    padding: 10px;

    border: none;
    border-radius: 15px;

    background-color: var(--orange);
    
    transition: all 0.5s ease;
}

.textoCalidad button:hover {
    transform: scale(1.05) translateX(5px);
}

.textoCalidad button a{
    color: var(--white);
    font-family: var(--textFont);
    font-size: var(--font-small);
    font-weight: var(--font-weight-big);
}

.imagenCalidad {
    display: flex;
    justify-content: flex-end;
}

.imagenCalidad img {
    width: 100%;
    max-width: 550px;
    object-fit: contain;
    
    filter: drop-shadow(10px 15px 15px rgba(0,0,0,0.25)) brightness(0.8);
}

.fotosCategoria {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 40px 20px;
}

.imagen-texto {
    position: relative;
    width: 23vw;
    min-width: 250px;
    cursor: pointer;
    overflow: hidden;
    background-color: #000;
}

.imagen-texto img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: filter 0.4s ease, transform 0.4s ease;
}

.imagen-texto p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    color: var(--white);
    font-family: var(--textFont);
    font-size: var(--font-big);
    font-weight: bold;
    text-align: center;
    margin: 0;
    z-index: 2;
    
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    
    opacity: 0;
    transition: opacity 0.4s ease;
}

.imagen-texto:hover img {
    filter: brightness(0.4);
    transform: scale(1.05);
}

.imagen-texto:hover p {
    opacity: 1;
}

.banner {
    max-height: 60vh;

    display: flex;

    align-items: stretch;
    justify-content: center;

    background-color: var(--primaryColorDarker);
}

.banner img {
    width: 50vw;
    max-height: 60vh;

    object-fit: cover;

    mask-image: linear-gradient(to right, black 80%, transparent 100%);

    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
}

.banner .textoBanner {
    max-height: 50vh;

    display: flex;
    flex-direction: column;

    align-items: start;
    justify-content: center;

    gap: 30px;

    padding: 0 10vw;
}

.textoBanner h2 {
    color: var(--white);
    font-family: var(--textFont);
    font-size: var(--font-big);
    font-weight: var(--font-weight-big);
}

.textoBanner p {
    color: var(--white);
    font-family: var(--textFont);
    font-size: var(--font-normal);
    font-weight: var(--font-weight-small);
}

@media (max-width: 1200px) {
    .banner {
        max-height: 80vh;
    }

    .banner img {
        width: 40vw;
        max-height: 80vh;
    }

    .banner .textoBanner {
        max-height: 60vh;
    }
    
    .textoBanner h2 {
        font-size: var(--font-normal);
        font-weight: var(--font-weight-big);
    }

    .textoBanner p {
        font-size: var(--font-small);
        font-weight: var(--font-weight-small);
    }


}

@media (max-width: 1000px) {
    .selloCalidad-content {
        flex-direction: column;
    }
    .imagenCalidad {
        justify-content: center;
        margin-top: 40px;
    }

    .banner img {
        width: 30vw;
    }
}