* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    list-style: none;
}

.container{
    max-width: 1400px;
    width: 90%;
    margin: auto;
    padding: 0 5px;
}

body{
    background-color: #EAE4D8;
}
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

h1{ font-size: 1.6rem;}
h2{ font-size: 1.4rem;}
h3{ font-size: 1.1rem;}
h4{ font-size: 1.0rem}
p{ font-size: 0.85rem;}

header{
    background-color: #403534;
}

.contacto i:hover, .content #page_item:hover{
    transform: scale(1.2);
}

header .container{
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header nav{
    display:flex;
    flex-direction: column;
    text-align: center;
}

header a{
    padding: 5px 12px;
}

.header .logo img{
    height: 90px;
    width:auto;
    transition: all 0.3s;
}

.header .logo img:hover, .contacto i:hover, .content #page_item:hover{
    transform: scale(1.2);
}

.content{
    font-size: 0.7rem;
}

.content #page_item {
    transition: transform 0.3s;
}

#page_item, .imgFooter > p{
    color: rgb(203 187 166);
    text-decoration: none;
    display: block;
}

#page_item:hover{
    color:white;
}

.menu-cuenta {
    position: relative;
}

.menu-cuenta .arrow {
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.3s;
    padding: 3px;
}

.menu-cuenta:hover .arrow,
.menu-cuenta:focus-within .arrow {
    transform: rotate(-180deg);
}

.content ul, .content{
    list-style-type: none;
    padding: 0;
    display: flex;  
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.contacto i {
    font-size: 2.25rem;
    color: #ffffff;
    transition: transform 0.3s;
}

#submenu {
    display: none;
    position: absolute;
    background-color: #403534;
    padding: 5px 0;
    list-style: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    flex-direction: column;
}

#submenu li {
    text-align: center;
}

#submenu li a {
    color: rgb(203, 187, 166);
    text-decoration: none;
    font-size: 14px;
    display: block;
}

#submenu li a:hover {
    background-color: rgb(203, 187, 166);
    color: #403534;
    border-radius: 5px;
}

li:hover > #submenu {
    display: flex;
}

li {
    position: relative;
}

#hero { 
    position: relative;
    width: 100%;
    height: 56.25vw;
    max-height: 100vh;
    overflow: hidden;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.3)
    );
}

.slider--inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
    z-index: -1;
}

.slider--inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #c9a27e;
    height: 75px;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    display: none;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

/* Botón hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2em;
    color: #c9a27e;
    cursor: pointer;
    margin-left: 10px;
    z-index: 2000;
    transition: color 0.3s;
}

.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Inicio */
#hero{
    color: #c9a27e;
    display:flex;
    align-items:center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 90vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
#hero > h1{
    margin-top: 5px;
}
#botonAction {
    color: #ffffff;
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 70px;
    padding: 3px 5px;
    border-radius: 10px;
    background: linear-gradient(90deg, #403534 0%, #403534 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    transition: background-size 0.4s cubic-bezier(0.4,0,0.2,1), color 0.3s, transform 0.3s;
    position: relative;
    z-index: 1;
}
#botonAction:hover {
    background-size: 100% 100%;
    color: #e0b58c;
    transform: scale(1.2);
}
#somos-root .container{
    text-align: center;
    padding: 200px 12px;
}
#nuestros-cursos{
    background-color: rgb(30, 30, 30);
    color: white;
}
#nuestros-cursos .container{
    padding: 100px 12px;
    text-align: center;
}
#nuestros-cursos h2{
    margin-top:0px;
}
#nuestros-cursos p{
    display:none;
}


.carta{
    display: flex;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 50px;
    margin: 20px;
    border-radius: 20px;
    height: 55vh;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
}
#botonCursos > #botonAction{
    width:50%;
}
.carta:first-child{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,  url("imagenes/index-img/pro.JPG");
}
.carta:nth-child(2){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,  url("imagenes/index-img/Campaña.JPG");
}
.carta:nth-child(3){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,  url("imagenes/index-img/artistico.jpg");
}
#caracteristicas .container{
    text-align: center;
    padding: 200px 0px;
}
#caracteristicas li{
    margin: 15px 0px;
    font-weight: bold;
    font-size: 0.9em;
}

.requerido{
    color:rgb(154, 118, 98);
}

.contacto-header-franja {
    background-color: #403534;
    color: #EAE4D8;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 30px;
}

.contacto-header-franja h1 {
    color: #EAE4D8;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.contacto-header-franja p {
    font-size: 0.85rem;
    max-width: 800px;
    margin: 0 auto;
}

.contacto-header-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; 
    gap: 40px;
    padding: 0 0 40px 0;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.columna-info-contacto {
    padding-right: 20px;
}
.columna-info-contacto p {
    font-size: 0.8rem; 
    color: #403534; 
    line-height: 1.5; 
    margin-top: 15px; 
}
.columna-info-contacto h1 {
    color: #403534;
    margin-bottom: 10px;
    margin-top: 25px;
    font-size: 1.5rem;
    font-family: Montserrat, sans-serif;
}

.columnaRedes {
    text-align: center;
    padding: 20px 0;
}

.columnaRedes h2 {
    color: #403534;
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 15px;
}

.links-redes a {
    color: #403534;
    display: block;
    padding: 4px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.3s;
    margin: 0
}

.links-redes a:hover {
    color: #c9a27e;
}

.contenedorFormularioPrincipal {
    display: flex;
    justify-content: center;
    padding-bottom: 60px;
}

.columnaFormulario {
    width: 100%;
    max-width: 700px;
    padding: 20px;
    background-color: #dfd5c1;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.columnaFormulario h2 {
    color: #403534;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.columnaDobleContacto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    margin-bottom: 5px; 
    color:#666
}

.titulo { 
    grid-column: span 2;
    text-align: left;
    font-size: 0.7rem;
    font-weight: bold;
    color: #403534;
    margin-bottom: 5px;
}
.form-group-full {
    width: 100%;
    margin-bottom: 25px;
    text-align: left;
    margin-top: 0; 
}

.campo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}
.campo label.descripcionContacto {
    font-weight: normal;
    font-size: 0.75rem;
    color: #666;
    margin-top: 5px; 
}

.form-group-full label {
    color: #403534;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.7rem;
}

.inputContacto{
    width: 100%;
    padding: 10px;
    border: 1px solid #c9a27e;
    border-radius: 6px;
    background-color: #ffffff;
    box-sizing: border-box;
    font-size: 0.9rem;
    color: #403534;
    margin-bottom: 0; 
    margin-top: 5px; 
}

.enviarFormulario{
    width: 150px;
    padding: 10px;
    margin-top: 20px;
    color: #403534;
    background-color: #dfc4ab;
    border-radius: 6px;
    border: 1px solid #c9a27e;

}

#cuerpo-cursos{
    text-align: center;
    color: #504039;
    padding-top: 40px; 
    padding-bottom: 40px; 
    margin: 0; 
}

.titulo-cursos {
    padding-bottom: 20px; 
}

.titulo-cursos h2 {
    font-size: 1.5rem; 
    color: #403534;
    margin-bottom: 4px; 
}

.titulo-cursos p {
    font-size: 0.8rem; 
    color: #666; 
    margin-bottom: 0;
}


#cursos-disponibles{
    padding: 15px 5px 15px 5px; 
    font-size: 1.7rem; 
}


.pago {
    margin-bottom: 20px; 
    font-size: 0.7rem; 
    color: #504039;
    display: flex; 
    justify-content: center;
    align-items: center;
}

.pago select {
    padding: 6px 8px; 
    background-color: #f9f5f2;
    border-radius: 4px; 
    border: none; 
    opacity: 0.9; 
    font-size: 0.7rem; 
    color: #403534;
    cursor: pointer;
    transition: all 0.2s;
}

.pago select:hover {
    border-color: #eadacb;
    opacity: 1; 
}

.pago label {
    margin-right: 6px; 
    font-weight: normal; 
}

.hero-banner-cursos {
    width: 100%; 
    max-height: 300px; 
    object-fit: cover; 
    display: block;
    margin: 15px auto 30px auto; 
    border-radius: 6px; 
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* Contenedor de la Grilla */
.cursos-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
    padding: 10px;
    max-width: 1100px; 
    margin: 0 auto; 
}

.curso {
    background: #fff;
    border-radius: 10px; 
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08); 
    padding: 0; 
    margin: 0; 
    
    height: 480px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;

    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.curso:hover {
    transform: translateY(-5px); 
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15); 
}

.curso-media {
    position: relative; 
    width: 100%;
    height: 65%;
    overflow: hidden;
}

.curso img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    display: block;
    box-shadow: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin: 0;
    padding: 0;
    transition: transform 0.5s ease-in-out;
}

.curso-info-visible {
    width: 100%;
    height: 30%; 
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    text-align: center;
}

.curso-info-visible h4 {
    margin-bottom: 5px; 
    font-size: 1.0rem; 
}

.curso-overlay-detalle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-color: rgba(64, 53, 52, 0.9);
    opacity: 0; 

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;

    color: #eadfd8;
    transition: opacity 0.4s ease-in-out;
    z-index: 10;
}

.curso-overlay-detalle p {
    color: #EAE4D8;
    margin: 5px 0;
    font-size: 0.75rem; 
    line-height: 1.4;
}
.curso-overlay-detalle span {
    color: #EAE4D8;
    display: block;
}
.curso-overlay-detalle #descuento {
    color: #c9a27e;
    text-decoration: line-through; 
    font-size: 0.7rem; 
    font-weight: normal;
}

.curso-overlay-detalle b {
    font-size: 1.2rem;
    color: #dfc4ab;
    display: block;
    margin-top: 5px;
}


.curso-media:hover .curso-overlay-detalle {
    opacity: 1; 
}

.curso-media:hover img {
    transform: scale(1.05); 
}

.curso .precios-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.curso .boton {
    margin-top: 5px; 
    padding:8px 30px;
    margin-bottom: 10px;
    background-color: #dfc4ab; 
    color: #403534; 
    font-weight: bold;
    border: none;
    border-radius: 5px; 
    font-size: 0.7rem;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0; 
}

.curso .boton:hover {
    background-color: #c9a27e; 
    color: #ffffff;
    transform: translateY(-2px); 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); 
}


.proximos-cursos{
    padding: 20px 5px 10px 5px; 
}

.proximos-cursos h2 {
    font-size: 0.75rem; 
    color: #403534;
}


.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.servicio-card {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    height: 100%;
}

.servicio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
    opacity: 1;
}

.servicio-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.servicio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%; 
    
    background-color: rgba(64, 53, 52, 0.8); 
    
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.4s ease-in-out;
}

.servicio-overlay h4 {
    margin: 0;
    color: #EAE4D8;
    font-size: 1.0em;
}


.servicio-card:hover .servicio-overlay {
    background-color: rgba(64, 53, 52, 0.1); 
}

.servicio-card:hover img {
    transform: scale(1.05); 
}

/* Sobre Mi */

.img-container-biografia{
    border-radius: 100px;
    height: 150px;
}

#sobre-mi{
    text-align: center;
    padding: 60px 0; 
    color:#504039;
}

#biografia-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}
.columna-texto-biografia {
    padding-right: 15px;
}

.titulo-intro h2, .titulo-intro h3, .titulo-intro i {
    text-align: left; 
    margin-bottom: 20px;
}
.titulo-intro h2 {
    font-size: 2.0rem; 
    margin-bottom: 20px;
}

.texto-biografia p {
    margin-bottom: 20px; 
    line-height: 1.6;
}


/* Columna de Imagen */
.columna-imagen-personal {
    text-align: center; 
}

#imagen-personal{
    width: 100%; 
    height: auto; 
    object-fit: cover;
    max-width: 400px; 
    border-radius: 5px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#imagen-personal{
    width: 300px;
}

/* Cuenta */

#formulario-cuenta{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.columnaWrapper {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.columnaInicioSesion, .columnaRegistro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 350px;
    gap: 12px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 15px;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #403534;
    font-size: 0.6rem; 
}

.form-group input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.5em;
}

.boton-acceso-principal {
    width: 150px;
    padding: 10px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 66px;
    background-color: #dfc4ab;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: center;
    font-size: 0.7rem;
}

.opciones-login {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.enlace-olvido {
    color: #403534;
    font-size: 0.6rem;
    text-decoration: underline;
}


/* --- SECCIÓN 9: FOOTER --- */

footer{
    background-color: #403534;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding: 5px 10%;
}

.footer .imgFooter img{
    cursor: pointer;
}

.footer .imgFooter img{
    height:80px;
    width:auto;
    transition: all 0.3s;
}

.imgFooter{
    color:white;
}

.footer .columnaCentro{
    text-align: center;
}

.footer .columnaDerecha{
    text-align:center;  
}

.footer .columnaDerecha > .imgFooter{
    padding-left: 70%;
}

.footer p{
    font-size: 0.8em;
}

.footer .columnaCentro > .imgFooter > p{
    margin-top: 5px;
}

.footer .columnaDerecha > .imgFooter > p{
    margin-bottom: 5px;
}

/* =========================================
   ESTILOS DE LA GALERÍA MODAL (NUEVO)
   ========================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 3000; /* Mayor que el menú hamburguesa */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(64, 53, 52, 0.95); /* Tu color oscuro con transparencia */
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal.activo {
    display: flex;
    opacity: 1;
}

.modal-contenido {
    position: relative;
    width: 90%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.imagen-box {
    text-align: center;
    width: 100%;
}

.imagen-box h3 {
    color: #c9a27e; /* Tu color dorado */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.imagen-box img {
    max-height: 80vh;
    max-width: 100%;
    border-radius: 1px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border: 1px solid #584635;
    transition: opacity 0.3s ease-in-out;
}

#contadorFotos {
    color: #EAE4D8;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Botones Flechas Minimalistas */
.nav-btn {
    background: none;
    border: none;
    color: #796b4e;
    font-size: 1rem;
    cursor: pointer;
    padding: 0 20px;
    transition: all 0.3s;
    user-select: none;
}

.nav-btn:hover {
    color: #c9a27e;
    transform: scale(1.2);
}

/* Botón Cerrar */
.cerrar-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #8e7c58;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 3001;
    transition: color 0.3s;
}

.cerrar-modal:hover {
    color: #c9a27e;
}

/* Ajustes Responsive para Modal */
@media (max-width: 768px) {
    .nav-btn {
        position: absolute;
        top: 50%;
        font-size: 2rem;
        background-color: rgba(0,0,0,0.3);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .prev { left: 0; }
    .next { right: 0; }
}