/* ==================== FOOTER ==================== */
/* Footer e navigazione */

.footer {
    margin-top: 3.75rem;
    padding: 3.125rem 2.5rem;
    background: transparent;
    border-top: 0.0625rem solid var(--border-color);
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1920px) {
    .footer-container {
        max-width: 120rem;
        gap: 3rem;
    }
}

@media (min-width: 2560px) {
    .footer-container {
        max-width: 160rem;
        gap: 4rem;
    }
}

@media (min-width: 3840px) {
    .footer-container {
        max-width: 100%;
        gap: 5rem;
    }
}

.footer-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Blocco Logo (Sinistra) */
.footer-logo {
    align-items: center;
    margin-left: 1.25rem;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    height: 10rem;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 0 0.625rem rgba(255, 255, 255, 0.5));
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.0625rem;
}

/* Logo responsive per schermi grandi */
@media (min-width: 1920px) {
    .footer-logo-img {
        height: 12rem;
    }
}

@media (min-width: 2560px) {
    .footer-logo-img {
        height: 14rem;
    }
}

@media (min-width: 3840px) {
    .footer-logo-img {
        height: 16rem;
    }
}

.footer-since {
    font-size: 1rem;  /* Ridotto da 1.1rem */
    color: var(--text-secondary);
    margin-top: 1rem;  /* Spazio sopra */
    margin-bottom: 0;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.0625rem;
    text-transform: none;
    text-align: center;  /* Centrato */
}

/* Blocco Centro */
.footer-center {
    text-align: center;
    flex: 1;
    margin: 0 3.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;  /* Spazio tra messaggio e since */
}

.footer-message {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

.footer-accent {
    font-weight: 600;
    font-style: italic;
    color: var(--text-primary);
}

.footer-heart {
    font-size: 1.2em;
    vertical-align: middle;
}

/* Blocco Navigazione (Destra) */
.footer-nav {
    align-items: flex-start;
    margin-right: 1.25rem;
}

.footer-navigation {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-link {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: var(--text-primary);
    font-weight: 500;
    transform: translateX(-0.1875rem);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.125rem;
    background: var(--celeste);
    transition: var(--transition);
}

.footer-link:hover::after {
    width: 100%;
}

/* Trash Section */
.trash-section {
    padding: 1.875rem 1.25rem;
    animation: fadeIn 0.3s ease;
}

.trash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.875rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: var(--blur-soft);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.trash-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.trash-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.trash-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

.trash-actions .selected-count {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-left: 4px;
}
