/**
 * WP Blaze Footer Styles
 * 
 * Footer widget layouts and styling
 *
 * @package WP_Blaze
 */

/* ==========================================================================
   Footer Widget Layouts
   ========================================================================== */

/* Default footer widgets container */
.footer-widgets {
    padding: 2rem 1rem;
}

/* Horizontal layout (default) - side by side */
.footer-widgets-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.footer-widgets-horizontal .footer-widget-area {
    flex: 1;
    min-width: 250px;
}

/* Vertical layout - stacked */
.footer-widgets-vertical {
    display: block;
}

.footer-widgets-vertical .footer-widget-area {
    margin-bottom: 2rem;
    max-width: 100%;
}

.footer-widgets-vertical .footer-widget-area:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-widgets-horizontal {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-widgets-horizontal .footer-widget-area {
        min-width: auto;
    }
    
    .footer-widgets-vertical .footer-widget-area {
        margin-bottom: 1.5rem;
    }
}

/* ==========================================================================
   Footer Widget Area Styling
   ========================================================================== */

.footer-widget-area {
    padding: 1rem;
}

.footer-widget-area h2,
.footer-widget-area h3,
.footer-widget-area h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: inherit;
}

.footer-widget-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget-area ul li {
    margin-bottom: 0.5rem;
}

.footer-widget-area a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.footer-widget-area a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ==========================================================================
   Footer Navigation
   ========================================================================== */

.footer-navigation {
    padding: 1rem;
    text-align: center;
}

.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-navigation a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.footer-navigation a:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Site Info / Copyright
   ========================================================================== */

.site-info {
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.site-info .sep {
    margin: 0 0.5rem;
}

.site-info a {
    color: inherit;
    text-decoration: none;
}

.site-info a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Footer Responsive Design
   ========================================================================== */

@media (max-width: 600px) {
    .footer-widgets {
        padding: 1.5rem 1rem;
    }
    
    .footer-widget-area {
        padding: 0.5rem;
    }
    
    .footer-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .site-info {
        padding: 1rem;
        font-size: 0.8rem;
    }
}