/* WELCOME PAGE - USA VARIABLES.CSS */
@import url('./variables.css');


.frases-rotativas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5em;
    justify-content: center;
    align-items: center;
    margin: 2em 0;
    animation: slideIn 1.5s ease-in-out;
}

@media (max-width: 600px) {
    .frases-rotativas {
        margin: 1em 0;
    }
    .frase-card {
        padding: 1em 0.5em;
        min-width: 90vw;
        max-width: 98vw;
        font-size: 1em;
        border-radius: var(--border-radius-small);
    }
    .frase-card h3 {
        font-size: 1.1em;
    }
    .frase-card p {
        font-size: 0.95em;
    }
}

@media (max-width: 900px) {
    .frase-card {
        min-width: 60vw;
        max-width: 90vw;
        padding: 1.2em 1em;
    }
    .frases-rotativas {
        grid-template-columns: none;
    }
}


@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.frase-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-medium);
    padding: 1em 1.5em;
    margin-left: 5px;
    margin-right: 5px;
    max-width: 420px;
    text-align: center;
    animation: fadeIn 0.7s;
    transition: background 0.3s, box-shadow 0.3s;
}

.frase-card h3 {
    font-size: var(--font-size-large);
    font-weight: 700;
    margin-bottom: 0.5em;
    color: var(--color-secundario);
}

.frase-card p {
    font-size: var(--font-size-base);
    color: var(--color-secundario);
    margin: 0;
}

.frase-card:hover {
    background: rgba(255,255,255,0.18);
    box-shadow: var(--shadow-heavy);
}



/* Background image with overlay */
.background-section_welcome {
    position: relative;
    width: 100%;
    min-height: 480px;
    background-image: url('/static/mi_app/img/pexels-nc-farm-bureau-mark-2749165.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    perspective: 1px;
    transform-style: preserve-3d;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 29, 35, 0.5);
    box-shadow: inset 0px 5px 8px rgba(26, 29, 35, 0.8);
    z-index: 1;
    transform: translateZ(-1px) scale(2);
}

.background-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: var(--spacing-lg);
}

/* Animations */
.fade-in {
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Footer */
footer {
    background-color: var(--color-footer-bg);
    color: white;
    text-align: center;
    padding: var(--spacing-base);
    position: bottom;
    bottom: 0;
    width: 100%;
}
