/**
 * Footer Builder Styles
 *
 * CSS for footer builder components and layouts.
 *
 * @package ProductMantis
 * @since 2.0.0
 */

/* Footer Container */
.pm-footer {
    width: 100%;
    margin-top: 4rem;
}

.pm-footer-dark {
    background: #1e293b;
    color: #f1f5f9;
}

.pm-footer-light {
    background: #f8fafc;
    color: #1e293b;
    border-top: 1px solid #e2e8f0;
}

/* Footer Rows */
.pm-footer-row {
    padding: 2rem 0;
}

.pm-footer-row-top {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pm-footer-row-bottom {
    padding: 1.5rem 0;
}

/* Widget Columns */
.pm-widget-columns {
    gap: 2rem;
}

.pm-footer-widget h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.pm-footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pm-footer-widget ul li {
    margin-bottom: 0.5rem;
}

.pm-footer-widget a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.pm-footer-widget a:hover {
    opacity: 1;
}

/* Footer Columns */
.pm-footer-columns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.pm-footer-column {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pm-footer-column-left {
    justify-content: flex-start;
}

.pm-footer-column-center {
    justify-content: center;
}

.pm-footer-column-right {
    justify-content: flex-end;
}

/* Copyright Component */
.pm-footer-copyright p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Footer Menu */
.pm-footer-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.pm-footer-nav-menu li {
    margin: 0;
}

.pm-footer-nav-menu a {
    color: inherit;
    text-decoration: none;
    font-size: 0.875rem;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.pm-footer-nav-menu a:hover {
    opacity: 1;
}

/* Footer Social Icons */
.pm-footer-social .pm-social-icons {
    display: flex;
    gap: 0.75rem;
}

.pm-footer-social .pm-social-icon {
    color: inherit;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.pm-footer-social .pm-social-icon:hover {
    opacity: 1;
}

.pm-footer-social .pm-social-icon svg {
    width: 20px;
    height: 20px;
}

.pm-footer-social.pm-social-rounded .pm-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-footer-dark .pm-footer-social.pm-social-rounded .pm-social-icon {
    background: rgba(255, 255, 255, 0.1);
}

.pm-footer-light .pm-footer-social.pm-social-rounded .pm-social-icon {
    background: rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .pm-widget-columns {
        grid-template-columns: 1fr !important;
    }

    .pm-footer-columns {
        flex-direction: column;
        text-align: center;
    }

    .pm-footer-column {
        justify-content: center !important;
    }

    .pm-footer-nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}