/**
 * Footer Styles
 *
 * @package My_Premium_Theme
 */

/* ==========================================================================
   Footer
   ========================================================================== */
.mpt-footer {
    background: var(--mpt-secondary);
    color: var(--mpt-gray-300);
}

/* ==========================================================================
   Footer Widgets
   ========================================================================== */
.mpt-footer-widgets {
    padding: var(--mpt-spacing-4xl) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mpt-footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(var(--footer-columns, 4), 1fr);
    gap: var(--mpt-spacing-2xl);
}

.mpt-footer-widget {
    margin-bottom: var(--mpt-spacing-lg);
}

.mpt-footer-widget:last-child {
    margin-bottom: 0;
}

.mpt-footer-widget-title {
    color: var(--mpt-white);
    font-size: var(--mpt-text-lg);
    margin-bottom: var(--mpt-spacing-lg);
    padding-bottom: var(--mpt-spacing-sm);
    border-bottom: 2px solid var(--mpt-primary);
    display: inline-block;
}

.mpt-footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mpt-footer-widget ul li {
    margin-bottom: var(--mpt-spacing-sm);
}

.mpt-footer-widget ul li a {
    color: var(--mpt-gray-400);
    transition: color var(--mpt-transition-fast);
}

.mpt-footer-widget ul li a:hover {
    color: var(--mpt-white);
}

.mpt-footer-widget p {
    color: var(--mpt-gray-400);
    line-height: var(--mpt-leading-relaxed);
}

/* ==========================================================================
   Footer Bottom
   ========================================================================== */
.mpt-footer-bottom {
    padding: var(--mpt-spacing-lg) 0;
}

.mpt-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--mpt-spacing-md);
}

.mpt-copyright {
    color: var(--mpt-gray-500);
    font-size: var(--mpt-text-sm);
}

.mpt-copyright a {
    color: var(--mpt-gray-400);
}

.mpt-copyright a:hover {
    color: var(--mpt-white);
}

/* Footer Menu */
.mpt-footer-menu {
    display: flex;
    gap: var(--mpt-spacing-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.mpt-footer-menu a {
    color: var(--mpt-gray-400);
    font-size: var(--mpt-text-sm);
    transition: color var(--mpt-transition-fast);
}

.mpt-footer-menu a:hover {
    color: var(--mpt-white);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .mpt-footer-widgets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mpt-footer-widgets-grid {
        grid-template-columns: 1fr;
    }
    
    .mpt-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

