@charset "utf-8";

html,
body {
    height: 100%;
    margin: 0px;
    padding: 0px;
    min-width: 100vw;
    min-height: 100vh;
    font: 1em/150%;
}

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: white;
    color: #1b1b1b;
    text-align: center;
    overflow-x: hidden;
}

/* Menú de navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /*background-color: #202020; */
    background-color: #474747;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 10;
}

.logo img {
    width: 180px;
}

nav ul.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul.menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.menu-btn {
    display: none;
    cursor: pointer;
}

.menu-btn i {
    color: white;
    font-size: 30px;
}

/* Menu overlay para móviles */
.menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    overflow: auto;
}

.menu-overlay i.close-menu {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.menu-overlay-list {
    list-style: none;
    text-align: center;
}

.menu-overlay-list li {
    margin: 20px 0;
}

.menu-overlay-list li a {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
}

/* Banner de texto */
.text-banner {
    position: relative;
    width: 100vw;
    /* Se asegura que el banner ocupe todo el ancho de la pantalla */
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Oculta los elementos que sobrepasen los límites del slider */
    margin-top: 80px;
}

.banner-text {
    display: flex;
    width: 100vw;
    /* El contenedor de los slides ocupa todo el ancho de la pantalla */
    transition: transform 1s ease;
    /* Transición suave entre slides */
}

.slide {
    min-width: 100vw;
    /* Cada slide ocupará exactamente el ancho de la pantalla */
    opacity: 0;
    margin-right: -100%;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    margin-right: 0;
    min-width: 100vw;
    /* Cada slide ocupará exactamente el ancho de la pantalla */
    opacity: 1;
    z-index: 1;
    /* Traemos el slide activo al frente */
    transition: opacity 1s ease-in-out;
}

.banner-text h1,
.banner-text h2 {
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.banner-text h1 {
    font-size: 4vw;
    margin-bottom: 10px;
}

.banner-text h2 {
    font-size: 2.2vw;
    margin-top: 20px;
}

/* Beneficios */
.led-benefits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1024px;
    margin: 0 auto;
    padding: 40px 20px;
}

.benefit {
    text-align: center;
    width: 30%;
    padding: 20px;
}

.benefit-icon {
    width: 100px;
    height: 100px;
    background-color: #A03232;
    border-radius: 50%;
    position: relative;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.benefit-icon:hover {

    background-color: #C45A5A;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    /* Sombra suave */
}

.benefit-icon img {
    width: 50px;
    height: 50px;
    position: relative;
}

.benefit-icon:hover img {
    animation: swing 0.5s ease-in-out forwards;
}


@keyframes swing {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(20deg);
    }

    50% {
        transform: rotate(-20deg);
    }

    75% {
        transform: rotate(10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.benefit-icon::before,
.benefit-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #E07C7C;
    top: 50%;
    transform: translateY(-50%);
}

.benefit-icon::before {
    left: -40px;
}

.benefit-icon::after {
    right: -40px;
}

.benefit h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

.benefit p {
    font-size: 0.9rem;
    color: #1b1b1b;
}



/* Servicios */
.services-section {
    background-color: #A03232;
    /* Cambia el fondo a tonos rojizos */
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1024px;
    margin: 40px auto 40px auto;
    padding: 50px 20px;
    color: white;
}

.service {
    text-align: center;
    width: 30%;
    padding: 20px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon img {
    width: 40px;
    height: 40px;
}

.service h3 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 10px;
}

.service p {
    font-size: 0.9rem;
    color: #1b1b1b;
    margin-bottom: 20px;
}

.service-button {
    background-color: #C45A5A;
    border: none;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.service-button:hover {
    background-color: #E07C7C;
}

/* Servicios */
.services-section {
    background-color: #A03232;
    /* Fondo rojizo */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Ocupa el 100% del ancho */
    max-width: 100%;
    /* Se asegura de no limitar el ancho */
    margin: 0 auto;
    padding: 70px 20px;
    color: white;
}

.service {
    text-align: center;
    width: 18%;
    /* Ajustamos el ancho para meter 5 servicios */
    padding: 20px;
    border-radius: 10px;
}

/*
.service:hover {
    background: rgba(0, 0, 0, 0.3);
}
*/
 
  .slid-arrow2{
      position: absolute;
      top: 50%;
      margin-top: -20px;
  }
  .pre-arrow2{
      left: -40px;
      width: 40px;
      height: 80px;
      background: url('../IMG/Prev2.png');
      background-size: 100%;
      background-repeat: no-repeat;
      border: none;
      cursor: pointer;
  }
  .nex-arrow2{
      right: -40px;
      width: 40px;
      height: 80px;
      background: url('../IMG/Next2.png');
      background-size: 100%;
      background-repeat: no-repeat;
      border: none;
      cursor: pointer;
  }

.service-icon {
    width: 80px;
    height: 80px;
    background: none;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon img {
    width: 60px;
    height: 60px;
}

.service h3 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 10px;
}

.service p {
    font-size: 0.9rem;
    color: #d1d1d1;
    margin-bottom: 20px;
}

.service-button {
    background-color: #C45A5A;
    border: none;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.service-button:hover {
    background-color: #E07C7C;
}

/*COMPLEMENTARIOS*/
.complementary-services {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.services {
    text-align: center;
    width: 100%;
    max-width: 30%;
    margin-bottom: 40px;
}

.image-slider {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* Mantiene la relación 1:1 entre ancho y alto */
    overflow: hidden;
}

.image-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Se asegura de que la imagen cubra todo el contenedor */
    object-fit: cover;
    /* Mantiene la relación de aspecto de la imagen */
    opacity: 0;
    margin-right: -100%;
    transition: opacity 1s ease-in-out;
}

.image-slider img.active {
    opacity: 1;
    margin-right: 0;
    transition: opacity 1s ease-in-out;
}


.services h3 {
    font-size: 1.8rem;
    margin: 20px 0 10px;
}

.services p {
    font-size: 1rem;
    line-height: 1.5;
    color: #1b1b1b;
}

/* Menu overlay para móviles */
.galeria {
    background-color: #fff;
    /* Fondo rojizo */
    align-items: center;
    text-align: center;
    width: 100%;
    /* Ocupa el 100% del ancho */
    max-width: 100%;
    /* Se asegura de no limitar el ancho */
    margin: 0 auto;
    padding: 20px;
    color: #1b1b1b;
    overflow-x: hidden;
}

/* Productos */
.product-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 100vw;
    padding: 50px 10px;
    justify-content: center;
    align-items: stretch;
    overflow-x: hidden;
}

.product-box {
    width: 23%;
    /* Ajusta al 23% para tener 4 productos por fila con espacio */
    margin: 20px 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-box:hover {
    transform: translateY(-5px);
    /* Efecto hover */
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.4);
}

.product-box img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.product-name {
    font-size: 1.6rem;
    margin: 10px 0;
    font-weight: 800;
}

.product-price {
    font-size: 1.4rem;
    color: #B84D4D;
    font-weight: 600;
}

/* CONTACTO */
.contact-section {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 40px 0px;
    background-color: #f4f4f4;
    color: #1b1b1b;
    max-width: 100vw;
    overflow-x: hidden;
}

.contact-form,
.contact-info {
    width: 44%;
}

.contact-form h2,
.contact-info h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.contact-form textarea {
    height: 100px;
    resize: none;
}

.contact-form button {
    padding: 10px;
    background-color: #B84D4D;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #C45A5A;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
}

/* Mapa */
.map-container {
    margin: 20px 0;
    height: 300px;
    border: 1px solid #ccc;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Redes Sociales */
.contact-info .social-links i {
    margin-right: 15px;
    text-decoration: none;
    color: #555;
    font-size: 24px;
    transition: color 0.3s;
}

.contact-info .social-links i:hover {
    color: #000;
}

/* Pie de página */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    font-size: 1.2rem;
}

footer img {
    width: 200px;
    margin-bottom: 20px;
}

footer .links,
footer .legal {
    margin-bottom: 20px;
}

footer .links a,
footer .legal a {
    color: #bbb;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.6s;
}

footer .links a:hover,
footer .legal a:hover {
    color: #fff;
}

footer .legal {
    font-size: 1.2rem;
}

footer .developer {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #bbb;
}

footer .developer a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.6s;
}

footer .developer a:hover {
    color: #fff;
}

/* Responsive: flex-direction en columnas */
@media (max-width: 1024px) {
    .services-section {
        flex-wrap: wrap;
    }

    .service {
        width: 45%;
        margin-bottom: 40px;
    }

    .services {
        max-width: 45%;
    }

    .product-box {
        width: 48%;
        /* 2 productos por fila en pantallas más pequeñas */
    }
}

/* Estilos responsivos */
@media screen and (max-width: 900px) {
    nav ul.menu {
        display: none;
    }

    .logo {
        margin: 0 auto;
    }

    .menu-btn {
        display: block;
    }

    .menu-open .menu-overlay {
        left: 0;
    }

    /* Ajustamos los textos del slider para dispositivos móviles */
    .text-banner {
        position: relative;
        width: 100vw;
        /* Se asegura que el banner ocupe todo el ancho de la pantalla */
        height: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        /* Oculta los elementos que sobrepasen los límites del slider */
        margin-top: 80px;
    }

    .banner-text h1 {
        font-size: 6vw;
    }

    .banner-text h2 {
        font-size: 4vw;
    }

    .led-benefits {
        flex-direction: column;
    }

    .benefit {
        width: 100%;
        margin-bottom: 20px;
    }

    .services-section {
        flex-direction: column;
        text-align: center;
    }

    .service {
        width: 100%;
        margin-bottom: 40px;
    }

    .services {
        max-width: 90%;
    }

    .product-box {
        width: 100%;
        /* 1 producto por fila en pantallas móviles */
    }

    .contact-section {
        flex-direction: column;
        align-items: center;
    }

    .contact-form,
    .contact-info {
        width: 90%;
    }

    /* Pie de página */
    footer {
        font-size: 1.2rem;
    }
    footer .legal {
        font-size: 1rem;
    }

    footer .developer {
        font-size: 1rem;
    }
}