
.navegacion{
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
    gap: 20px;
    padding: 0 20px;
    min-height: 10vh;
    position: relative;
}
.barra{
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 2rem;
    
}
.barra a{
    color: black;
    font-weight: bold;
    text-decoration: none;
    transition: all .3s ease-in-out;
}
.barra a:hover{
    color: #E6AF2E;
}
.barra a.activo{
    color: #E6AF2E;
    border-bottom: 3px solid black;
    padding-bottom: 5px;
}

.menu-toggle{
    display: none;
}
.anvorgesa{
    display: none;
    color: #333;
    font-size: 2rem;
    cursor: pointer;
}
.barra{
    list-style: none;
    margin: 0;
    padding: 0;
}
.barra li{
    margin-left: 1.5rem;
}
.barra a{
    text-decoration: none;
    padding: 0.5rem;
}

@media(max-width: 900px){
    .navegacion{
        position: relative;
        border-bottom: 1px solid #000;
    }
    .anvorgesa{
        display: block;    
        }
    .barra{
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        padding: 1rem 0;
        border-top: 1px solid #000;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1); 
        z-index: 9999;
        border-bottom: none;
    }
    .barra li{
        text-decoration: none;
        width: 100%;
        text-align: left;
        margin: 0;
    }
    .barra a{
        display: block;
        padding: 1rem;
        
    }
    .barra a.activo{
        border-bottom: none;
        background-color: #ffffff;
        color: #E6AF2E;
    }
    .barra a:hover{
        background-color: #f9f9f9;
    }
    .menu-toggle:checked ~ .barra{
        display: flex;
    }
}
header{
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
body{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: -0.5px;
    text-shadow: 0px 2px 5px rgba(0, 0, 0 0.9);
    line-height: 1.3;

}
.logo{
    margin: 0rem 3rem;
    align-items: center;
    display: flex;
    justify-content: space-between;
}
.logo img{
    width: 70px;
    max-height: 65px;
    align-self: center;
}
.logo a{
    align-items: center;
    justify-content: center;
    margin: 3rem 1rem 1rem;
    color: black;
    text-decoration: none;
}   



.hero-section{

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    height: 100vh;
    color: white;
    background-image: url(img/HERO.jpg);
    background-size: cover;
    background-position: center center;
    min-height: 100vh;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    transition: filter .5s ease-in-out;
    
}
/*El mentado responsive*/
@media(max-width: 765px){
    .hero-section{
        background-image: url(img/HEROdos.jpg);
        background-position: center top;
    }
}
.hero-section:hover{
    filter: grayscale(0%);
}
.hero-section h2{
    text-align: center;
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.2;
    width: 100%;
    text-shadow: 2px 2px 4px black, 0 0 10px black;
    text-transform: uppercase;
    margin: 10px;
}
.hero-section h3{
    text-align: center;
    font-size: clamp(1rem, 3vw, 1.8rem);
    text-shadow: 2px 2px 4px black, 0 0 10px black;
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.hero-section a{
    color: white;
    text-decoration: none;
    border: 2px solid white;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.hero-section a:hover{
    transform: translateY(-5px);
}

.intro-section{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;

    background-color: white;
    flex-wrap: wrap;
    padding: 3rem 5%;
    gap: 4rem;
}
.intro-section img{
    width: 100%;
    max-width: 30rem;
    border-radius: 20px;
    height: auto;
    margin: auto;
}
.intro-section h3{
    color: black;
    font-size: 2rem;
    margin-bottom: 1rem;
}
#intro-texto,
.intro-section img{
    /*Crece 1, encogete 1 pero mide 400 de base, para que se ponga a lado en pantalla grande y abajo enchica*/
    flex: 1 1 400px;
}
.intro-section a{
    /*Hay que poner esto para usar el margin en los <a> xd*/
    display: inline-block;
    color: #E6AF2E;
    text-decoration: none;
    border: 2px solid #E6AF2E;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin: .5rem 0rem;
}
.intro-section a:hover{
    background-color: #E6AF2E;
    color: white;
}
#academias {
    background-color: #1a1a1a;
    padding: 3rem;
    display: block; 
    text-align: center; 
}
#academias h2{
    color: white;
    margin-bottom: 40px;
    font-size: 3rem;
}
#academia-section{
    margin: 0px;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
    padding: 3rem 10px;
    gap: 20px
    
}
#academia-section h2{
    display: flex;
    justify-content: center;
    align-self: flex-start;
    font-size: 3rem;
    margin-top: auto;
    color: white;
}

.cartas{
    background-color: white;
    padding: 2rem ;
    gap: 8px;
    border-radius: 10px;
    color: black;
    width: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    
}
.cartas a{
    display: inline-block;
    padding: 5px 5px;
    border-radius: 4px;
    border: 3px solid black;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.3s ease;
}
.cartas a:hover{
    color: white;
    background-color: #1a1a1a;
}
.cartas h5{
    margin: 0;
    font-size: 1.2rem;
    text-align: center;
}
.cartas p{
    align-self: flex-start;
    color: #666; 
    font-size: 0.9rem;
    margin: 0;
    max-width: 80%;
}
.cartas img{
    width: 75px;
    object-fit: contain;
}
.camino-section{
    height: 100%;
}
.camino-section h2{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-size: 3rem;
}
.cintas{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px;
    padding-top: 0%;
    max-width: 1200px;
    margin: 0 auto;
}
.cinta-card{
    background-color: whitesmoke;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;

}
.color-box{
    width: 50px;
    height: 35px;
    border-radius: 4px;
    flex-shrink: 0;
}
#blanca{
    background-color: #ffffff;
}
#naranja{
    background-color: #FF8C00;
}
#morada{
    background-color: #8A2BE2;
}
#azul{
    background-color: #0044cc;
}
#verde{
    background-color: #008000;
}
#cafe{
    background-color: #8B4513;
}
#rojo{
    background-color: #e00b0b;
}
#negra   { background-color: #000000; border: 1px solid #000; }

/*Por si se te olvida, este era de la ventana emergente, son los estilos*/
[popover] {
    padding: 20px;
    border-radius: 10px;
    border: 2px solid black;
    background: white;
    margin: auto; 
    flex-direction: column;
    align-items: center;
    text-align: center;
}
[popover] img{
    display: block;
    margin: 0 auto;
}
/*fondito*/
[popover]::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}
.btn-animado{
    border-radius: 7px;
    padding: 6px;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s;
}
.btn-animado::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: black;
    z-index: -1;
    transition: width 0.4s ease;
}

.btn-animado:hover::before{
    width: 100%;
}
.btn-animado:hover{
    color: white;
    border-color: #000;
}
.btn-blanco::before{
    background-color: #ffffff;  
}
.btn-blanco:hover{
    color: black;
}
.btn-naranja::before{
    background-color: #FF8C00;  
}
.btn-morado::before{
    background-color: #8A2BE2;  
}
.btn-azul::before{
    background-color: #0044cc;  
}
.btn-verde::before{
    background-color: #008000;  
}
.btn-cafe::before{
    background-color: #8B4513;  
}
.btn-negro::before{
    background-color: #1a1a1a;  
}
.btn-rojo:before{
    background-color: #e00b0b;
}
.btn-rosa:before{
    background-color: #E00B8E;
}
.btn-guinda:before{
    background-color: #8F0404;
}
.btn-azulrempalago:before{
    background-color: #0065FF;

}
.tecnicas-section{
    padding: 5em 0;
    background-color: white;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.tecnicas-header{
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 40px;
}
.tecnicas-header h2{
    font-size: 3rem;
    font-weight: normal;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.tecnicas-header p{
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}
.fila-tecnica{
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    overflow: hidden;

}
.imagen-mitad{
    flex: 1;
    width: 50%;
    height: 100%;
    margin: 0;
    padding: 0;

}
.texto-mitad{
    flex: 1;
    width: 50%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 3rem;
    box-sizing: border-box;
    background-color: white;

}
.imagen-mitad img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    
}
.fila-tecnica.invertido{
    flex-direction: row-reverse;
    
}
.lista-beneficios{
    list-style-type: none;
    padding: 0;
}
.lista-beneficios li{
    margin-bottom: 0.8rem;
    color: #555;
    position: relative;
    padding-left: 20px;
}
.lista-beneficios li::before{
    content: "•";
    color: #D32F2F;
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}
@media(max-width: 900px){
    .fila-tecnica, .fila-tecnica.invertido{
        flex-direction: column;
        height: auto !important;
    }
    .imagen-mitad{
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        padding: 2rem 0;
        background-color: white;
    }
    .imagen-mitad img{
        width: auto;
        height: auto;
        object-fit: unset;
        max-height: 350px;
        max-width: 90%;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-radius: 4px;
    }
    .texto-mitad{
        width: 100%;
        height: auto;
        padding: 0rem 10px;
    }
    .descripcion, .lista-beneficios, .titulo-con-icono, .subtitulo-rojo{
        text-align: left;
    }
    .tecnicas-header{
        padding: 0 20px;
        
    }
    .tecnicas-header h2{
        font-size: 2rem;
    }
}
.titulo-con-icono{
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}
.titulo-con-icono h3{
    font-size: 2rem;
    font-weight: normal;
    margin: 0;
}
*{
    font-weight: normal;
}
.descripcion{
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
}
.subtitulo-rojo{
    color: #D32F2F;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.footer-section{
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 4rem 0 0 0;
    font-size: 0.95rem;
}
.footer-contenedor{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.footer-contenido{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #333;
}
.footer-columna{
    flex: 1;
    min-width: 250px;
}
.footer-columna h3{
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}
.footer-columna h4{
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
}
.footer-columna ul{
    list-style: none;
    padding: 0;
}
.footer-columna ul li{
    margin-bottom: 0.8;
}
.footer-columna a{
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    
}
.footer-columna a:hover{
    color: #E6AF2E;
    padding-left: 5px;
}
address.footer-columna a{
    color: inherit;
    text-decoration: none;
}
address.footer-columna a:hover{
    color: #D32F2F;
}
.footer-bottom small{
    font-size: .85rem;
    display: flex;
    padding-bottom: 1rem;
    align-items: center;
    justify-content: center;
}

@media(max-width:900px){
    /*Footer feo, que no se te olvide cambiarlo manana perro xd*/
    .footer-section{
        padding: 2rem 0 1rem 0;
        gap: 1rem;
    }
    .footer-content{
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-columna{
        text-align: center;
    }
    .footer-columna h4::after{
        left: 50%;
        transform: translateX(-50%);
    }
    .redes{
        justify-content: center;
    }
}
