/* Estilos Generales */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    position: relative;
}

/* Animación para el escudo de Talleres */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw;
    height: 50vh;
    background-image: url('../img/Talleres.jpeg'); /* Lo agregaremos en el siguiente paso */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05;
    z-index: -1;
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    from {
        opacity: 0.05;
    }
    to {
        opacity: 0.1;
    }
}


/* Estilos de la Galería de Fotos */
#photo-gallery .photo-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#photo-gallery .photo-item img {
    width: 100%;
    height: 250px; /* Altura fija para consistencia */
    object-fit: cover; /* Escala la imagen para cubrir el espacio sin deformarla */
    cursor: pointer;
    transition: transform 0.3s ease;
}

#photo-gallery .photo-item:hover {
    transform: scale(1.05);
}

#photo-gallery .photo-item:hover img {
    transform: scale(1.1);
}

/* Mensajes de estado de subida */
#upload-status .alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

#upload-status .alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}
