/*Estilos principales del sitio web*/
html{
    scroll-behavior: smooth;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}
/*Este estilo es solo para el logo y el div del logo*/
.div01{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    
}

.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);
}

.acerca-imagen{
    display: flex;
    justify-content: center;
    height: 300px;
}
.imagen-quienessomos{
    width: 180px;
    height: 180px;
    border-radius: 60%;
    object-fit: cover;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

/*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*/
#galeria{
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

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

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

.imagen img{
    width: 100%;
    height: 250px;
    border-radius: 10px;
    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;
    overflow: hidden;
}

.imagen-completa img{
    width: 100%;
    height: 100%;
    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-color: #3b5990;
}

.instagram{
    background-color: rgba(255, 72, 0, 0.726);
}

.whatsapp{
    background-color: green;
}

/*Clase para burbuja de whatsapp flotante*/
.whatsapp01{
    position: fixed;
    top: 90%;
    transform: translate(20%);
}

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

/*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;
    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: #cc0000;
}
.button2{
    margin: auto;
    width: 200px;
    margin: 0 auto;
    display: block;
}

/*Seccion para hacer responsiva la pagina web*/
@media  screen and (max-width:768px) {
    /*Logo*/
    .div01{
        text-align: center;
        padding: 10px;
    }

    .Logo{
        width: 40%;
        height: auto;
    }

    /*Menu*/
    .div02{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .div02 ul li{
        margin: 10px 0;
    }

    .div 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;
        left: 10px;
        flex-direction: column;
        gap: 5px;
        z-index: 1000;
    }

    .icon-bar a{
        font-size: 20px;
        padding: 8px;
    }

    /*WhatsApp Flotante*/
    .whatsapp01{
        position: fixed;
        bottom: 70px;
        left: 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, 1fr);
        gap: 10px;
        padding: 10px;
    }

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

    /*Ubicacion*/
    #ubicacion iframe{
        height: 300px;
        border-radius: 8px;
    }

    /*Formulario*/
    .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/stick 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; /*And a mouse pointer on hover*/
    padding: 15px; /*Some padding*/
    border-radius: 10px; /*Rounded corners*/
    font-size: 18px; /*Increase font size*/
}

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

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