/* --- Keyframe Animations for Hero Section --- */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* --- Sección "Sobre Nosotros" --- */
.about-us-hero {
    position: relative;
    background-image: url('../img/fotosCollageFullMarmol/fotoFullMarmol5.jpeg');
    background-size: cover;
    background-position: center;
    min-height: 80vh; /* Aumentamos un poco la altura para dar más espacio a la animación */
    display: flex;
    align-items: center;
    padding: 4rem 0;
    color: white;
    overflow-x: hidden; /* Previene la barra de scroll durante la animación */
}

/* Capa oscura para mejorar la legibilidad del texto */
.about-us-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.about-us-logo {
    display: inline-block;
    width: 280px; /* Logo más grande */
    border-radius: 50%;
    opacity: 0; /* Inicia oculto para la animación */
    /* Animación: nombre, duración, curva de tiempo, retraso, y estado final */
    animation: slideInFromLeft 1s ease-out 0.2s forwards;
}

.about-us-text {
    position: relative;
    z-index: 1;
    opacity: 0; /* Inicia oculto para la animación */
    animation: slideInFromRight 1s ease-out 0.5s forwards;
}

.about-us-text p {
    font-size: 1.2rem; /* Texto más grande */
    line-height: 1.7;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    margin: 0;
}

@media (max-width: 991.98px) { /* Breakpoint LG de Bootstrap */
    .about-us-hero {
        text-align: center;
    }
}