/* ========================================
   FOOTER - Modern & Clean Design
   Dark/Light Mode Compatible
   ======================================== */

/* CSS Variables for Dark/Light Mode */
:root[data-theme="light"],
:root:not([data-theme]) {
    --footer-bg: #f8f9fa;
    --footer-text: #212529;
    --footer-text-muted: #6c757d;
    --footer-border: #dee2e6;
    --footer-heading: #1a1a1a;
    --footer-link-hover: #667eea;
}

:root[data-theme="dark"] {
    --footer-bg: #05070a;
    --footer-text: #e6edf3;
    --footer-text-muted: #8b949e;
    --footer-border: #1a1e23;
    --footer-heading: #ffffff;
    --footer-link-hover: #8b9aff;
}

html[data-theme="light"] .footer,
html:not([data-theme]) .footer {
    --footer-bg: #f8f9fa;
    --footer-text: #212529;
    --footer-text-muted: #6c757d;
    --footer-border: #dee2e6;
    --footer-heading: #1a1a1a;
    --footer-link-hover: #667eea;
}

html[data-theme="dark"] .footer {
    --footer-bg: #05070a;
    --footer-text: #e6edf3;
    --footer-text-muted: #8b949e;
    --footer-border: #1a1e23;
    --footer-heading: #ffffff;
    --footer-link-hover: #8b9aff;
}

/* Footer Container */
.footer {
    background: var(--footer-bg) !important;
    border-top: 1px solid var(--footer-border);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    color: var(--footer-text) !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Brand */
.footer-brand {
    text-decoration: none;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Social Section */
.social-section {
    margin-top: 1.5rem;
}

.social-label {
    font-size: 0.875rem;
    color: var(--footer-text-muted) !important;
    margin-bottom: 0.75rem;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.social-btn.instagram {
    background: linear-gradient(135deg, #f093fb, #f5576c) !important;
}

.social-btn.facebook {
    background: #4267B2 !important;
}

.social-btn.whatsapp {
    background: #25D366 !important;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .social-btn:hover {
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* Headings */
.footer-heading {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--footer-heading) !important;
    margin-bottom: 1rem;
}

.footer-heading-link {
    color: inherit !important;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-heading-link:hover {
    color: var(--footer-link-hover) !important;
}

/* Menu Lists */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: var(--footer-text-muted) !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--footer-link-hover) !important;
}

/* Contact List */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--footer-text) !important;
}

.footer-contact i {
    color: #667eea !important;
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--footer-text) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--footer-link-hover) !important;
}

.footer-contact span {
    color: var(--footer-text-muted) !important;
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--footer-border);
}

.copyright-text {
    font-size: 0.875rem;
    color: var(--footer-text-muted) !important;
}

.copyright-text strong {
    color: var(--footer-heading) !important;
}

.footer-legal {
    font-size: 0.875rem;
}

.footer-legal a {
    color: var(--footer-text-muted) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--footer-link-hover) !important;
}

.footer-legal .separator {
    margin: 0 0.5rem;
    color: var(--footer-border) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }

    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-6 {
        text-align: center;
    }

    .footer-menu {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom .col-md-6 {
        margin-bottom: 0.5rem;
    }
}