/* =========================================================
   ESTILOS DE LA GALERÍA WORKSHOP (SOLO FOTOS)
   ========================================================= */

/* HERO SECTION */
.workshop-hero {
    /*margin-top: 125px;*/
    position: relative;
    width: 100%;
    height: 225px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}

.workshop-hero .hero-overlay {
    position: absolute;
    width: 100%; height: 100%;
    background: linear-gradient(rgba(28, 32, 17, 0.4), rgba(28, 32, 17, 0.4)),
                rgba(123, 122, 122, 0.3);
    z-index: 2;
}

.workshop-hero .hero-content {
    position: relative;
    z-index: 3;
    padding-left: 10%;
}

.workshop-hero h1 {
    font-family: "Baumans", sans-serif;
    font-size: 3rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* GRID DE IMÁGENES */
.workshop-gallery-container {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

/* CARDS DINÁMICAS */
.workshop-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    aspect-ratio: 4 / 3; /* Proporción ideal para fotos de taller */
    cursor: pointer;
}

.workshop-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Llena el contenedor sin deformarse */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
}

/* OVERLAY NARANJA SURVIVOR */
.workshop-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(244, 133, 52, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.overlay-content {
    text-align: center;
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.overlay-content i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.overlay-content span {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* HOVER EFFECTS */
.workshop-item:hover .workshop-overlay {
    opacity: 1;
}

.workshop-item:hover .overlay-content {
    transform: translateY(0);
}

.workshop-item:hover .workshop-img {
    transform: scale(1.15);
}

/* TÍTULO DE SECCIÓN */
.section-title {
    font-family: "Baumans", sans-serif;
    font-size: 2.5rem;
    text-align: center;
    color: #333;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 4px;
    background-color: #F48534;
}

/* RESPONSIVO */
@media (max-width: 991px) {
    .workshop-grid { grid-template-columns: repeat(2, 1fr); }
    .workshop-hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .workshop-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 10px; }
    .section-title { font-size: 1.8rem; }
}