/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-italy), var(--white-italy), var(--red-italy));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section {
    animation: fadeInUp 0.6s ease;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.footer-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-top: var(--spacing-sm);
}

.footer-rating i {
    color: var(--secondary-color);
}

.footer-rating span {
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.footer-list li:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-list li i {
    color: var(--accent-color);
    min-width: 20px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-list a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.footer-social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.footer-social-link:hover {
    background: var(--accent-color);
    transform: translateY(-5px) rotate(10deg);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(206, 43, 55, 0.4);
}

.footer-social-link:nth-child(1):hover {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.footer-social-link:nth-child(2):hover {
    background: #000000;
}

.footer-social-link:nth-child(3):hover {
    background: #4285f4;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom i {
    margin: 0 0.25rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-lg) 0 var(--spacing-sm);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer-section {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-rating {
        justify-content: center;
    }

    .footer-list li {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .footer-title {
        font-size: 1.25rem;
    }

    .footer-social-link {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .footer-bottom p {
        font-size: 0.813rem;
    }
}