/**
 * Footer Layouts CSS
 * WowMart Pro - Simplified Footer Styles
 *
 * @package WowMart Pro
 */

/* ========================================
   Common Footer Styles
   ======================================== */

.site-footer {
    position: relative;
    width: 100%;
    margin-top: auto;
}

/* Footer Top - Elementor Template Container */
.footer-top-elementor {
    width: 100%;
}

/* Footer Top - Widget Area (alternative) */
.footer-widgets {
    padding: 60px 0 30px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-widget ul li a {
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-widget ul li a:hover {
    padding-left: 5px;
}

/* ========================================
   Footer Bottom
   ======================================== */

.footer-bottom {
    background: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-copyright {
    font-size: 14px;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

/* Footer Bottom Style 1 - Default (Copyright | Social | Payment) */
.footer-bottom-style-1 .row {
    display: flex;
    align-items: center;
}

/* Footer Bottom Style 2 (Social | Copyright | Payment) */
.footer-bottom-style-2 .row {
    display: flex;
    align-items: center;
}

.footer-bottom-style-2 .text-center {
    text-align: center;
}

.footer-bottom-style-2 .text-end {
    text-align: right;
}

/* Footer Bottom Style 3 (Payment | Copyright | Social) */
.footer-bottom-style-3 .row {
    display: flex;
    align-items: center;
}

.footer-bottom-style-3 .text-center {
    text-align: center;
}

.footer-bottom-style-3 .text-end {
    text-align: right;
}

/* Footer Bottom Style 4 (Centered with Social & Payment Below) */
.footer-bottom-style-4 .footer-bottom-centered {
    text-align: center;
}

.footer-bottom-style-4 .footer-copyright-main {
    margin-bottom: 15px;
}

.footer-bottom-style-4 .footer-bottom-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* ========================================
   Footer Social Links
   ======================================== */

.footer-social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-social-links .social-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: currentColor;
}

.footer-social-links .social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-social-links .social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ========================================
   Footer Payment Icons
   ======================================== */

.footer-payment-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-payment-icons .payment-label {
    font-size: 14px;
    margin-right: 8px;
    font-weight: 500;
}

.footer-payment-icons .payment-icon {
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    border-radius: 3px;
    overflow: hidden;
}

.footer-payment-icons .payment-icon svg {
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.footer-payment-icons .payment-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* ========================================
   Footer Menu
   ======================================== */

.footer-navigation .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.footer-navigation .footer-menu li {
    margin: 0;
}

.footer-navigation .footer-menu a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-navigation .footer-menu a:hover {
    opacity: 0.7;
}

/* ========================================
   Back to Top Button
   ======================================== */

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#back-to-top.show {
    display: flex;
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ========================================
   Responsive Styles
   ======================================== */

@media (max-width: 991px) {
    .footer-widgets {
        padding: 40px 0 20px;
    }
    
    .footer-widget {
        margin-bottom: 25px;
    }
    
    /* Footer Bottom Responsive */
    .footer-bottom-style-1 .row,
    .footer-bottom-style-2 .row,
    .footer-bottom-style-3 .row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom-style-2 .text-center,
    .footer-bottom-style-2 .text-end,
    .footer-bottom-style-3 .text-center,
    .footer-bottom-style-3 .text-end {
        text-align: center;
    }
    
    .footer-bottom-right {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-copyright {
        margin-bottom: 15px;
    }
    
    .footer-bottom-right {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-social-links,
    .footer-payment-icons {
        justify-content: center;
    }
    
    #back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* ========================================
   Accessibility
   ======================================== */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.footer-social-links .social-link:focus,
.footer-navigation .footer-menu a:focus,
#back-to-top:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
