@import url(variables.css);

/*

    BODY, HEADER, MAIN
    
    Se da las propiedades a los elementos más generales de la página.
    Se utiliza grid para dividir los espacios que el header y el main consumiran.
    Se le da configuraciones generales al body.
  
*/

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;

}

.elemento {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-in-out;
}

.elemento.visible {
    opacity: 1;
    transform: translateY(0);
}

body {
    overflow-x: hidden;
    overflow-y: scroll;
    max-width: 100vw;
    background-color: #f4f4f9;
    line-height: 1.6;
    display: grid;
    grid-template-rows: auto 2fr auto;
    grid-template-columns: 1fr;
    grid-template-areas: 
    "header"
    "main"
    "footer"
    ;
    height: auto;      
    user-select: none; 
}

header {
    grid-area: header;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 100vw;
}

main {
    grid-area: main;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 1fr auto auto;
    grid-template-columns: 1fr;
    grid-template-areas: 
    "section_1"
    "section_2"
    "contacto"
    ;

}










/*

    ELEMENTOS DEL HEADER

*/

.header_logo {
    margin-left: 4%;
    height: 12vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    z-index: 1;
}

.header_logo img {
    width: 120px;
    height: 100px;
    object-fit: contain;
}

.header_nav {
    width: 60%;
}

.header_nav ul {
    display: flex;
    width: 100%;
    justify-content: end;
    justify-content: space-evenly;
    padding-right: 4%;
    list-style: none;
}

.menu-toggle {
    display: none;
}

.header_nav ul li a {
    text-decoration: none;
    color: var(--color-black);
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.header_nav ul li a:hover {
    color: var(--color-pinker);
}

.header_nav ul .focus {
    border-radius: 8px;
    border: 2px solid var(--color-pinker);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}


.header_nav ul li {
    width: 100px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1600px) {
    .header_nav {
        width: 65%;
    }
}

@media screen and (max-width: 1024px) {

    .header_logo img {
        width: 80px;
        height: 60px;
        object-fit: contain;
        object-position: bottom;
    }

    .header_nav {
        width: 100%;
    }

    header {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header_nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 8vh;
        right: 0;
        width: 100%;
        background-color: #fff;
        padding-right: 0;
        padding-left: 0;
    }

    .header_nav ul .focus {
        width: 30%;
        color: var(--color-pinker);
    }

    .header_nav ul li {
        width: 100%;
        text-align: center;
    }

    .header_nav ul.show {
        display: flex;
        gap: 30px;
        padding-bottom: 20px;
        padding-top: 20px;

    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        right: 5%;
        top: 3vh;
    }

    .menu-toggle span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: var(--color-black);
        margin: 6px 0;
        transition: 0.3s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}










/*

    ELEMENTOS DEL SECTION #1, LLAMADO A LA ACCIÓN.

*/

.btnWS {
    width: 60%;
}

.txtWS {
    text-align: center;
    position: relative;
    justify-content: center;
}

.imgX {
    width: 35%;
}

.section_call {

    grid-area: section_1;

    width: 100%;
    height: 62vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: black;  
    z-index: 0;
}

.section_call::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(../storage/img/inscripcion.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: #C4C8C9;
    z-index: -10;
}

.section_call::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    /* background-color: #00000085; */
    z-index: -9;
}


.section_call div{

    display: flex;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;

}

.section_call .coffe {

    font-size: 64px;
    text-align: center;
    width: 100%;
    font-weight: 600;

}

.section_call h2 {
    
    margin-bottom: 20px;

    width: 50%;
    color: white;
    text-align: center;
    font-size: 30px;
    font-weight: 600;

}

.cta-button {

    width: 64px;
    height: auto;
    display: flex;

    padding: 0;

    text-decoration: none;
    font-size: 64px;
    color: #29cf00;
    
    transition: 0.3s;
}

.cta-button:hover {

    text-shadow: 0px 0px 3px #3cff00;

    transition: 0.3s;
}

@media (max-width: 1024px) {

    .section_call h2 {
        font-size: 20px;

    }
    
    .section_call .coffe {
        font-size: 32px;
    }
}











/* 

    SECTION #2, FILOSOFIA DE 2.22

*/

.section_filosofia {

    grid-area: section_2;

    width: 100%;
    height: auto;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    padding: 4%;

    background-color: white;

    color: var(--color-black);
    text-align: left;

    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.1);

    position: relative;
    z-index: 1;
}

.filosofia_imagen {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.filosofia_imagen img {
    width: 100%;
    height: 110%;
    object-fit: contain;
}

.filosofia_texto {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    height: 100%;
}

.filosofia_texto {

    font-size: 1.6em;
    color: #1f1f1f;
    gap: 4%;
    font-weight: 450;
    padding-inline: 8%;
    
}

.filosofia_texto a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 24px;
    font-size: 1.8em;
    height: auto;
    color: var(--color-pinker);
}

.filosofia_texto a:hover {

    border-bottom: solid 2px var(--color-dark-green);

}

.filosofia_strong {
    display: flex;
    gap: 12px;
}


.filosofia_strong span {
    display: inline-block; 
}


.emocional {

    animation: moveUpDown 2.8s ease-in-out infinite;
}


.fisica {

    animation: moveUpDown 2.6s ease-in-out infinite;
}


.espiritual {
    
    animation: moveUpDown 3s ease-in-out infinite;
}


@keyframes moveUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.section_filosofia  p {
    
    width: 60%;
    font-size: 1.7em;
    text-align: justify;

}

.filosofia_container {

    width: 100%;
    height: auto;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4%;
    padding: 4%;
    flex-wrap: wrap;
    
}

.filosofia_container div {

    width: 25%;
    min-width: 300px;
    height: auto;
    padding: 2%;
    background-color: #f0f0f0;
    box-shadow: 0px 0px 10px 0px rgb(109, 109, 109);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 10px;

}

.filosofia_container div img {
    object-fit: contain;
    width: 50%;
    height: 50%;
}

.section_filosofia a{
    text-decoration: none;
    width: auto;
}

.section_filosofia a p{
    font-size: 2em;
    font-weight: 500;
    color: var(--color-light-green);
    width: auto;
}

.section_filosofia a p:hover{
    
    color: var(--color-dark-green);
    border-bottom: 2px solid var(--color-dark-green);
    width: auto;
}


/*

    SECTION #3, CONTACTO

*/

.section_contacto {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row-reverse;
    padding: 5% 8%;
    gap: 6%;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease-in-out;
}

.formulario_contenedor {
    width: 100%;
    max-width: 600px;
    min-width: 500px;
    padding: 40px;
    border-radius: 15px;
    background-color: #ffffff;
    border: 2px solid rgb(255, 255, 255);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.185);
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.formulario_contenedor:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.315);
    transform: translateY(-5px); /* Animación de elevación al hacer hover */
}

.contacto_container {
    max-width: 700px;
    height: 100%;
    justify-content: center;
    text-align: left;
    color: #202124;
    display: flex;
    flex-direction: column;
    gap: 6%;
}


.contacto_container h2 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 600;
}

.contacto_container p {
    font-size: 1.8em;
    color: #525252;
    line-height: 1.5;
    text-align: justify;
}

form {
    display: flex;
    flex-direction: column;
}

.form_row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 20px;
}

.form_group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.description {
    width: 100%;
}

label {
    margin-bottom: 10px;
    font-size: 14px;
    color: #4e5155;
    font-weight: 500;
}

input[type="text"],
input[type="number"],
textarea {
    width: 100%;
    padding: 14px;
    border: none; 
    border-bottom: 2px solid black;
    border-radius: 0px;
    background-color: #fff;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: none; 
    border: 2px solid var(--color-light-green); 
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1); 
    border-radius: 8px;
}

textarea {
    margin-bottom: 20px;
    resize: none;
}

button[type="submit"] {
    padding: 12px 24px;
    border-radius: 8px;
    background-color: var(--color-black);
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

button[type="submit"]:hover {
    background-color: var(--color-light-green);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    text-shadow: 0px 0px 1px white;

}

/* Animación sutil al entrar en foco */
input[type="text"], 
input[type="number"], 
textarea, 
button[type="submit"] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:hover, 
input[type="number"]:hover, 
textarea:hover {
    transform: scale(1.02);
    border: 2px solid var(--color-light-green);
    border-radius: 8px;
}

button[type="submit"]:focus {
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.3);
}


/* Estilo responsive */
@media (max-width: 1024px) {


    .section_filosofia {
        
        height: auto;
        flex-direction: column;
        padding-bottom: 8%;
        padding-top: 8%;
        padding-inline: 4%;

    }

    .section_filosofia p {
        font-size: 1em;
        width: 70%;
    }

    .filosofia_container {
        gap: 8%;
    }

    .filosofia_container div {

        min-width: 130px;

    }

    .filosofia_imagen {

        width: 90%;
        margin-bottom: 8%;
    }

    .section_contacto {
        flex-direction: column;
        padding: 16% 5%;
        gap: 8%;
    }

    .formulario_contenedor {
        min-width: 600px;
    }

    .form_row {
        flex-direction: column;
    }

    .form_group {
        width: 100%;
        margin-bottom: 15px;
    }

    .contacto_container {
        text-align: center;
    }

    .contacto_container h2 {
        font-size: 2.2em;
    }

    .contacto_container p {
        font-size: 1.1em;
    }
}

@media (max-width: 350px) {
    
    .section_filosofia a p{
        position: relative;
        margin-top: 60px;
        font-size: 1.15em;
        font-weight: 500;
        color: var(--color-light-green);
        width: auto;
    }

    .filosofia_container {
        margin-bottom: 20px;
    }

    .section_call h2 {
        font-size: 16px;
    }

    .section_call .coffe {
        font-size: 24px;
        width: 90%;
    }


    .contacto_container h2 {

        font-size: 26px;
    }
    

}

@media (max-width: 830px) {

    .section_contacto {
        flex-direction: column;
        padding-inline: 0;
        gap: 8%;
        padding-bottom: 26%;
    }

    .section_filosofia p {
        font-size: 1.15em;
        width: auto;
    }

    .section_filosofia a p{
        position: relative;
        margin-top: 40px;
        font-size: 1.15em;
        font-weight: 500;
        color: var(--color-light-green);
        width: auto;
    }

    .section_call .coffe{
        font-size: 26px;
        width: 90%;
    }

    .formulario_contenedor {
        min-width: 0px;
        max-width: 90vw;
    }

    .form_row {
        flex-direction: column;
    }

    .form_group {
        width: 100%;
        margin-bottom: 15px;
    }

    .contacto_container {
        text-align: center;
    }

    .contacto_container h2 {
        font-size: 32px;
    }

    .contacto_container p {
        font-size: 1.1em;
    }

    .social-links a {
        margin-bottom: 16px;
    }

    .form_group {
        margin-bottom: 16px;
    }
    
    .legal {
        font-size: 10px;
    }

    .footer-links {
        margin-bottom: 20px;
    }

    
}












/*

    FOOTER

*/

.footer {

    height: 40vh auto;
    max-width: 100vw;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4%;

    padding: 4%;
    text-align: center;

    background-color: black;
    color: white; 
    list-style: none;

    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.1);
}

.footer_container {
    width: 100%;
    display: flex;

}

.footer-row {

    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding-inline: 4%;

    flex-wrap: wrap;
    

}

.footer-links {

    width: 25%;
    min-width: 235px;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    

}

.footer-links h4 {

    width: 60%;
    min-width: 182px;
    display: inline;
    font-size: 20px;
    text-align: left;
    color: white;
    margin-bottom: 25px;
    font-weight: 500;
    border-bottom: 2px solid var(--color-pinker);
    padding-bottom: 10px;

}

.footer-links ul li  {

    list-style: none;

}

.footer-links ul {
    width: 60%;
    min-width: 182px;
}


.footer-links ul li a {

    text-align: left;
    font-size: 18px;
    text-decoration: none;
    color: #bbbbbb;
    display: block;
    margin-bottom: 15px;
    transition: all .3 ease;

}

.footer-links ul li a:hover {
    color: white;
    padding-left: 6px;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;

}

.social-links a{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    min-height: 44px;
    width: 44px;
    border-radius: 50%;
    margin-inline: 10px;
    font-size: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all .5s ease;
    color: white;
}

.gmail:hover {
    color: rgb(175, 32, 32);
    font-size: 28px;
    background-color: white;
    box-shadow: 0px 0px 5px 0px white;

}

.instagram:hover {
    background: radial-gradient(circle at 33% 100%, #fed373 4%, #f15245 30%, #d92e7f 62%, #9b36b7 85%, #515ecf);
    font-size: 28px;
    box-shadow: 0px 0px 5px 0px #d92e7f;
}

.tiktok:hover{

    font-size: 28px;
    background-color: black;
    box-shadow: 0px 0px 5px 0px white;
    text-shadow: 1.2px 1.2px 0 #fe2d52, -1.2px -1.2px 0 #28ffff;
    
}

.linkedin:hover{

    font-size: 28px;
    background-color: white;
    box-shadow: 0px 0px 5px 0px white;
    color: #0a66c2;
    
}

.legal {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: rgba(255, 255, 255, 0.705);
}

