/* Footer Styles */
footer {
    background: var(--deep-brown);
    color: var(--white);
    padding: 3rem 0 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
    text-align: center;
}

.footer-content > div {
    padding: 0;
    text-align: center;
}

.footer-content h4 {
    margin-top: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-accent) !important;
    margin-bottom: 1rem !important;
    text-align: center;
}

.footer-content p {
    margin: 0;
    line-height: 1.6;
    color: #ccc;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer-links li {
    margin-bottom: 0.5rem;
    text-align: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    display: inline-block;
}

.footer-links a:hover, 
.footer-links a:focus {
    color: var(--gold-accent);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

.footer-bottom p {
    text-align: center !important;
    margin: 0 !important;
    width: 100%;
    display: block;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    footer {
        text-align: center !important;
    }
    
    footer .container {
        text-align: center !important;
        max-width: none !important;
        padding: 0 15px !important;
    }
    
    footer * {
        text-align: center !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        text-align: center !important;
        justify-items: center !important;
    }
    
    .footer-content > div {
        text-align: center !important;
        width: 100%;
        margin: 0 auto;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .footer-content h4 {
        text-align: center !important;
        width: 100%;
    }
    
    .footer-content p {
        text-align: center !important;
        width: 100%;
    }
    
    .footer-links {
        text-align: center !important;
        width: 100%;
        margin: 0 auto;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .footer-links li {
        text-align: center !important;
        width: 100%;
    }
    
    .footer-links a {
        text-align: center !important;
        display: block;
        width: 100%;
    }
}
