/* ===== FOOTER STYLES ===== */

footer {
    background: var(--primary-black);
    color: var(--primary-white);
    padding-top: 0;
    /* Removed padding to eliminate black gap above white features */
}

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

.footer-main {
    padding-top: var(--spacing-lg);
    /* Added padding here since removed from parent footer */
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer About */
.footer-about {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 1.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 1.125rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
}

/* Footer Links */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

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

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 0.5rem;
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.8);
}

.contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1rem;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

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

/* Footer Bottom */
.footer-bottom {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-payment span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    gap: 0.75rem;
}

.payment-icon {
    width: 50px;
    height: 32px;
    background: var(--primary-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.payment-icon i {
    font-size: 1.5rem;
    color: var(--soft-black);
}

.payment-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 3rem 2rem;
    background: #ffffff;
    /* White background */
    margin-top: 0;
    /* Remove margin to connect seamlessly if needed, or keep spacing */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Separator from footer */
}

.trust-badge {
    text-align: center;
}

.trust-badge-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-white);
}

.trust-badge-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-black);
    /* Dark text */
    margin-bottom: 0.5rem;
}

.trust-badge-desc {
    font-size: 0.85rem;
    color: #666;
    /* Dark grey text */
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    color: var(--primary-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-gold);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-about {
        max-width: 100%;
    }

    .trust-badges {
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    footer {
        padding-top: var(--spacing-lg);
        padding-bottom: 5rem;
        /* Extra space for floating buttons */
    }

    .footer-content {
        padding: 0 1rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: var(--spacing-md);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 0;
    }

    .footer-copyright {
        width: 100%;
    }

    .footer-copyright p {
        font-size: 0.85rem;
        line-height: 1.6;
        word-wrap: break-word;
        margin: 0;
    }

    .footer-payment {
        flex-direction: column;
    }

    .trust-badges {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        font-size: 1.5rem;
    }

    .footer-logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .footer-social {
        flex-wrap: wrap;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}