/*
Theme Name: Encanto Academy
Theme URI: http://horaciodominguez.com/
Description: Encanto Academy is a WordPress theme built for the Encanto Academy website. It is designed to be clean, responsive, and easy to customize.
Author: Horacio Dominguez
Author URI: http://horaciodominguez.com/
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {font: 13px Helmet, Freesans, sans-serif;}
body, select, input, textarea {color: #333;}
a {color: #03f;}
a:hover {color: #69f;}
::-moz-selection{color: #fff; text-shadow: none;}
::selection { color: #fff; text-shadow: none;}
ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}
input:-moz-placeholder { color:#a9a9a9; }
textarea:-moz-placeholder { color:#a9a9a9; }



html, body {
    height: 100%;
}

header {
    height: 100%;
}



header .hero {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}



header nav {
    display: flex;
    
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0 5%;
    background: #0a1f44;
}

header nav .logo-small {
    background: 
    url(images/logo_encanto_chico.png) center center / 80% no-repeat,
    linear-gradient(135deg, rgba(81, 121, 255, 1) 0%, rgba(186, 38, 255, 1) 100%);

    width: 120px;
    margin-bottom: 0;
}

header nav .logo-small:before {
    content: "";
    display: block;
    padding-top: 52.6187576126674%;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    gap: 30px;
}

header nav ul li {
    margin: 0;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;

    font-size: 1rem;
}

header nav .btn-start {
    
    background: linear-gradient(135deg, rgba(81, 121, 255, 1) 0%, rgba(186, 38, 255, 1) 100%);
    
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    font-weight: bold;

    

    border-radius: 1em;

    font-size: 1rem;
    padding: .4em 1.5em;
    margin: 0;
}






/* HERO SOLO EN HOME */


.hero nav .logo-small {
    display: block;
    width: 20%;
    margin-bottom: 10%;
}

.home .hero nav {

    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    width: 50%;
    background: url(images/navbg.jpg) center center / cover no-repeat;
    padding: 5%;
}

.home .hero nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home .hero nav ul li {
    margin: 20px 0 0;
}

.home .hero nav ul li a {
    font-size: 2rem;
}


.home .hero nav .btn-start {
    margin-top: auto;
    padding: .5em 2em;
    font-size: 1.6rem;
}

.hero .hero-content {
    background: linear-gradient(135deg, #0a1f44 0%, #1e0b3b 40%, #8a2be2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 50%;
}

.hero .hero-content .mainlogo {
    background: url(images/logo_encanto_blanco.png) center center / contain no-repeat;
    display: block;
    width: 80%;
}

.hero .hero-content .mainlogo:before {
    content: "";
    display: block;
    padding-top:31.746031746031%;
}

.hero .hero-content .slogan {
    color: #fff;
    font-size: 2rem;
    margin-top: 20px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-style: italic;
    width: 80%;
}




body:not(.home) .hero-content {
    display: none;
}



/* HAMBURGER */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

/* Animación a X */
body.menu-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

body.menu-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}







/* El Header que "viaja" con el scroll */
.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: #0a1f44;
    display: flex;
    align-items: center;
    transform: translateY(-100%); /* Escondido arriba */
    transition: transform 0.4s ease-in-out;
    z-index: 9999;
    overflow: hidden;
}

.sticky-header .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 5%;
}

/* Solo se muestra cuando agregamos esta clase con JS */
body.show-sticky .sticky-header {
    transform: translateY(0);
}

/* En páginas internas (no home), siempre se muestra */
body:not(.home) .sticky-header {
    transform: translateY(0);
}

/* El Hero original deja de ser position:fixed para no romper el snap */
.home .main-hero {
    position: relative; /* Cambiado de fixed a relative */
    height: 100vh;
    scroll-snap-align: start;
}









.sticky-header .logo-small {
    width: 80px;
    margin-bottom: 0;
}

.sticky-header ul li a {
    font-size: 1rem;
}

.sticky-header .btn-start {
    font-size: 1rem;
    padding: .4em 1.5em;
    margin: 0;
}





@media screen and (max-width: 768px) {
    header {
        height: auto;
    }

    header .hero {
        flex-direction: column;
        height: auto;
    }

    .home .hero nav {
        width: 100%;
        height: 100vh;
        padding: 20px;
    }

    .home .hero .hero-content {
        width: 100%;
        height: 100vh;
        padding: 20px;
    }

    .home .hero nav ul {
        flex-direction: column;
    }

    .home .hero nav ul li a {
        font-size: 1.5rem;
    }

    .home .hero nav .btn-start {
        font-size: 1.2rem;
        padding: .5em 2em;
        margin: auto auto 0;
    }

    body:not(.home) .sticky-header,
    body.show-sticky .sticky-header {
        height: auto;
        overflow: visible;
        padding: 1em 0;
    }


    .nav-toggle {
        display: flex;
    }

    .sticky-header ul,
    .sticky-header .btn-start {
        display: none;
    }

    body.menu-open .sticky-header ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #0a1f44;
        padding: 20px;
        gap: 20px;
    }

    body.menu-open .sticky-header .btn-start {
        display: none;
    }

}




section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2em 0;
}

.scontainer {
    width: 80%;
    max-width: 1200px;
    padding: 50px 0;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    margin: 0;
    padding: 0 0 2em;
}





section .two-columns {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center
}

section .two-columns .column {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

section .entry {
    width: 100%;
}


.fluentform h3 {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    
}

.ff-section_break_desk {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;
}

.fluentform .ff-el-input--label label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin-bottom: 1em;
}

.fluentform .ff-el-form-check-label span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}


body:not(.home) {
    padding-top: 70px; /* Altura del sticky header */
}


.tutor-wrap {
    padding: 1em 0;
}


.quienes-somos {
    font-family: 'Montserrat', sans-serif;
}

.quienes-somos .description p {
    font-size: 1.4rem;
    line-height: 2rem ;
    padding: 3em 0;
    text-align: left;
}