/* rotador-estatico.css */
body {
    margin: 0;
    padding: 0;
    overflow: hidden; 
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #000; /* Fallback */
}

main {
    display: flex;
    justify-content: center;
}

/* Contenedor del Fondo de Pantalla Completa (ESTÁTICO) */
.fullscreen-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* AÑADIDO: Imagen de fondo estática aquí */
    background-image: url('../img/background.png'); /* ¡PÓN TU IMAGEN DE FONDO AQUI! */
    opacity: 1; /* El fondo está siempre visible */

    /* ELIMINADO: Ya no necesitamos animar el fondo */
    /* transition: background-image 0.5s ease-in-out; */
}

/* Overlay para oscurecer la imagen y mejorar la legibilidad del texto */
.fullscreen-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay oscuro del 50% */
}

/* Contenedor del Logo y la Frase */
.fullscreen-content-wrapper {
    background: #ffffff;
    opacity: .85;
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    width: 800px;
    max-width: 800px;
    height: 500px;
    min-height: 500px;
    display: flex;
    justify-content: center;
    box-shadow: 0px 3px 10px 0px #ffffff5c;
    align-items: center;
    border-radius: 50px; 
}

.content-item {
    opacity: 0; /* Opacidad inicial controlada por JS (para el primer fade-in) */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    will-change: opacity, transform; 
}

/* Estilos del Logo */
.content-item img {
    max-width: 320px; 
    height: auto;
    margin-bottom: 30px; 
}

/* Estilos de la Frase */
.content-item h2 {
    font-size: 3em; 
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #666666;
}

/* Media Query para pantallas más pequeñas */
@media (max-width: 768px) {
    .content-item img {
        max-width: 150px;
        margin-bottom: 20px;
    }
    .content-item h2 {
        font-size: 1.8em;
    }
    .fullscreen-content-wrapper {
        width: 700px;
        max-width: 700px;
    }
}

@media (max-width: 557px) {
    .fullscreen-content-wrapper {
        width: 500px;
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .content-item h2 {
        font-size: 1.4em;
    }
    .fullscreen-content-wrapper {
        width: 400px;
        max-width: 400px;
    }
}
@media (max-width: 400px) {
    .fullscreen-content-wrapper {
        width: 350px;
        max-width: 350px;
    }
}