@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400&display=swap');

:root {
    --bg: #f1ddcf;
    --text: #5D5C58;
    --accent: #C2B2A3;
    --white: #FFFFFF;
    --texto: #5d5c58;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg);
    color: var(--texto);
    line-height: 1.0;
   max-width: 100%;
    overflow-x: hidden; /* Esto corta el movimiento lateral */
    width: 100%;



    
    /* Cargamos los tres recortes */
    background-image: 
        url('img/muñeco.png'), 
        url('img/cactus.png'), 
        url('img/pajarito.png');

    /* Importante: un valor por cada imagen */
    background-repeat: no-repeat, no-repeat, no-repeat;

    /* Posiciones: podés jugar con estos porcentajes para moverlos */
    background-position: 
        center top 15%,     /* muñeco: arriba a la izquierda */
        right 5% bottom 10%,  /* Cactus: abajo a la derecha */
        left 10% bottom 20%;  /* Pajarito: abajo a la izquierda */

    /* "Un poco grande": ajustá los píxeles según te guste */
    background-size: 180px, 200px, 150px;

    /* Esto hace que los dibujos floten mientras el contenido se mueve */
    background-attachment: fixed;
}

/* --- CENTRADO GLOBAL DE H2 --- */
h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-style: italic;
    text-align: center; /* Centra el texto */
    margin-bottom: 40px;
    width: 100%; /* Asegura que el alineado sea sobre el total de la pantalla */
}

/* --- NAVEGACIÓN --- */
/* Cerramos cualquier posible llave abierta de arriba con esto */

/* --- NAVEGACIÓN REPARADA (Sustituí tus bloques nav y nav ul por este) --- */

header {
    padding: 10px 5%; 
    position: relative;
    top: 0;
    z-index: 1000;
    background-color: rgba(245, 245, 220, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    flex-direction: column; /* Por defecto los apilamos (logo arriba, menú abajo) */
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo img {
    width: auto !important;
    max-width: 80% !important; /* Bajamos un poco el máximo para que no toque los bordes */
    height: 180px !important; /* En escritorio 250px está bien, pero aquí lo bajamos un poco para balancear */
    display: block !important;
    margin: 0 auto 10px !important;
    object-fit: contain !important;
}

nav ul {
    display: flex;
    flex-wrap: wrap; /* ¡ESTO ES CLAVE! Si no entran, bajan a la siguiente línea en vez de cortarse */
    list-style: none;
    gap: 15px; 
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 5px;
    justify-content: center;
    width: 100%; /* Ocupa todo el ancho disponible */
}

nav ul li a {
    text-decoration: none;
    color: var(--texto);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
    white-space: nowrap; /* Evita que una sola palabra se parta a la mitad */
}

/* --- ARREGLO RESPONSIVE EXCLUSIVO PARA MÓVILES --- */
@media (max-width: 768px) {
    /* Evitamos que el body genere scroll lateral */
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Ajustamos el párrafo del Hero en el celu */
    .hero p {
        width: 100% !important;        /* Ocupa el ancho del celular */
        max-width: 100% !important;    /* No deja que se estire hacia la derecha */
        font-size: 1.45rem !important; /* Mantiene tu letra grande original */
        padding: 20px 15px !important; /* Achicamos un pelito el relleno para que entre más texto en el celular */
        box-sizing: border-box !important; /* Fuerza a respetar los límites de la pantalla */
    }

    /* Domamos la foto del colibrí para que no empuje el diseño */
    section img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 20px auto !important;
    }
}

.hero p {
    font-family: 'Cormorant Garamond', serif;
    color: var(--texto);
    font-size: 1.45rem; 
    line-height: 1.6; 
    text-align: center; 
    max-width: 800px;        
    margin: 0 auto 30px;     
    font-weight: 400;        
    background-color: rgba(241, 221, 207, 0.6); 
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    box-sizing: border-box; /* 👈 ¡AGREGÁ ESTA LÍNEA ACÁ! */
}


.mySwiper {
    width: 100% !important;
    max-width: 1000px !important; /* No la dejes estirarse al infinito */
    height: 450px !important;    /* Una altura cómoda para ver la pieza entera */
    margin: 20px auto !important;
    background-color: #f5f5dc !important; /* Fondo crema para los bordes */
    border-radius: 20px !important;       /* Un borde redondeado suave */
    overflow: hidden !important;
}

.mySwiper .swiper-slide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.mySwiper .swiper-slide img {
    /* CAMBIO CLAVE: 'contain' en lugar de 'cover' */
    width: auto !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important; /* MUESTRA LA FOTO ENTERA SIN RECORTE */
    
    /* Quitamos cualquier zoom previo */
    transform: none !important;
    margin: 0 auto !important;
}

/* --- MULTIMEDIA (ARREGLO DE VIDEOS) --- */
.mySwiper, .tallerSwiper {
    width: 100%;
    max-width: 500px; 
    margin: 40px auto; /* Centra el slider */
    background: #000; /* Fondo negro preventivo */
    overflow: hidden;
    
}

/* IMPORTANTE: Cambiamos a display: block y height automático real */


/* LA CLAVE PARA QUITAR EL ZOOM */
.video-taller {
    width: auto !important;     /* El ancho se ajusta solo */
    height: 100% !important;    /* El alto manda para que no se corte */
    max-width: 100% !important;
    
    /* CAMBIO FUNDAMENTAL: Usamos 'contain' en lugar de 'cover' */
    object-fit: contain !important; 
    
    display: block;
    margin: 0 auto;
}



.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- SECCIONES --- */
section {
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra todo el contenido de la sección */
}

/* --- SECCIÓN CURSOS --- */


#Cursos {
    background-image: url('img/monito2.png');
    background-repeat: no-repeat;
    background-position: right 20px bottom 20px;
        background-size: 100px;
        position: relative;
        padding: 100px 5%; /* Más espacio arriba y abajo */
        display: flex;
        flex-direction: column; 
        align-items: center;
        width: 100%;
        font-family: 'Cormorant Garamond', serif;
    }
        
#Cursos h2 {
    font-size: 3rem; /* Título de sección bien grande */
    margin-bottom: 60px;
    color: #2f4f4f; /* Un tono oscuro como el pizarra que buscabas */
}

/* CONTENEDOR */
.cursos-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 40px; /* Más espacio entre columnas para que no se vean pegadas */
    width: 100%;
    max-width: 1400px; /* Aumentamos el ancho máximo permitido */
}

/* CADA COLUMNA (Contenedor Vertical) */
.curso-item {
    background-color: rgba(245, 245, 220, 0.95);
    padding: 50px 35px; /* Más aire interno */
    border-radius: 20px;
    text-align: center;
    
    flex: 1;
    /* Subimos el ancho máximo para que no se vean como fideos */
    min-width: 300px; 
    max-width: 420px; 
    
    box-shadow: 0 15px 45px rgba(0,0,0,0.08); /* Sombra más suave y elegante */
    border: 1px solid rgba(0,0,0,0.05);
    
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease; /* Efecto suave al pasar el mouse */
}

.curso-item:hover {
    transform: translateY(-10px); /* Se eleva un poquito al tocarla */
}

/* --- SOLUCIÓN AL TAMAÑO DEL TEXTO INTERNO --- */

.curso-item h3 {
    font-size: 2rem; /* Título del curso más grande */
    margin-bottom: 20px;
    color: #4A5D23; /* Verde musgo para los títulos */
    letter-spacing: 1px;
}

.curso-item p {
    font-size: 1.3rem; /* Párrafo más grande para que se lea fácil */
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}
/* --- DISEÑO INTERACTIVO DE CURSOS --- */

/* Forzamos a que las tarjetas distribuyan su contenido de arriba a abajo de forma pareja */
#Cursos .curso-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 25px;
    background-color: rgba(245, 245, 220, 0.95); /* Color crema de tu paleta */
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

/* Contenedor rústico para las opciones de pago */
.pago-selector {
    background-color: rgba(241, 221, 207, 0.5); /* Tono terracota suave de fondo */
    padding: 8px 12px;
    border-radius: 8px;
    margin: 20px 0 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
}

.pago-selector label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #5d5c58;
}

.pago-selector input[type="radio"] {
    accent-color: #b05d48; /* Forzamos a que el circulito seleccionado sea terracota */
    cursor: pointer;
}

/* Fila inferior: Precio e Inscripción */
.curso-meta-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-top: 1px dashed #d2b48c;
    padding-top: 15px;
    margin-top: auto;
}

.precio-curso {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #8b5a2b; /* Marrón arcilla */
    font-size: 1.05rem;
}

/* Botón estilizado de inscripción directa */
.btn-inscribir {
    background-color: #25d366; /* Verde WhatsApp */
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}

.btn-inscribir:hover {
    background-color: #128c7e;
    transform: translateY(-1px);
}

.btn-inscribir i {
    font-size: 0.95rem !important; /* Mantiene el icono en su proporción */
    transition: none !important;
}

/* --- Responsivo para tablets (Pantallas medianas) --- */
@media (max-width: 1024px) {
    .cursos-container {
        flex-wrap: wrap; /* Permite que las tarjetas bajen si no entran de a tres */
        gap: 20px;
        justify-content: center; /* Centra las tarjetas si queda una sola abajo */
    }
}

/* --- Responsivo para celulares (Pantallas chicas) --- */
@media (max-width: 768px) {
    .cursos-container {
        display: flex; /* Aseguramos que siga siendo flex */
        flex-direction: column; /* Una tarjeta arriba de la otra */
        align-items: center; 
        gap: 30px; /* Un poco más de aire entre curso y curso */
    }

    /* Ajuste para las tarjetas individuales en celular */
    .curso-card {
        width: 90% !important; /* Que la tarjeta ocupe casi todo el ancho del celu */
        max-width: 350px; /* Pero que no se deforme si el celu es muy grande */
    }

    h2 {
        font-size: 2.2rem; /* Achicamos un poco el título "Nuestros Cursos" */
        margin-bottom: 25px;
    }
} /* <--- IMPORTANTE: Asegurate de cerrar siempre esta llave final */
    
    .curso-item {
        width: 90%;
        max-width: 450px;
    }



/* --- TABLA --- */
#horarios { 
    width: 100%;
    padding: 60px 0;
    background-color: rgba(245, 245, 220, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 50px;

background-image: url('img/cactusgrande.png');
    background-repeat: no-repeat;
    background-position: left 20px bottom 20px;
        background-size: 100px;
        position: relative;
    
    
}

#horarios h2{
     font-family: 'Playfair Display', serif; /* La fuente elegante */
    color: var(--texto);             /* Gris muy oscuro, no negro puro */
    font-size: 2.5rem;       /* Tamaño grande y claro */
    margin-bottom: 20px;     /* Espacio antes del párrafo */
    font-weight: 700;
}
/*El Pizarron*/
table {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f5f5dc;
    color: var(--text);
    border-collapse: separate;
    border-spacing: 0;
    border: 15px solid #1a1a1a;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-family: 'patrick hand', cursive;


    

}

/*ENCABEZADO DE LA PIZARRA*/

th{
    background-color: #f5f5dc;
    color: var(--text);
    padding: 20px;
    font-size: 1.5rem;
    text-transform: uppercase;
    border-bottom: 2px dashed #555;
}

/*CELDAS DE LA PIZARRA*/

td {
    padding: 20px;  
    text-align: center;
    font-size: 1.2rem;
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}
tr:hover td{
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text);
}
/*ESTILOS PARA LA PRIMERA COLUMNA*/
td:first-child {
    font-weight: bold;
    color: var(--text);
    border-right: 2px dashed #555;

}
tr:last-child td {
    border-bottom: none;
}


/* --- FOOTER --- */
footer {
    padding: 60px 20px;
    text-align: center;
    font-size: 0.7rem;
}
#NuestroTaller {
    width: 100%;
    background-color: var(--bg);
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    
 background-image: url('img/cactusgrande.png');
    background-repeat: no-repeat;
    background-position: left 20px bottom 20px;
        background-size: 100px;
        position: relative;

}
#NuestroTaller h2 {
    font-family: 'cormorant garamond', serif;
    color: var(--texto);
    font-size: 2.2rem;       /* Ligeramente más chico que el Hero h2 */
    margin-bottom: 15px;
    font-weight: 700;
}

#NuestroTaller p {
   
    font-family: 'Cormorant Garamond', serif;
    color: var(--texto);
    
    /* SOLUCIÓN AL TAMAÑO: Subimos a 1.4rem o 1.5rem para el Hero */
    font-size: 1.45rem; 
    
    /* Ajustamos el interlineado: un poco menos que 1.8 para que el 
       texto no se vea "desarmado" al ser más grande */
    line-height: 1.6; 
    
    /* Centrado suele quedar mejor en la sección Hero que el justificado */
    text-align: center; 
    
    max-width: 800px;        /* Evita que las líneas sean infinitas a lo ancho */
    margin: 0 auto 30px;     /* Centra el bloque y da espacio abajo */
    font-weight: 400;        /* Peso normal para esta fuente elegante */
}

/* El contenedor del carrusel de videos */
.tallerSwiper {
    width: 100% !important;
    max-width: 1100px;     /* No dejamos que se estire al infinito */
    height: 500px !important; /* Altura fija para que el video tenga espacio */
    margin: 0 auto;
    background-color: rgba(245 , 245, 220, 0.95); /* Fondo negro por si el video es angosto */
    border-radius: 15px;
    overflow: hidden;
}

.tallerSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}


/* --- Sección Arcilla - Dellamiaterra --- */


.info-ceramica {
    padding: 60px 20px;
    background-color: var(--bg);
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: #8c462e;
    font-size: 2rem;
    margin-bottom: 10px;
}

.acordeon-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Estilo del contenedor details */
details {
    background-color: #fff;
    border: 1px solid #eae1d8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

details[open] {
    border-color: #a67c52;
    box-shadow: 0 5px 15px rgba(166, 124, 82, 0.1);
}

/* Estilo del título (Summary) */
summary {
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a3f35;
    cursor: pointer;
    list-style: none; /* Quita la flechita por defecto */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

summary:hover {
    background-color: #f9f7f2;
    color: #a67c52;
}

/* Añadir una flechita personalizada con CSS */
summary::after {
    content: '▶';
    font-size: 0.8rem;
    transition: transform 0.3s;
    color: #d9b99b;
}

details[open] summary::after {
    transform: rotate(90deg);
    color: #8c462e;
}

/* Contenido desplegado */
.details-content {
    padding: 0 25px 25px 25px;
    color: #666;
    line-height: 1.6;
    border-top: 1px solid #f9f7f2;
    animation: fadeIn 0.4s ease;
}

.details-content ul {
    margin-top: 10px;
    padding-left: 20px;
}

.details-content li {
    margin-bottom: 10px;
}

/* Animación simple para que no aparezca de golpe */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Cita Final --- */
.cita-textual {
    text-align: center;
    margin-top: 60px;
    padding: 20px;
    border-top: 1px solid #ddd;
}

blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--color-primario);
    max-width: 600px;
    margin: 0 auto;
}

.acordeon-arcilla {
    background: var(--bg);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Estilo del encabezado (lo que siempre se ve) */
.acordeon-arcilla summary {
    list-style: none; /* Quita la flechita por defecto del navegador */
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

/* Girar la flecha cuando se abre */
.acordeon-arcilla[open] .icono-flecha {
    transform: rotate(180deg);
}

.icono-flecha {
    transition: transform 0.3s ease;
    font-size: 1.5rem;
    color: #6b705c;
}





#informacion{
    padding: 60px 5%;
    text-align: center;
    background-color: rgba(245, 245, 220, 0.95);
    border-radius: 0px ;

     background-image: url('img/muñeco.png');
    background-repeat: no-repeat;
    background-position: right 20px bottom 20px;
        background-size: 100px;
        position: relative;
}
 #informacion h2 {

    font-family: 'cormorant garamond', serif; /* La fuente elegante */
    color: #1a1a1a;             /* Gris muy oscuro, no negro puro */
    font-size: 2.5rem;       /* Tamaño grande y claro */
    margin-bottom: 20px;     /* Espacio antes del párrafo */
    font-weight: 700;
 }


#informacion h3 {

    font-family: 'cormorant garamond', serif; /* La fuente elegante */
    color: #1a1a1a;             /* Gris muy oscuro, no negro puro */
    font-size: 2.5rem;       /* Tamaño grande y claro */
    margin-bottom: 20px;     /* Espacio antes del párrafo */
    font-weight: 700;
 }
 #informacion p {
    font-family: 'cormorant garamond', serif; /* La fuente elegante */
    color: #1a1a1a;             /* Gris muy oscuro, no negro puro */
 }

 .whatsapp, .instagram {
    display: inline-block;
    margin: 20px;
    vertical-align: top;


}
.whatsapp i, .instagram i {
    font-size: 40px;
    margin-bottom: 10px;
    transition: transform 0.3s;
}
.whatsapp a { color:#25d366; text-decoration: none;}
.instagram a { color: #e1306c; text-decoration: none;}


i:hover {
    transform: scale(1.2);
}


footer {
    background-color: #4eb5b0;
    color: #f5f5dc;
    text-align: center;
    padding: 20px;
    margin-top: 40px; 
}


/* --- AJUSTE DE LA ILUSTRACIÓN --- */
.ilustracion-taller {
    width: 100%;
    padding: 20px 0; /* Menos espacio arriba y abajo */
    display: flex;
    justify-content: center;
}

.img-container {
    /* AQUÍ AJUSTAMOS EL TAMAÑO MÁXIMO */
    width: 100%;
    max-width: 350px; /* Bajamos de 600px a 350px para que sea un detalle elegante */
    margin: 0 auto;
}

.img-artesana {
    width: 100%;
    height: auto;
    display: block;
    /* Sombras sutiles para que flote sobre el fondo */
    filter: drop-shadow(0 5px 10px rgba(166, 124, 82, 0.15)); 
    /* Si quieres que se vea un poquito más pequeña aún, usa opacity */
    
}

/* Ajuste para que en celulares no quede gigante */
@media (max-width: 600px) {
    .img-container {
        max-width: 250px; /* Todavía más pequeña en móviles */
    }
}
/* Estilos para el efecto de aparición */
.efecto-oculto {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.efecto-oculto.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Botón Volver Arriba */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Lo ponemos a la izquierda para que no choque con el icono flotante de WhatsApp si lo tenés a la derecha */
    background-color: #b05d48; /* Terracota combinando con tu estilo */
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.btn-back-to-top.mostrar {
    opacity: 1;
    visibility: visible;
}
.btn-back-to-top:hover {
    background-color: #8b5a2b;
    transform: translateY(-3px);
}
