@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 */
}

/*Header*/
.header {
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.164);
    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 del banner principal*/
.container {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../img/fondo.jpg") no-repeat;
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
}
.banner {
    width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-items: center;
    padding-top: 90px;
    background-size: cover;
    background-position: center;
}


.banner-text {
    width: 80%;
    max-width: 800px;
    color: #fff;
    text-align: center; /* Alinea el texto al centro */
    margin-top: 20px;
}

.frase {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;

}

.description {
    font-size: 0.9em;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

/*Estilos del formulario*/
.container-formulario{
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top:150px;
    margin: 20px ;
    
  
}

.formulario {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    max-height: 500px;
    width: 100%;
    height: 500px; /* Aumenté la altura del formulario */
    overflow: auto;
   
}

.formulario h2 {
    text-align: center;
    margin-bottom: 15px; /* Aumenté el espacio inferior */
    font-size: 24px; /* Aumenté el tamaño del texto */
}

.formulario input[type="text"],
.formulario input[type="email"],
.formulario input[type="tel"],
.formulario textarea {
    width: calc(100% - 22px);
    padding: 15px; /* Aumenté el relleno */
    margin-bottom: 15px; /* Aumenté el espacio inferior */
    border: 1px solid #ccc;
    border-radius: 8px; /* Aumenté el radio de borde */
}

.formulario .form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Aumenté el espacio entre elementos del grupo */
}

.formulario .form-group .half-width {
    flex: 1 1 calc(50% - 7.5px); /* Ajusté el espacio entre elementos */
}

.formulario .form-group .third-width {
    flex: 1 1 calc(33.333% - 7.5px);
}

.formulario .form-group .full-width {
    flex: 1 1 100%;
}

.formulario .form-group .checkbox-group {
    display: flex;
    align-items: center;
}

.formulario .checkbox-group {
    margin-bottom: 25px; /* Aumenté el espacio inferior */
}

.formulario .btn {
    background-color: #7e7e7e;
    color: white;
    border: none;
    padding: 14px 24px; /* Aumenté el relleno */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px; /* Aumenté el tamaño del texto */
    border-radius: 8px;
    cursor: pointer;
}

.formulario .btn:hover {
    background-color: #414141;
}

.google-maps{
    border: none;
    border-radius: 5px;
    overflow: hidden;
}

.google-maps iframe{
    width: 700px;
}

/*Mensajes de exito y de carga*/
/* Agrega estas reglas al final de tu archivo de estilo CSS */
.hidden {
    display: none;
}

#success-message {
    background-color: #20AB9A; /* Color verde para el mensaje de éxito */
    color: white;
    font-weight: bold;
    padding: 15px;
    text-align: center;
    margin-top: 20px;
}

#loading-message {
    background-color: #3498db; /* Color azul para el mensaje de carga */
    color: white;
    padding: 15px;
    text-align: center;
    margin-top: 20px;
}



/*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 banner*/
    .frase {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .description {
        font-size: 0.8em;
        margin-bottom: 20px;
    }

    /*Responsive del formulario y el mapa*/
    .container-formulario {
        flex-direction: column;
        align-items: center;
        justify-content: center;
       
       
    }

    .formulario {
       
        width: 80vw;
     
    }

    .google-maps {
        width: 80vw;
        margin-top: 30px;
    }


    /*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;
    }
}

@media screen and (max-width: 280px) {
    .frase {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .description {
        font-size: 0.7em;
        margin-bottom: 15px;
    }
}
