/* ==============================================
   FOOTER.CSS - Footer
   Botanica Veneta - Tuttifiori
   ============================================== */

/* ==============================================
   1. FOOTER BASE
   ============================================== */

.footer {
    background: var(--verde-botanico);
    color: var(--crema);
    padding: var(--space-2xl) 0 var(--space-lg);  /* Ridotto per meno altezza */
    position: relative;
    margin-top: auto; /* Push footer to bottom */
}

/* Linea decorativa sopra footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--oro-caldo) 20%, 
        var(--oro-caldo) 80%, 
        transparent
    );
}

/* ==============================================
   2. FOOTER CONTENT
   ============================================== */

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);  /* Ridotto da space-2xl */
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-weight: 300;
    margin-bottom: var(--space-md);  /* Ridotto da space-lg */
    color: var(--oro-caldo);
    font-size: var(--text-xl);
}

.footer-section p,
.footer-section li {
    font-size: var(--text-sm);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

.footer-section strong {
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
}

/* ==============================================
   3. FOOTER LINKS
   ============================================== */

.footer-section a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--oro-caldo);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    display: inline-block;
    padding: var(--space-xs) 0;
    transition: var(--transition);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--oro-caldo);
    transition: width 0.3s ease;
}

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

/* ==============================================
   4. FOOTER BOTTOM
   ============================================== */

.footer-bottom {
    padding-top: var(--space-lg);  /* Ridotto da space-xl */
    padding-bottom: var(--space-sm);  /* Piccolo padding bottom */
    border-top: 0.5px solid rgba(212, 165, 116, 0.2);
    text-align: center;
    font-size: 15px !important;  /* Font più leggibile */
    color: #FFFFFF !important;  /* Bianco pieno */
}

.footer-bottom p {
    color: inherit !important;
    font-size: inherit !important;
    margin: 0;
}

.footer-bottom a {
    color: var(--oro-caldo);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ==============================================
   5. RESPONSIVE FOOTER
   ============================================== */

@media (max-width: 768px) {
    .footer {
        padding: var(--space-xl) 0 var(--space-lg);  /* Ancora più compatto su mobile */
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        margin-bottom: var(--space-lg);
    }
    
    .footer-section {
        text-align: center;
    }

    .footer-section h3 {
        font-size: 24px;  /* Manteniamo 24px anche su tablet */
    }
    
    .footer-section:first-child {
        border-bottom: 1px solid rgba(212, 165, 116, 0.2);
        padding-bottom: var(--space-xl);
    }
    
    .footer-bottom {
        padding-top: var(--space-md);
        font-size: 14px !important;  /* Leggermente più piccolo su mobile */
    }
}

@media (max-width: 480px) {
    .footer {
        padding: var(--space-lg) 0 var(--space-md);
    }
    
    .footer-content {
        gap: var(--space-lg);
    }
    
    .footer-section h3 {
       margin-bottom: var(--space-sm);
        font-size: 22px;  /* Aggiungiamo dimensione specifica mobile */
    }
}