/* Footer styles for SweetBank website */
.footer {
    background: linear-gradient(180deg, #000000 0%, rgba(225, 39, 116, 0.05) 100%);
    border-top: 1px solid rgba(225, 39, 116, 0.2);
    color: #FFFFFF;
    padding: 3rem 2rem 2rem;
    position: relative;
    min-height: auto;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #E12774, transparent);
    opacity: 0.5;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    justify-items: center;
    width: 100%;
    max-width: 800px;
}

.footer-content > div {
    text-align: center;
    min-width: 200px;
    transition: transform 0.3s ease;
    padding: 1rem;
    border-radius: 8px;
    position: relative;
}

.footer-content > div:hover {
    transform: translateY(-3px);
}

.footer-content > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #E12774, transparent);
    transition: width 0.3s ease;
}

.footer-content > div:hover::before {
    width: 80%;
}

.footer-logo img {
    width: 45px;
    height: 45px;
    margin-right: 12px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #E12774;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo span {
    color: #FFFFFF;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #E12774;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #E12774;
    border-radius: 1px;
}

.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.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: #E12774;
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(225, 39, 116, 0.2);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    animation: subtleGlow 4s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0% {
        text-shadow: 0 0 5px rgba(225, 39, 116, 0.1);
    }
    100% {
        text-shadow: 0 0 10px rgba(225, 39, 116, 0.2);
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 1.5rem 1.5rem;
    }

    .footer-container {
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 100%;
    }

    .footer-logo {
        margin-bottom: 0.5rem;
    }

    .footer-logo h2 {
        font-size: 1.6rem;
    }

    .footer-logo img {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .footer h4 {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.2rem;
        font-size: 0.85rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 1rem 1rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-content > div {
        min-width: auto;
    }

    .footer-logo h2 {
        font-size: 1.4rem;
    }

    .footer h4 {
        font-size: 1rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }
}

/* Subtle background pattern */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(225, 39, 116, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(225, 39, 116, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Ensure content stays above the background pattern */
.footer-container {
    position: relative;
    z-index: 1;
}
