/* * FEATURE: Footer Styles
 * File: viralgrid/assets/css/footer.css
 */

/* --- Footer Global Styles --- */
.site-footer {
    background-color: #000000; /* Pure Black */
    color: #ffffff;
    margin-top: 60px;
    font-size: 0.95rem;
    position: relative;
}

/* Footer specific container override */
.site-footer .container {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 20px;
    margin-top: 0;
    max-width: 1200px;
}

.site-footer a {
    color: #cbd5e1; /* Light Gray Links */
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer a:hover {
    color: #ffffff;
}

/* --- 1. Widget Area (4 Columns) --- */
.footer-widgets {
    padding: 60px 0 20px; /* Adjusted padding */
    background: #000;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Columns on PC */
    gap: 40px; /* Wider gap for PC */
    align-items: start;
}

/* Widget Title (Green) */
.footer-column .widget-title {
    color: #22c55e; /* Bright Green */
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

/* Widget Lists (Global) */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px; /* More spacing between items */
    position: relative;
    padding-left: 18px; /* Space for bullet */
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Square Bullet Point (Visible on ALL devices) */
.footer-column ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px; /* Center vertically with text */
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 1px; /* Slight rounding */
}

/* Remove default bullet points from widgets */
.footer-column .widget ul,
.footer-column .widget ol {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* --- 2. Footer Bottom Section --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px 0;
    text-align: center;
    position: relative;
    background: #000;
}

/* Social Icons */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-social-icon {
    color: #fff;
    width: 24px;
    height: 24px;
    display: block;
    transition: transform 0.2s, color 0.2s;
}
.footer-social-icon:hover {
    transform: translateY(-3px);
    color: #22c55e;
}
.footer-social-icon svg {
    width: 24px; 
    height: 24px;
}

/* Footer Menu */
.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-menu-list a {
    font-size: 0.9rem;
    color: #cbd5e1;
}
.footer-menu-list a:hover {
    text-decoration: underline;
    color: #fff;
}

/* Copyright */
.site-info {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Scroll Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #f97316; /* Orange */
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top-btn:hover {
    transform: translateY(-3px);
    color: #fff;
}

/* --- RESPONSIVE RULES --- */

/* Tablet (2 Columns) */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile (1 Column - Left Aligned) */
@media (max-width: 600px) {
    .footer-widgets {
        padding-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Stack */
        gap: 30px;
        text-align: left; /* FIX: Align left like screenshot */
    }

    /* Ensure bullets are visible and aligned */
    .footer-column ul li {
        padding-left: 18px;
        display: block;
    }
    .footer-column ul li::before {
        display: block; /* Show bullets */
        left: 0;
    }

    /* Bottom section adjustments */
    .footer-menu-list {
        gap: 15px;
        flex-direction: row; /* Keep menu items horizontal if possible, or column if too many */
    }
    
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}