/* ============================================
   GAMBINI FOOTER UNIFIED STYLES
   ============================================ */

/* CSS Variables - Fallback for pages without existing :root */
:root {
    --primary-brown: #2D2B24;
    --accent-gold: #D4B373;
    --white: #FFFFFF;
    --brown-dark: #2D2B24;
    --gold: #D4B373;
}

.footer {
    background: #2D2B24;
    background: var(--primary-brown, var(--brown-dark, #2D2B24));
    color: #FFFFFF;
    color: var(--white, #FFFFFF);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #D4B373;
    color: var(--accent-gold, var(--gold, #D4B373));
    margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: #D4B373;
    color: var(--accent-gold, var(--gold, #D4B373));
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #FFFFFF;
    font-size: 18px;
}

.social-links a:hover {
    background: #D4B373;
    background: var(--accent-gold, var(--gold, #D4B373));
    transform: translateY(-3px);
    color: #2D2B24;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

.cms-link {
    color: #D4B373;
    color: var(--accent-gold, var(--gold, #D4B373));
    text-decoration: none;
    font-weight: 600;
}

.cms-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* RTL Support */
[dir="rtl"] .footer-content {
    direction: rtl;
}

[dir="rtl"] .social-links {
    flex-direction: row-reverse;
}

/* Additional utility classes for footer consistency */
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-contact-item i {
    color: #D4B373;
    color: var(--accent-gold, var(--gold, #D4B373));
    width: 20px;
}
