/* Global Footer Styles */
.main-footer {
    background-color: var(--cabinet-title);
    color: var(--footer-text, #ffffff);
    padding: 3rem 0 0;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    position: relative;
    z-index: 100;
    /* Ensure it stays above other elements */
    margin-top: 80px;
    /* Push to bottom */
}

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

.footer-column h3.footer-title {
    color: var(--cabinet-accent);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--cabinet-accent);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Contact Column */
.footer-contact p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--cabinet-accent);
    margin-top: 4px;
}

.footer-contact a {
    color: var(--footer-text, #ffffff);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--cabinet-accent);
}

.footer-hours {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Links Columns */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--footer-text-muted, rgba(255, 255, 255, 0.7));
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--cabinet-accent);
    transform: translateX(5px);
}

/* Map Button */
.footer-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--cabinet-accent);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.footer-map-btn:hover {
    filter: brightness(0.9);
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    background-color: var(--footer-bottom-bg, rgba(0, 0, 0, 0.2));
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--footer-text-muted, rgba(255, 255, 255, 0.5));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 5px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-column h3.footer-title {
        display: block;
        margin-left: auto;
        margin-right: auto;
        border-bottom-width: 1px;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-links a:hover {
        transform: none;
    }
}