/*Estilos principales del sitio web*/
html{
    scroll-behavior: smooth; /*permite controlar como se comporta el desplazamiento*/
}
body{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; /*permite especificar la fuente o familia de fuentes*/
    margin: 0; /*permite especificar el espaciado exterior entre un elemento*/
    padding: 0; /*permite especificar el espaciado interior entre el contenido de un elemento y su borde*/
}

/*Este estilo es solo para el logo y el div del logo*/
.div01{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    background-color: oklch(91.169% 0.03075 54.579 / 0.918);
}
.logo{
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/*Este estilo es para nuestro menu*/
.div02{
    background: linear-gradient(to right, #00c6ff,#0072ff);
    padding: 10px 0;
    text-align: center;
}

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

.div02 li{
    display: inline-block;
    margin: 0 15px;
}

.div02 a{
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s, transform 0.3s;
}

.div02 a:hover{
    color: #ffdf00;
    transform: scale(1.1);
}
 .imagen{
    width:180px ;
    height:180px ;
    border-radius: 100%;
    object-fit: cover;
 }

 /*Aqui inicia los estilos de Quienes somos*/
 .acerca{
    background-color: #ffffff;
    padding: 50px 20px;
    animation: fadeIn 1.5s ease-in;
    text-align: center;
 }

 .acerca-texto{
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    gap: 40px;
    flex-wrap: wrap;
 }

 /*Aqui van los estilos de la galeria*/
 #galeria{
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
 }

 #galeria h2{
    font-size: 2rem;
    margin-bottom: 20px;
    color: #051309;
 } 

 .contenedor-galeria{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 5px;
    max-width: 995px;
    margin: 0 auto;
 }

.imagen img{
    width: 200%;
    height: 200px;
    border-radius: 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.imagen img:hover{
    transform: scale(1.05);
}

/*Aqui van los estilos de ubicacion*/
#ubicacion{
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#ubicacion h2{
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2a2a2a;
}

/*Estos son los estilos de mi portada*/
.imagen-completa{
    height: 100vh; /*establece la altura de los elementos*/
    overflow: hidden;
}

.imagen-completa img{
    width: 100%;
    height: 100%; /*establece la altura de los elementos*/
    object-fit: cover;
    display: block;
}
/*Estos son los estilos de las redes sociales*/
.icon-bar{
    position: fixed;
    top: 50%;
    transform: translate(-10%);
}

.icon-bar a{
    display: block;
    text-align: center;
    padding: 16px;
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
}

.icon-bar a:hover{
    background-color: #000;
}

.facebook{
    background: #3B5990;
}

.instagram{
    background: rgb(233, 120, 44);
}

.whatsapp{
    background: green

}
/*clase para burbuja de whatsapp*/

.whatsapp2{
    position: fixed;
    top: 90%;
    transform: translate(20%);
}

.whatsapp2 a{
    display: block;
    text-align: center;
    padding: 16px;
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
    border-radius: 50%;
} 
.whatsapp2{
    background: green;
    border-radius: 50%;
}

/*estilos del contactanos*/
.contacto-section{
    padding: 50px 20px;
    background-color: #f8f9fa;
    text-align: center;
}
.contacto-section h2{
    color: #003366;
    font-size: 32px;
    margin-bottom: 30px;
    border-bottom: 2px solid#003366;
    display: inline-block;
    padding-bottom: 10px;
}
.formulario-contacto{
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}
.formulario-contacto label{
    display: block;
    margin-top: 15px;
    color: #003366;
    font-weight: bold;
}

.formulario-contacto input,
.formulario-contacto textarea{
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 2px solid#cc0000;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus{
    border-radius: #003366;
    outline: none;

}

.formulario-contacto button{
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #cc0000;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.formulario-contacto button:hover{
    background-color: #990000;
}
.button2{
    margin: auto;
    width: 200px;
    margin: 0 auto;
    display: block;
}

@media screen and(max-width:768px){
    /*LOGO*/
    .div01{
        text-align: center;
        padding: 10px;
    }
    .logo{
        width: 80%;
        height: auto;
    }
    /*MENU*/
    .div02 ul{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .div02 ul li{
        margin: 10px 0;
    }
    .div02 ul li a{
        font-size: 1.1rem;
        text-decoration: none;
    }
    /*IMAGEN COMPLETA*/
    .imagen-completa img{
        width: 100%;
        height: auto;
        display: block;
    }
    /*REDES SOCIALES*/
    .icon-bar{
        position: fixed;
        bottom: 10px;
        right: 10px;
        flex-direction: column;
        gap: 5px;
        z-index: 1000;
    }
    .icon-bar a{
        font-size: 20px;
        padding: 8px;
    }
    /*Whatsapp flotante*/
    .whatsapp01{
        position: fixed;
        bottom: 70px;
        right: 10px;
        z-index: 999;
    }
    .whatsapp2 a{
        font-size: 24px;
        border-radius: 50%;
    }
    
    /*QUIENES SOMOS?*/
    .acerca-contenido{
        flex-direction: column;
        text-align: center;
    }
    .acerca-imagen img{
        width: 60%;
        margin: 20px auto;
    }
    .acerca-texto p{
        padding: 0 15px;
    }
    /*GALERIA*/
    .contenedor-galeria{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
        padding: 10px;
    }
    .imagen img{
        width: 100%;
        height: auto;
        display: block;
    }
    /*UBICACION*/
    #ubicacion iframe{
        height: 300px;
        border-radius: 8px;
    }
    /*FORMULARIO DE CONTACTO*/
    .formulario-contacto{
        width: 90%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .formulario-contacto input,
    .formulario-contacto textarea{
        width: 100%;
        padding: 10px;
        font-size: 1rem;
    }
    #divcentrar{
        display: flex;
        justify-content: center;
    }
    .formulario-contacto button{
        width: 60%;
        padding: 10px;
        font-size: 1rem;
        background-color: #1e90ff;
        color: white;
        border: none;
        border-radius: 5px;
    }

}

#myBtn{
    display: none; /*Hidden by default*/
    position: fixed; /*Fixed/sticky position*/
    bottom: 20px; /*Place the button at the bottom of the page*/
    right: 30px; /*Place the  button 30px from the right*/
    z-index: 99; /*Make sure it does not overlap*/
    border: none; /*Remove borders*/
    outline: none; /*Remove outline*/
    background-color: red; /*Set a background color*/
    color: white; /*Text color*/
    cursor: pointer; /*Add a mouse pointer on hover*/
    padding: 15px; /*Some padding*/
    border-radius: 10px; /*Rounded corners*/
    font-size: 18px; /*Increase font zise*/
}

/*Loader styles*/
#loader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-border{
    width: 3rem;
    height: 3rem;
}

/*Ocultar el contenido principal mientras carga*/
#main-content{
    display: none;
}

/*esta es una ventana emergente*/
.modal-content{
    background-color: #1e1e1e;
    color: #fff;
    border-radius: 10px;
}

.btn-primary{
    background-color: #007bff;
}

