/* public/css/footer.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

.footer {
    width: 100%;
    font-family: 'Poppins', Arial, sans-serif;
    background: var(--footer-bg);
    color: var(--footer-text);
    position: relative;
    z-index: 5;
    overflow: hidden;
    border-top-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
}

/* Main Footer */
.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding: 50px 40px;
    max-width: 1280px;
    margin: 0 auto;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    border-radius: 16px 16px 0 0;
    position: relative;
}

/* Glow Effect */
.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transform: translateX(-50%);
    opacity: 0.5;
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(0.1s * var(--i));
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-title:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(var(--accent-color-rgb, 192, 127, 59), 0.5);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    transition: width 0.4s ease;
}

.footer-section:hover .footer-title::after {
    width: 60px;
}

/* Navigation Links */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--link-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.footer-link:hover {
    color: var(--link-hover);
    transform: translateX(8px);
    text-shadow: 0 0 5px rgba(var(--link-hover-rgb, 31, 78, 95), 0.3);
}

.footer-link::before {
    content: '✦';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--accent-color);
    font-size: 12px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-link:hover::before {
    opacity: 1;
    transform: translateX(-5px);
}

/* Social Links */
.social-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--active-text);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 15px rgba(var(--accent-color-rgb, 192, 127, 59), 0.4);
}

.social-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-link:hover::after {
    width: 80px;
    height: 80px;
}

.social-icon {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
}


/* Contact Info */
.contact-info {
    font-size: 15px;
    margin: 0;
    color: var(--footer-text);
    line-height: 1.8;
}

.contact-info a.footer-link {
    color: var(--link-color);
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.contact-info a.footer-link:hover {
    color: var(--link-hover);
    text-shadow: 0 0 5px rgba(var(--link-hover-rgb, 31, 78, 95), 0.3);
}

/* Bottom Bar */
.footer-bottom {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.footer-copyright {
    margin: 0;
    font-size: 13px;
    color: var(--footer-text);
    opacity: 0.85;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-copyright:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 934px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 25px;
        border-radius: 12px 12px 0 0;
    }

    .footer-section {
        align-items: flex-start;
        text-align: left;
    }

    .footer-links {
        align-items: flex-start;
    }

    .social-links {
        justify-content: flex-start;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
        align-items: stretch;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
        box-sizing: border-box;
    }

    .footer-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 30px 20px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-link,
    .contact-info,
    .newsletter-input,
    .newsletter-btn {
        font-size: 14px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-icon {
        width: 20px;
        height: 20px;
    }

    .footer-bottom {
        padding: 15px 20px;
    }

    .footer-copyright {
        font-size: 12px;
    }
}

.footer-payments .payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.payment-icons img {
    height: 32px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.payment-icons img:hover {
    transform: scale(1.1);
    filter: brightness(1) invert(0);
}