/* FlowerAura Footer Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --footer-bg: #f5f5f5;
    --footer-text: #444;
    --footer-link: #666;
    --footer-heading: #333;
    --footer-border: #ddd;
    --accent-color: #a34f45;
}

/* Footer Styles */
.floweraura-footer-container {
    font-family: 'Poppins', sans-serif;
    margin-top: 40px;
    color: var(--footer-text);
}

/* Footer Links Section */
.footer-links-section {
    background-color: var(--footer-bg);
    padding: 50px 0 30px;
}

.footer-links-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links-column {
    width: 20%;
    padding-right: 20px;
    margin-bottom: 20px;
}

.footer-links-column h3 {
    color: var(--footer-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.footer-links-column h3::after {
    display: none;
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--footer-heading);
    border-bottom: 2px solid var(--footer-heading);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.footer-links-column h3.active::after {
    transform: rotate(-135deg);
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.footer-links-column ul li {
    margin-bottom: 8px;
}

.footer-links-column ul li a {
    color: var(--footer-link);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-column ul li a:hover {
    color: var(--accent-color);
}

/* Footer App Column */
.footer-app-column {
    width: 20%;
}

.footer-app-column h3 {
    color: var(--footer-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.qr-code-container {
    margin: 15px 0;
}

.qr-code {
    max-width: 120px;
    height: auto;
}

.app-store-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-store-badge img {
    max-width: 120px;
    height: auto;
}

/* Social Media Section */
.footer-social-section {
    padding: 20px 0;
    background-color: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
}

.footer-social-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-heading {
    color: var(--footer-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.social-icon img {
    width: 18px;
    height: 18px;
}

/* Copyright Section */
.footer-copyright-section {
    background-color: #fff;
    padding: 15px 0;
    border-top: 1px solid var(--footer-border);
}

.footer-copyright-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright-text {
    font-size: 13px;
    color: var(--footer-text);
}

.payment-methods {
    display: flex;
    align-items: center;
}

.payment-methods span {
    font-size: 13px;
    margin-right: 10px;
}

.payment-icons img {
    height: 30px;
}

/* Back to Top Button */
.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* Override Magento default footer styles */
.page-footer {
    background-color: transparent;
    margin-top: 0;
    padding-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .footer-links-container,
    .footer-social-container,
    .footer-copyright-container {
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .footer-links-section {
        padding: 40px 0 20px;
    }

    .footer-links-column,
    .footer-app-column {
        width: 33.33%;
    }

    .footer-app-column {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .footer-links-section {
        padding: 30px 0 10px;
    }

    .footer-links-column,
    .footer-app-column {
        width: 50%;
        padding-right: 15px;
    }

    .footer-copyright-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .payment-methods {
        justify-content: center;
    }

    .footer-links-column h3::after {
        display: block;
    }

    .footer-links-column ul {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
    }

    .footer-links-column.active ul {
        max-height: 200px;
        opacity: 1;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .footer-links-section {
        padding: 20px 0 10px;
    }

    .footer-links-column,
    .footer-app-column {
        width: 100%;
        padding-right: 0;
    }

    .footer-app-column {
        text-align: center;
    }

    .qr-code-container {
        display: flex;
        justify-content: center;
    }

    .app-store-links {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    .social-heading {
        font-size: 14px;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }

    .copyright-text {
        font-size: 12px;
    }
}
