/* Estilos para el slideshow */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform-origin: center center;
}

.slide.active {
    opacity: 1;
    animation: zoom 5s infinite;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700;900&display=swap');

/* Estilos generales del cuerpo */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

img {
    pointer-events: none;
}

/* Estilos del encabezado */
header {
    background-color: #005cfa;
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: top 0.3s ease;
}

header.header-hidden {
    top: -100px; 
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.desktop-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.desktop-nav li {
    margin-right: 1.5rem;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.desktop-nav li:last-child {
    border-right: none;
    padding-right: 0;
}

.desktop-nav a {
    position: relative;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #1de9b6;
    transition: width 0.3s ease-out;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.desktop-nav a:hover {
    color: #1de9b6;
}

.header-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.social-icons a {
    margin-left: 1rem;
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #1de9b6;
}

.cta-button {
    background-color: #1de9b6;
    color: #fff;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    margin-left: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #1bcf9c;
}

/* Menú de hamburguesa */
.hamburger-menu, .close-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

.mobile-nav {
    display: none;
}

/* Sección de héroe */
#hero {
    position: relative;
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

#hero h1 {
    font-size: 3.2rem;
    margin: 0.5rem 0;
    font-weight: 900;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#hero .highlight {
    color: #1de9b6;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn {
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    font-weight: 700;
    margin: 0 0.5rem;
    transition: all 0.3s;
}

#hero .btn-primary {
    background-color: #005cfa;
    color: #fff;
}

#hero .btn-primary:hover {
    background-color: #0047b3;
}

#hero .btn-secondary {
    background-color: #fff;
    border: 1px solid #ced4da;
    color: #6c757d;
}

#hero .btn-secondary:hover {
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

/* Secciones */
section {
    padding: 4.5rem 0;
}

#nosotros {
    background-color: #fff;
}

#nosotros .grid {
    align-items: center;
}

#nosotros h2 {
    font-size: 2.5rem;
    color: #005cfa;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

#nosotros p {
    color: #6c757d;
    margin-bottom: 2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item span {
    display: flex;
    align-items: center;
    font-weight: 700;
}

.feature-item .fas {
    color: #1de9b6;
    margin-right: 0.8rem;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    color: #005cfa;
    font-weight: 900;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.image-content img {
    max-width: 100%;
    border-radius: 8px;
}

/* Servicios Section */
#servicios {
    background-color: #f0f8ff;
}

#servicios .container {
    flex-direction: column;
}


/* Cuadrícula de productos */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 1.8rem;
}

.card-content h3 {
    margin-top: 0;
    font-size: 1.6rem;
}

.more-details {
    color: #005cfa;
    text-decoration: none;
    font-weight: 500;
}

.more-details .fas {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.more-details:hover .fas {
    transform: translateX(6px);
}

/* Clientes Section */
#clientes {
    padding: 4.5rem 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

#clientes .container {
    flex-direction: column;
}

#clientes .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.client-logos-container {
    width: 100%;
    overflow: hidden;
}

.client-logos {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
    align-items: center;
}

.client-logos img {
    height: 60px;
    width: auto;
    margin: 0 40px;
    flex-shrink: 0;
}

#mercado-logo {
    height: 80px;
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Sección de llamada a la acción */
#cta-section {
    background-color: #f0f8ff;
    color: #6c757d;
    text-align: center;
}

#cta-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#cta-section h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #005cfa;
    font-weight: 900;
}

#cta-section .btn {
    background-color: #005cfa;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    padding: 1rem 2rem;
}

#cta-section .btn:hover {
    background-color: #0047b3;
}

/* Pie de página */
footer {
    background-color: #005cfa;
    color: #fff;
    padding: 3rem 0 0;
}

.footer-main {
    padding-bottom: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.footer-col {
    padding: 0 1rem;
}

.footer-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 8rem;
}

.footer-logo {
    max-width: 220px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-social-icons a {
    color: #005cfa;
    background-color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    transition: background-color 0.3s, color 0.3s;
}

.footer-social-icons a:hover {
    background-color: #1de9b6;
    color: #fff;
}

.footer-title {
    background-color: #1de9b6;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
}

.footer-contact li i {
    margin-right: 0.8rem;
}

.payment-logos {
    margin-top: 3rem;
}

.payment-logos img {
    max-width: 100%;
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #005cfa;
    margin: 10% auto;
    display: flex;
    width: 90%;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.close-button {
    color: #fff;
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.modal-left {
    background-color: #005cfa;
    color: #fff;
    padding: 3rem;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-left h2 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
}

.quote-title span {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
}

.quote-title p {
    font-size: 1.5rem;
    margin: 0;
}

.modal-right {
    background-color: #fff;
    padding: 3rem;
    width: 60%;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 1.5rem;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    background-color: #f8f9fa;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(0, 92, 250, 0.3);
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.form-group-flex {
    display: flex;
    gap: 1.5rem;
}

.form-group-flex .form-group {
    width: 50%;
}

/* Estilo del input de archivo */
.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    background-color: #f8f9fa;
    width: 100%;
    cursor: pointer;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-label {
    color: #6c757d;
}

.recaptcha-notice {
    font-size: 0.8rem;
    color: #888;
    margin-top: 1.5rem;
}

.recaptcha-notice a {
    color: #005cfa;
}

.btn-submit {
    background-color: #005cfa;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    margin-top: 1.5rem;
    float: right;
}

.btn-submit:hover {
    background-color: #0047b3;
}

.btn-submit i {
    margin-left: 0.5rem;
}



/* Responsivo */
@media (max-width: 992px) {
    .container {
        justify-content: flex-end;
    }
    .desktop-nav, .header-right {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .mobile-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        height: 100%;
        background-color: #fff;
        box-shadow: -5px 0 18px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s;
        z-index: 1001;
        box-sizing: border-box;
    }

    .mobile-nav.open {
        right: 0;
    }

    .mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .mobile-nav li {
        margin: 1.2rem 0;
    }

    .mobile-nav a {
        text-decoration: none;
        color: #005cfa;
        font-size: 1.5rem;
        font-weight: 700;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 1.8rem;
        right: 1.8rem;
        color: #333; 
    }

    .mobile-nav .cta-button {
        display: block;
        width: 100%;
        text-align: center;
        color: #fff;
        padding: 1rem;
        margin: 1.5rem 0 0 0;
        box-sizing: border-box;
    }

    .mobile-social-icons {
        text-align: center;
        padding-top: 2rem;
        border-top: 1px solid #eee;
    }

    .mobile-social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background-color: #005cfa;
        color: #fff;
        margin: 0 0.5rem;
        font-size: 1.3rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-content {
        order: -1;
        margin-bottom: 2.5rem;
    }

    .modal-content {
        flex-direction: column;
        margin: 10% auto;
    }

    .modal-left, .modal-right {
        width: auto;
    }

    .modal-right {
        border-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .footer-main {
        padding: 3rem 0;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .footer-col {
        text-align: center;
        padding: 0;
    }
    
    .footer-about {
        padding-top: 0;
    }

    .footer-contact ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: inline-block;
        text-align: left;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .form-group-flex {
        flex-direction: column;
        gap: 0;
    }

    .form-group-flex .form-group {
        width: 100%;
    }

    .footer-social-icons a {
        margin: 0 0.5rem;
    }
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.8rem;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.banner-details {
    display: none;
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    max-height: 0;
}

.banner-details.show {
    display: block;
    max-height: 200px; /* Adjust as needed */
}

.banner-details li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.banner-details .fas {
    color: #1de9b6;
    margin-right: 0.8rem;
}
