/* ================================
   Reusable Footer Styles
   ================================ */

.site-footer {
    background: var(--footer-bg, #2c3e50);
    color: var(--footer-text, #ecf0f1);
    padding: 3rem 0 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

[data-theme="dark"] .site-footer {
    background: var(--footer-bg-dark, #0f172a);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 3rem 0;
}

.footer-services {
    grid-column: 1 / -1;
}

.footer-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    line-height: 1.7;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-hours {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-hours strong {
    color: white;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.3rem 0;
}

.footer-links a:hover {
    color: var(--primary-color, #3ccde7);
    padding-left: 5px;
}

.footer-services-list {
    column-count: 3;
    column-gap: 2rem;
}

.footer-services-list li {
    break-inside: avoid;
    margin-bottom: 0.6rem;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Dark mode styles */
[data-theme="dark"] .site-footer {
    background-color: #1a202c;
}

[data-theme="dark"] .footer-widget h3 {
    color: #e2e8f0;
}

[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer-widget p,
[data-theme="dark"] .footer-contact-info li {
    color: #cbd5e0;
}

[data-theme="dark"] .footer-bottom {
    background: rgba(0, 0, 0, 0.3);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .footer-services-list {
        column-count: 2;
        column-gap: 1.5rem;
    }
    
    .footer-services {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-container {
        padding: 0 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-services-list {
        column-count: 2;
        column-gap: 1.5rem;
    }
    
    .footer-services {
        text-align: left;
    }
    
    .footer-services h3 {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-services-list {
        column-count: 1;
    }
}