﻿/* ==========================
   TALLERES 2025 - ARCHETYPES (UNIFICADO)
========================== */

/* ----- Fondo general ----- */
.p-talleres {
    background: linear-gradient(to bottom, #d6cfbb, #eae7dd);
    color: #322203;
    font-family: 'Cinzel', serif;
    min-height: 100vh;
}

    /* ----- Sección principal ----- */
    .p-talleres .seccion-principal {
        background: none; /* 💥 Evita el fondo duplicado */
        padding: 48px 20px;
        min-height: calc(100vh - 200px);
    }

    /* ----- Título y separador ----- */
    .p-talleres .titulo-seccion {
        font-family: 'Cinzel', serif;
        font-size: 2.6rem;
        color: #322203;
        text-align: center;
        margin-bottom: 2rem;
    }

    .p-talleres .separador-seccion {
        display: block;
        width: 80px;
        height: 2px;
        background-color: #8c6e4a;
        margin: -1rem auto 3rem auto;
        border-radius: 2px;
        opacity: 0.9;
    }

/* ==========================
   TARJETAS DE TALLER
========================== */
.taller-card {
    background-color: #fff;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    max-width: 400px;
    margin: 0 auto;
}

    .taller-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    }

    /* Imagen del taller */
    .taller-card img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
        border-bottom: 3px solid #8c6e4a;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

/* Efecto hover sutil */
@media (hover: hover) and (pointer: fine) {
    .taller-card img:hover {
        transform: scale(1.03);
        opacity: 0.95;
    }
}

.taller-card .card-body {
    padding: 1rem;
    text-align: center;
}

.taller-card .card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    color: #322203;
    margin-bottom: 0.6rem;
}

.taller-card .btn-outline-dark {
    border: 1px solid #322203;
    color: #322203;
    background-color: transparent;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

    .taller-card .btn-outline-dark:hover {
        background-color: #322203;
        color: #fff;
    }

/* Efecto campaneo */
@keyframes campaneo {
    0%, 100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(5deg);
    }

    40% {
        transform: rotate(-5deg);
    }

    60% {
        transform: rotate(4deg);
    }

    80% {
        transform: rotate(-4deg);
    }
}

.campaneo {
    animation: campaneo 1s ease-in-out;
}

/* ==========================
   MODAL DE TALLER
========================== */
.modal-taller {
    background: #f8f5ed;
    border: 1px solid #c5a86f;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(197, 168, 111, 0.3);
    padding: 10px 15px;
}

    .modal-taller .modal-header {
        border-bottom: 1px solid rgba(197, 168, 111, 0.5);
        text-align: center;
        justify-content: center;
        position: relative;
    }

    .modal-taller .modal-title {
        font-family: 'Cinzel', serif;
        font-size: clamp(1.3rem, 3vw, 1.6rem);
        color: #322203;
        font-weight: 600;
    }

    .modal-taller .btn-close {
        position: absolute;
        right: 15px;
        top: 15px;
        background: transparent;
        opacity: 0.6;
        filter: invert(20%) sepia(40%) saturate(300%) hue-rotate(20deg);
        transition: all 0.2s ease-in-out;
    }

        .modal-taller .btn-close:hover {
            opacity: 1;
            transform: rotate(90deg);
        }

    .modal-taller .modal-body {
        font-family: 'Lora', serif;
        font-size: 1.05rem;
        color: #333;
        line-height: 1.7;
        text-align: justify;
        padding: 25px 30px;
    }

        .modal-taller .modal-body ul {
            margin-top: 1.2rem;
            list-style: none;
            padding-left: 0;
        }

        .modal-taller .modal-body li {
            font-family: 'Cinzel', serif;
            font-size: 0.95rem;
            color: #322203;
            margin-bottom: 0.4rem;
        }

    .modal-taller .btn-whatsapp {
        margin-top: 1.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #322203;
        color: #fff;
        font-family: 'Cinzel', serif;
        font-size: 0.95rem;
        padding: 0.6rem 1.4rem;
        border-radius: 50px;
        text-decoration: none;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
        transition: all 0.3s ease;
    }

        .modal-taller .btn-whatsapp:hover {
            background: #4b3510;
            transform: scale(1.05);
        }

/* ==========================
   RESPONSIVE
========================== */

/* Tablets */
@media (max-width: 992px) {
    .taller-card {
        max-width: 360px;
    }
}

/* Smartphones */
@media (max-width: 768px) {
    .p-talleres .seccion-principal {
        padding: 1.5rem 1rem 3rem;
    }

    .taller-card {
        max-width: 320px;
    }

        .taller-card img {
            object-fit: contain;
            background-color: #d6cfbb; /* se funde con el fondo */
        }

        .taller-card .card-title {
            font-size: 1rem;
        }

    .modal-taller .modal-body {
        padding: 20px;
        font-size: 0.95rem;
    }

    .modal-taller .modal-title {
        font-size: 1.3rem;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .taller-card {
        max-width: 90%;
    }

    .modal-taller .modal-body {
        padding: 15px;
        font-size: 0.9rem;
    }
}


/* ==========================================
   IMAGEN ENCIMA DEL CONTENIDO - AJUSTE FINAL
========================================== */
.logo-encima {
    position: fixed;
    top: 55%; /* un poco más abajo */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px; /* tamaño equilibrado */
    opacity: 0.09; /* muy sutil, no interfiere */
    z-index: 10; /* encima del texto, pero debajo de menú fijo */
    pointer-events: none;
    mix-blend-mode: multiply; /* 🔹 integra el color con el fondo */
}
