﻿﻿ /* Estilos base responsivos */
.imagen {
    background: url("../Imagenes/imagen_1_pantalla_principal.png") no-repeat right top;
    background-size: 100% auto;
    min-height: 300px;
    background-position: center;
    border-top-left-radius: 15px;
}

.imgnFunDes1 {
    margin-top: 20px;
}

.imgnFunDes2 {
    margin-top: 20px;
}

/* CSS diseño en EFICIENTEPROCESO - Mejorado para responsividad */

/* CSS de imágenes de productos de calidad - Versión mejorada */
.contLogos {
    position: relative;
    z-index: 1000;
    padding: 10px;
    height: auto;
    top: 0;
    opacity: 0.50;
    margin: 20px auto;
    text-align: center;
}

.logo-fijo {
    height: auto;
    width: 100%;
    max-width: 250px;
    padding: 10px;
    border-radius: 8px;
}

.mestraLog {
    background: url("/Imagenes/ibericatiles12_logo.jpg") no-repeat center center;
    background-size: contain;
    min-height: 200px;
}

.logos-section {
    background-color: #EFF2F5;
    min-height: 400px;
    display: flex;
    align-items: center;
    z-index: 2;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
    padding: 40px 0;
}

.section-title {
    color: #333;
    font-weight: 600;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* Carrusel de logos mejorado para responsividad */
.logo-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.logo-item {
    flex: 0 0 auto;
    width: 150px;
    margin: 0 15px;
}

.logo-container {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin: 0 auto;
}

    .logo-container:hover {
        transform: scale(1.1);
    }

.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logos-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
}

    .logos-container:hover .logo-track {
        animation-play-state: paused;
    }

    /* Efecto de desvanecimiento en los bordes */
    .logos-container::before,
    .logos-container::after {
        content: '';
        position: absolute;
        top: 0;
        width: 100px;
        height: 100%;
        z-index: 2;
    }

    .logos-container::before {
        left: 0;
        background: linear-gradient(to right, #EFF2F5, transparent);
    }

    .logos-container::after {
        right: 0;
        background: linear-gradient(to left, #EFF2F5, transparent);
    }

/* Funciones destacadas - Mejorado para responsividad */
.features-section {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

    .features-section:before {
        position: absolute;
        content: '';
        display: block;
        left: -60%;
        top: -150px;
        height: 75%;
        transform: rotate(-12deg);
        width: 180%;
        background: #EFF2F5;
    }

    .features-section .section-heading {
        z-index: 10;
        position: relative;
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

/* Pie de página - Mejorado para responsividad */
.theme-bg-primary {
    color: #000;
    background-color: #EFF2F5;
}

.titulo {
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    font-weight: 600;
}

.texto {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.5;
}

.footer a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

    .footer a:hover {
        color: #3498db;
    }

.footer .social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s;
}

    .footer .social-icons a:hover {
        background-color: #000;
        transform: translateY(-3px);
    }

.footer .contact-info i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

.footer .btn-outline-light:hover {
    color: #2c3e50;
}

.footer h5 {
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Estilos responsivos adicionales */
.responsive-title {
    font-size: clamp(1.5rem, 4vw, 3rem) !important;
}

.responsive-logo {
    width: 100%;
    max-width: 450px;
    height: auto;
}

.responsive-text {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    width: 90%;
    max-width: 800px;
}

.img_salamanca {
    width: 90% !important;
    max-width: 800px;
    height: auto;
}

.logo-fijo-responsive {
    width: 100%;
    max-width: 250px;
    height: auto;
}

.logos-container-responsive {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.logo-track-responsive {
    display: flex;
    animation: scroll-responsive 30s linear infinite;
    width: max-content;
}

.logo-item-responsive {
    flex: 0 0 auto;
    width: 150px;
    margin: 0 15px;
}

.logo-img-responsive {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@keyframes scroll-responsive {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.benefit-img {
    height: auto;
    max-height: 80px;
    width: auto;
}

.feature-img-container {
    height: auto;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.feature-img {
    width: 90%;
    max-width: 900px;
    height: auto;
}

.benefit-item {
    margin-bottom: 2rem;
}

.feature-card {
    margin-bottom: 2rem;
}

/* Media Queries para diferentes tamaños de pantalla */

/* Tablets y pantallas medianas */
@media (max-width: 1200px) {
    .logo-item {
        width: 140px;
        margin: 0 12px;
    }

    .logo-container {
        width: 140px;
        height: 140px;
    }

    .logo-item-responsive {
        width: 130px;
        margin: 0 10px;
    }
}

@media (max-width: 992px) {
    .logo-item {
        width: 120px;
        margin: 0 10px;
    }

    .logo-container {
        width: 120px;
        height: 120px;
    }

    .logo-item-responsive {
        width: 110px;
        margin: 0 8px;
    }

    .benefit-item {
        margin-bottom: 2rem;
    }

    .logos-section {
        min-height: 350px;
        padding: 30px 0;
    }

    .features-section:before {
        top: -100px;
        height: 65%;
    }
}

/* Tablets pequeñas y móviles grandes */
@media (max-width: 768px) {
    .logo-item {
        width: 100px;
        margin: 0 8px;
    }

    .logo-container {
        width: 100px;
        height: 100px;
    }

    .logo-track {
        animation-duration: 25s;
    }

    .logo-item-responsive {
        width: 90px;
        margin: 0 6px;
    }

    .logo-track-responsive {
        animation-duration: 25s;
    }

    .feature-card {
        margin-bottom: 1.5rem;
    }

    .logos-container::before,
    .logos-container::after {
        width: 50px;
    }

    .logos-section {
        min-height: 300px;
        padding: 20px 0;
    }

    .imagen {
        min-height: 200px;
        background-size: cover;
    }
}

/* Móviles */
@media (max-width: 576px) {
    .logo-item {
        width: 80px;
        margin: 0 5px;
    }

    .logo-container {
        width: 80px;
        height: 80px;
    }

    .logo-item-responsive {
        width: 70px;
        margin: 0 4px;
    }

    .responsive-text {
        width: 95%;
    }

    .logos-container::before,
    .logos-container::after {
        width: 30px;
    }

    .logo-track {
        animation-duration: 20s;
    }

    .logo-track-responsive {
        animation-duration: 20s;
    }

    .logos-section {
        min-height: 250px;
        padding: 15px 0;
    }

    .features-section:before {
        top: -50px;
        height: 60%;
        transform: rotate(-8deg);
    }

    .footer .social-icons a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        margin-right: 5px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 400px) {
    .logo-item {
        width: 70px;
        margin: 0 4px;
    }

    .logo-container {
        width: 70px;
        height: 70px;
    }

    .logo-item-responsive {
        width: 60px;
        margin: 0 3px;
    }

    .logo-track {
        animation-duration: 15s;
    }

    .logo-track-responsive {
        animation-duration: 15s;
    }
}

/* Utilidades para espaciado responsivo */
.responsive-padding {
    padding: clamp(1rem, 3vw, 2rem);
}

.responsive-margin {
    margin: clamp(1rem, 3vw, 2rem);
}

/* Mejoras para textos responsivos */
.responsive-font {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

.responsive-heading {
    font-size: clamp(1.2rem, 4vw, 2rem);
}

/* Contenedores fluidos */
.container-fluid-responsive {
    width: 100%;
    padding-right: clamp(1rem, 3vw, 2rem);
    padding-left: clamp(1rem, 3vw, 2rem);
    margin-right: auto;
    margin-left: auto;
}
