@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100&family=Nanum+Gothic&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nanum Gothic', sans-serif;
}
/*Boton flotante de wpp*/
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px; /* Puedes ajustar la posición vertical según tus preferencias */
    right: 20px; /* Puedes ajustar la posición horizontal según tus preferencias */
    background-color: #128C7E; /* Color de fondo de WhatsApp */
    color: #fff; /* Color del icono y texto */
    border-radius: 50%;
    width: 70px; /* Ancho del botón */
    height: 70px; /* Altura del botón */
    text-align: center;
    line-height: 70px; /* Alineación vertical del contenido */
    font-size: 55px; /* Tamaño de fuente del icono */
    text-decoration: none;
    z-index: 9999;
    animation: bounce 2s infinite; /* Aplicar la animación de salto */
}

.whatsapp-float:hover {
    background-color: #20ab9a; /* Cambia el color de fondo al pasar el ratón sobre el botón */
    animation: none; /* Detiene la animación al pasar el ratón sobre el botón */
}


.container {
    background: url("../img/banner7.jpg") no-repeat;
    height: 100vh;
    background-size: cover;
    /* Ajusta el tamaño de la imagen para cubrir todo el contenedor */
    background-position: center;
}

/*Header*/
.header {
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.416);
    color: #FFFFFF;
    /* Texto en color blanco para resaltar sobre el fondo oscuro */
    /* Resto de estilos para el encabezado */
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    padding-left: 20px;
    /* Espacio para el icono del menú */
    padding-right: 20px;
    /* Espacio para el logo */
}
.logo{
    width: 80px;
    display: flex;
    justify-content: center;
    margin-left: 190px;
    cursor: pointer;

}
.logo img {
    width: 80px;
  
}

/*Menu*/
.menu {
    max-width: 1200px;
    display: flex;
    margin-right: 180px;
    justify-content: center;
    height: 100%;

}

nav {
    height: 100%;
}

nav>ul {
    height: 100%;
    display: flex;
}

nav ul li {
    height: 100%;
    list-style: none;
    position: relative;

}

nav>ul>li>a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 12px;
    color: white;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 300ms ease;
}

nav>ul>li>a:hover {
    transform: scale(1.1);
    background: #8a8a8a;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

/*sub menu*/
nav ul li ul {
    width: 200px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 110px;
    left: -5px;
    padding: 14px 0px;
    visibility: hidden;
    opacity: 0;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    z-index: 10;
    transition: all 300ms ease;
}

nav ul li:hover ul {
    visibility: visible;
    opacity: 1;
    top: 80px;
}

nav ul li ul:before {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid white;
    position: absolute;
    top: -12px;
    left: 20px;
}

nav ul li ul li a {
    display: block;
    color: #000;
    text-decoration: none;
    padding: 6px;
    padding-left: 0px;
    margin-top: 10px;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 300ms ease;
}

nav ul li ul li a:hover {
    background-color: #6b6b6b;
    color: #fff;
    transform: scale(1.1);
    padding-left: 30px;
    font-size: 14px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);

}



/*Elementos responsivos - funcionalidad del icono del menu*/


.icon_menu {
    width: 35px;
    height: 35px;
    display: none;
    cursor: pointer;
}

#check_menu {
    display: none;
}

#label_check {
    width: 35px;
    height: 35px;
    display: none;
}

/*Estilos banner principal*/
.banner {
    width: 100%;
    height: calc(100vh - 75px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-items: center;
    padding-top: 90px;
}

.banner-text {
    width: 100%;
    max-width: 800px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center; /* Alinea el texto al centro */
}

.frase {
    font-size: 2.5em;
    color: #3a3a3a;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;

}

.description {
    font-size: 0.9em;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.botones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

button {
    display: flex;
    margin: 20px;
    cursor: pointer;
    border-radius: 15px 15px;
    background: rgba(35, 35, 35, 0.484);
    border: none;
    transition: all 300ms ease;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

button a {
    width: 100%;
    color: #000000;
    text-decoration: none;
    padding: 20px 30px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    letter-spacing: 1px;
}

/* Estilos Caracteristicas de la empresa*/

section {
    text-align: center;
}

.fondo{
    background: url(../img/fondo\ persiana.png);
    background-position: center;
    background-position: center;
}

.logo-estilo{
    padding-top: 20px;
}


.caracteristicas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1000px;
    margin: 10px auto;
    
 
}

.icono-letra {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}

.text {
    margin-top: 20px;
}

.icono {
    width: 120px;
    height: 120px;
    background-color: #8a8a8a77;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;

}

.icono img {
    max-width: 60%;
    height: auto;
}

/*Categorias de la empresa*/
.services {
    background-color: #F5F5F5;
}

.heading {
    padding-top: 2rem;
}

.services h2 {
    margin-bottom: 1.5rem;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 30px 30px;

}

.services-box {
    flex: 0 0 calc(30% - 2rem);
    /* Cambia el 30% para tres cajas arriba */
    background: rgb(114, 113, 113);
    padding: 5rem 5rem 5rem;
    border-radius: 2rem;
    text-align: center;
    border: .1rem solid rgb(33, 33, 33);
    margin-bottom: 2rem;
    transition: .5 ease;
    overflow: hidden;
    /* Evita que el contenido desborde en dispositivos pequeños */
}



.cat1 {
    background: url("../img/Cat-persiana.jpg") no-repeat;
    background-size: cover;
    /* La imagen se ajustará al tamaño de la caja sin distorsionarla */
    background-position: center;
    /* La imagen se centrará en la caja */
}

.cat2 {
    background: url("../img/cat-cortina.jpg") no-repeat;
    background-size: cover;
    /* La imagen se ajustará al tamaño de la caja sin distorsionarla */
    background-position: center;
    /* La imagen se centrará en la caja */
}

.cat3 {
    background: url("../img/cat-exteriores.jpg") no-repeat;
    background-size: cover;
    /* La imagen se ajustará al tamaño de la caja sin distorsionarla */
    background-position: center;
    /* La imagen se centrará en la caja */
}

.cat4 {
    background: url("../img/cat-papel.jpg") no-repeat;
    background-size: cover;
    /* La imagen se ajustará al tamaño de la caja sin distorsionarla */
    background-position: center;
    /* La imagen se centrará en la caja */
}

.cat5 {
    background: url("../img/cat-molduras.jpg") no-repeat;
    background-size: cover;
    /* La imagen se ajustará al tamaño de la caja sin distorsionarla */
    background-position: center;
    /* La imagen se centrará en la caja */
}


/* Estilo de las cajas que tendrán transición 3D */
.cat1,
.cat2,
.cat3,
.cat4,
.cat5 {
    transition: transform 0.3s ease;
    /* Transición suave para la transformación */
}

/* Efecto 3D cuando el mouse pasa por encima de las cajas */
.cat1:hover,
.cat2:hover,
.cat3:hover,
.cat4:hover,
.cat5:hover {
    transform: scale(1.05) translateZ(10px);
    /* Hace que la caja se agrande ligeramente y se acerque hacia adelante en el eje Z */
}

.btn {
    display: flex;
    justify-content: center;
    height: 80px;
}
.btn button{
    align-items: center;
 
}


.txt {
    display: flex;
    flex-direction: column;
    /* Alinea el título y el botón verticalmente en dispositivos pequeños */
    align-items: center;
}


/*Slider*/
.titulo-slider{
    text-align: center;
    margin-top: 60px;
}

.slider-com{
    display: flex;
    padding: 0 35px;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.wrapper{
    max-width: 1200px;
    position: relative;
}

.wrapper i{
    top: 50%;
    height: 46px;
    width: 46px;
    cursor: pointer;
    position: absolute;
    font-size: 1.2rem;
    text-align: center;
    line-height: 46px;
    background: #a1a1a1;
    border-radius: 50%;
    transform: translateY(-50%);
}

.wrapper i:first-child{
    left: -23px;
    display: none;
}

.wrapper i:last-child{
    right: -23px;
}

.wrapper .carousel{
    font-size: 0px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
}

.carousel.dragging{
    cursor: grab;
    scroll-behavior: auto;
}

.carousel.dragging img{
    pointer-events: none;
}

.carousel img{
    height: 340px;
    object-fit: cover;
    margin-left: 14px;
    width: calc(100% / 3);
}

.carousel img:first-child{
    margin-left: 0px;
}

/*Guia de mantenimiento*/
.todo{
    background-color: #F5F5F5;
}

.titulo-guia{
    padding-top: 2rem;
}

.todo h2{
    margin-bottom: 1.5rem;
}

.container-guia{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    margin: 0 auto;
    max-width: 1200px; 
    min-height: 60vh;
}

.guia{
    flex: 0 1 calc(50% - 20px); 
    background-color: #fff;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    margin-bottom: 3rem;
}

.title-guia{
    font-size: 24px;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

/*Esilos distribuidores*/
.distribuidores {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.distribuidor {
    text-align: center;
    margin-left: 20px;
    margin-bottom: 20px; /* Espacio inferior entre los distribuidores */
    width: 40%; /* Ocupa el 40% del ancho del contenedor padre */
    max-width: 320px; /* Ancho máximo de cada distribuidor */
}

.logo-distribuidor {
    width: 100px; /* Ancho de la imagen del distribuidor */
    height: 100px; /* Altura de la imagen del distribuidor */
    object-fit: cover; /* Ajusta la imagen para que llene completamente el contenedor sin distorsión */
    margin-bottom: 10px;
}

.distribuidor h3 {
    font-size: 18px;
}

.distribuidor p {
    font-size: 14px;
    margin-bottom: 10px;
}



/*Footer*/
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-left img {
    width: 100px;
    margin-right: 30px;
    margin-left: 90px;
}

.footer-left ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: justify;
}

.footer-left ul li {
    margin-bottom: 10px;
}

.footer-left ul li i {
    margin-right: 5px;
}
/* Estilos para los íconos */
.fa-phone,
.fa-envelope,
.fa-map-marker-alt {
    color: #ca9f20;
    margin-right: 10px;
    font-size: 21px;
}

.footer-center {
    text-align: center;
}

.fa-facebook,
.fa-instagram,
.fa-tiktok {
    color: #ca9f20;
    margin-right: 10px;
    font-size: 22px;
 
}
.social-icons {
    list-style: none;
    padding: 0;
    text-align: justify;
}

.social-icons li {
    margin-bottom: 10px;
}

.footer-right {
    text-align: right;
}
.opening-hours{
margin-right: 90px;
}
.opening-hours p {
    margin-bottom: 10px;
    margin-right: 50px;
}

.opening-hours ul {
    list-style: none;
    padding: 0;
    
}

.opening-hours ul li {
    margin-bottom: 5px;
    text-align: justify;
}

.derechos{
    display: flex;
    justify-content: center;
    background-color: #4a4a4a;
    color: #fff;
    font-weight: bold;
}

.derechos p{
    font-size: 14px;
}

/*Responsive menu*/
@media screen and (max-width: 820px) {
    .container{
        left: 0;
    }
    .header .menu {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        
    }

    .logo img {
        display: none;
    }

    nav>ul {
        flex-direction: column;
        background-color: #414141;
        position: fixed;
        left: 0;
        top: 78px;
        width: 100%;
        height: 0px;
        transition: all 300ms ease;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
    }

    nav>ul>li>a:hover {
        transform: scale(1);
    }

    nav ul li ul {
        left: 90px;
    }

    nav>ul>li:hover ul {
        top: 73px;
    }

    nav>ul>li:first-child ul {
        background-position: 20px;

    }

    #selected {
        transform: scale(1);
    }

    #label_check {
        display: block;

    }

    .icon_menu {
        display: flex;

    }

    #check_menu:checked~nav>ul {
        height: 300px;
        visibility: visible;
        opacity: 1;
    }
/*Responsive del banner principal*/
    .banner {
        padding-top: 50px; /* Ajusta el espacio superior en dispositivos pequeños */
        
    }

    .frase {
        font-size: 2em; /* Ajusta el tamaño de la fuente en dispositivos pequeños */
        margin-bottom: 10px; /* Ajusta el espacio inferior en dispositivos pequeños */
    }

    .description {
        font-size: 0.8em; /* Ajusta el tamaño de la fuente en dispositivos pequeños */
        margin-top: 30px; /* Ajusta el espacio inferior en dispositivos pequeños */
    }

    button {
        margin-top: 30px;
    }

/*Responsive cajas categorias*/
    .services-box {

        flex: 0 0 calc(100% - 2rem);
        /* Ocupa el 100% del ancho en dispositivos pequeños */
        flex-direction: column;

    }

    .services-container {
        padding: 0.5rem;
    }
/*Responsive slider*/
    .carousel img{
        width: 100%;
    }

    /*Responsive Guia de Mantenimiento*/
    .container-guia {
        flex-direction: column;
        align-items: center; 
    }

    .guia {
        width: 90%;
        margin-bottom: 1rem;
    
    }

    /*Responsive proveedores*/

    .distribuidor {
        width: 90%; /* Ocupa el 90% del ancho del contenedor padre en pantallas más pequeñas */
        max-width: none; /* Elimina el ancho máximo en pantallas más pequeñas */
        justify-content: center; /* Centra los distribuidores horizontalmente en pantallas más pequeñas */
        align-items: center;
    }

    /*Responsive footer*/
   

    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left {
        margin-bottom: 20px;
        flex-direction: column;
    }

    .footer-left ul {
        padding-left: 0;
    }

    .footer-left ul li {
        margin-bottom: 10px;
        text-align: center;
    }

    .footer-left ul li i {
        margin-right: 5px;
    }
    .footer-left img{
        margin-right: 60px;
    }

    .footer-center {
        margin-top: 20px;
    }

    .social-icons {
        list-style: none;
        padding: 0;
    }

    .social-icons li {
        margin-bottom: 10px;
    }

    .social-icons li a {
        font-size: 20px;
    }

    .footer-right {
        margin-top: 20px;
       
       margin-left: 70px;
      
    }
   
    .opening-hours p {
        margin-bottom: 10px;
        margin-right: 15px;
    }

    .opening-hours ul li {
        margin-bottom: 5px;
        text-align: center;
        margin-left: 20px;
    }

    .derechos{
        text-align: center;
    }
}

