/*estilos prinsipales del sitio web*/
html{
    scroll-behavior: smooth;
}
body{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0px;
    padding: 0px;
}

/*este estilo solo es para el logotipo DIV DE LOGO*/
.div01{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}
.logo{
    width: 100px;
    height: 100px;
    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;
    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: hold;
    transition: 0.3s, trasform 0.3s;
}
.div02 a:hover{
    color: #ffdf00;
    transform: scale(1.1);
}
.motor{
    width: 190px;
    height: 200px;
    border-radius: 89%;
    object-fit: cover;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2); 
     justify-content: center;
}
/*Aqui inician 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*/
.servicios{
    padding: 40 20px;
    background-color: #f9f9f9;
    text-align: center;
}
.servicios h2{
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2a2a2a; 
    text-align: center;
}
.contenedor-galeria{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, ifr));
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-auto-rows: minmax(100px,1fr);
}
.imagen img{
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: trasform 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*/
.inicio{
    height: 100vh;
    overflow: hidden;
}
.inicio img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/*estos son los estilos de las redes sosiales*/
.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: orange;
}
.whatsapp{
    background: green;
}
.whatsapp-icon {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%; /* Circulo */
  background-color: #25D366; /* Color verde de WhatsApp */
  color: white; /* Color del icono */
  text-align: center;
  line-height: 50px; /* Alinea verticalmente el texto */
  font-size: 30px;
  cursor: pointer; /* Cambia el cursor a mano al pasar */
}

.whatsapp-icon {
  text-decoration: none; /* Quita la línea subrayada de los enlaces */
  color: white;
}


.imagen{
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}
.imagen {
     font-size: 2rem;
    margin-bottom: 20px;
    color: #2a2a2a; 
}

.quienes{
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

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

.inicio{
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

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

.contacto{
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.contacto{
     font-size: 2rem;
    margin-bottom: 20px;
    color: #2a2a2a; 
}
/*estilos de 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;
    margin-bottom: 10px;
}
.formulario-contacto{
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}.formulario-contacto table{
    display: block;
    margin-top: 15px;
    color: #003366;
    font-weight: bold;
}
.formulario-contacto input,
.formulario-contacto textarea{
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 10px #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: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    display: block;
    margin: 0 auto;
    
}
.formulario-contacto button:hover{
    background-color: #CC0000;
}

@media screen and(max-width: 768){
    

    /*logo*/ 

.div01{
    text-align: center;
    padding: 10px;
}
.logo{
    width: 80px;
    height: auto;
}
 
/*menu*/
.div02 ul{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}
.div02 ul li{
    margin: 10px 0;
}
.div02 ul il a{
    font-size: 1.1rem;
    text-decoration: none;
}
/*imagen completa*/
.imagen-completa img{
     width: 100%;
     height: auto;
     display: block;
}
/*redes sosiales*/
.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;
}
.whatsapp01 a {
    font-size: 24px;
}

/*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.16);
    gap: 10px;
    padding: 10px;
}

.imagen img{
    width: 100%;
    height: auto;
    display: block;
}

/*ubicacion*/
#ubicacion iframe{
    height: 100px;
    border-radius: 8px;
}
/*formulario de contacto*/
.formulario-contacto{
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
formulario-contactoimput,
.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: #1ea0ff;
    color: white;
    border: none;
    border-radius: 5px;
}}


#myBtn{
display: none;
position: fixed;
bottom: 20px;
right: 30px;
z-index: 99;
border: none;
outline: none;
background-color: red;
color: white;
cursor: pointer;
padding: 15px;
border-radius: 10px;
font-size: 18px;
}


/*loader styles*/
#loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white; /* Fondo semi-transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Asegura que el loader esté por encima del contenido */
}

.loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*una ventana emergente*/
.modal content{
    background-color: #1e1e1e;
    color: #111;
    border-radius: 10px;
}
.bin-primary{
    background-color: #0072ff;
}

/* Estilos personalizados para la pantalla emergente */
.modal-content {
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.modal-header {
  background-color: #337ab7;
  color: #fff;
}

.modal-title {
  font-size: 18px;
  font-weight: bold;
}
