﻿/* ============================================
   E-MAZADE FOOTER - MODERN STYLES
   ============================================ */

.site-footer {
    --footer-bg: #0f172a;
    --footer-bg-light: #1e293b;
    --footer-text: #94a3b8;
    --footer-text-light: #e2e8f0;
    --footer-accent: #3b82f6;
    --footer-border: rgba(148, 163, 184, 0.1);
    position: relative;
    background-color: var(--footer-bg);
    color: var(--footer-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin-top: auto;
}

/* Decorative accent line at top */
.footer-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--footer-accent) 0%, #8b5cf6 50%, #06b6d4 100% );
}

/* Container */
.footer-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   MAIN FOOTER SECTION
   ============================================ */

.footer-main {
    padding: 4rem 0 3rem;
}

    .footer-main .footer-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
    }

/* Brand Column */
.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: opacity 0.2s ease;
}

    .footer-logo:hover {
        opacity: 0.8;
    }

    .footer-logo img {
        height: 28px;
        width: auto;
        filter: brightness(0) invert(1);
    }

.footer-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--footer-text);
    margin-bottom: 2rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--footer-text);
    transition: all 0.25s ease;
    border: 1px solid var(--footer-border);
}

    .social-link:hover {
        background-color: var(--footer-accent);
        color: white;
        transform: translateY(-2px);
        border-color: var(--footer-accent);
        box-shadow: 0 8px 16px rgba(59, 130, 246, 0.25);
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

/* ============================================
   NAVIGATION COLUMNS
   ============================================ */

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.5rem;
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-nav-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--footer-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

    .footer-nav-list li {
        font-size: 0.9375rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-nav-list a {
        color: var(--footer-text);
        text-decoration: none;
        transition: all 0.2s ease;
        position: relative;
        display: inline-block;
    }

        .footer-nav-list a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1.5px;
            background-color: var(--footer-accent);
            transition: width 0.3s ease;
        }

        .footer-nav-list a:hover {
            color: var(--footer-text-light);
        }

            .footer-nav-list a:hover::after {
                width: 100%;
            }

/* Feature badges */
.feature-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Contact items */
.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--footer-text);
}

    .contact-item svg {
        color: var(--footer-accent);
        flex-shrink: 0;
    }

    .contact-item a {
        color: var(--footer-text);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .contact-item a:hover {
            color: var(--footer-accent);
        }

/* ============================================
   BOTTOM BAR
   ============================================ */

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--footer-border);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    color: var(--footer-text);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

    .footer-bottom-links a {
        font-size: 0.875rem;
        color: var(--footer-text);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .footer-bottom-links a:hover {
            color: var(--footer-text-light);
        }

.footer-trust {
    font-size: 0.875rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .footer-trust a {
        color: var(--footer-text);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .footer-trust a:hover {
            color: var(--footer-accent);
        }

.trust-badge {
    font-size: 1rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (min-width: 768px) {
    .footer-main .footer-container {
        grid-template-columns: 1.2fr 2fr;
        gap: 4rem;
    }

    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-bottom-links {
        order: 2;
    }

    .footer-trust {
        order: 3;
    }
}

@media (min-width: 1024px) {
    .footer-main {
        padding: 5rem 0 4rem;
    }

        .footer-main .footer-container {
            gap: 6rem;
        }
}

@media (max-width: 767px) {
    .footer-container {
        padding: 0 1.5rem;
    }

    .footer-main {
        padding: 3rem 0 2rem;
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-brand {
        text-align: center;
        margin: 0 auto;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .social-link,
    .footer-nav-list a::after {
        transition: none;
    }
}
