@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.11);
    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;
}

/*Imagen y texto descriptivo*/
.contenido {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)), url('../img/fondo.jpg') center/cover;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Estilos para la mitad izquierda (imagen) */
.imagen {
    flex: 1;
    /* Ocupa la mitad del espacio disponible */
    text-align: center;
    /* Alineación del contenido en la mitad izquierda */
    margin-top: 80px;
    /* Espacio entre el encabezado y el contenido */


}

.imagen img {
    max-width: 100%;
    /* Asegura que la imagen se ajuste al ancho de la mitad izquierda */
    height:min-content;
    display: block;
    /* Evita espacios no deseados por defecto */

}

/* Estilos para la mitad derecha (texto) */
.texto {
    flex: 1;/* Ocupa la otra mitad del espacio disponible */
    padding: 20px;  /* Espacio alrededor del texto */
    color: #fff;
    margin-top: 50px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    /* Sombra (opcional) */
}

.texto h4,
.texto p {
    margin-bottom: 30px;/* Agregar margen inferior entre elementos */
    
    
}

.texto h1 {
    letter-spacing: 4px;
}

.texto h4 {
    margin-top: 10px;
    font-style: italic;
    font-size: 18px;
}

.texto p {
    font-size: 18px;
    text-align: justify;

}


/*Galeria de fotos*/
.container-papel{
    position: relative;
    min-height: 100vh;
    background: #ddd;
    margin-bottom: 0;
    padding-bottom: 0;
}

.container-papel h1{
    font-size: 40px;
    font-weight: normal;
    padding: 15px;
    color: #333;
    text-align: center;
    text-transform: capitalize;
}

.container-papel .image-container-papel{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 10px;
}

.container-papel .image-container-papel .image-papel{
    height: 250px;
    width: 350px;
    border: 10px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    overflow: hidden;
    cursor: pointer;
}

.container-papel .image-container-papel .image-papel img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .2s linear;
}

.container-papel .image-container-papel .image-papel:hover img{
    transform: scale(1.1);
}

.container-papel .popup-image{
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .9);
    height: 100%;
    width: 100%;
    z-index: 100;
    display: none;
}

.container-papel .popup-image span{
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 40px;
    font-weight: bolder;
    color: #fff;
    cursor: pointer;
    z-index: 100;
}

.container-papel .popup-image img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid #fff;
    border-radius: 5px;
    width: 500px;
    height: 500px;
    object-fit: cover;
}

/*Estilos del boton de cotizar*/
.cotizar {
    text-align: center;
    margin: 20px auto; /* Ajusta el margen superior e inferior según tu diseño */
  }
  
  button {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), url('../img/roughly-gold-painted-concrete-wall-surface-background.jpg') center/cover;
    border: none;
    transition: all 300ms ease;
    color: #fff; /* Color del texto del botón */
    padding: 15px 30px; /* Espaciado interno del botón */
    font-size: 18px; /* Tamaño de fuente del botón */
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer;
    letter-spacing: 1px;

  }
  
  button:hover {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
  }

/*Footer*/
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
}

.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 imagen y texto descriptivo*/
    .contenido{
        flex-direction: column;
        box-shadow: none;
    }

    /*Responsive productos*/
    .container-papel .popup-image img{
        width: 95%;
    }


     /*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;
    }
}