/**
 * Radio Station Theme - Footer Styles
 * Flexible widget areas with CSS Grid
 * 
 * @package Radio_Station_Theme
 */

/* ==========================================================================
   Above Footer Navigation
   ========================================================================== */

.above-footer-nav {
    background: #222;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.above-footer-nav .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
}

.above-footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
}

.above-footer-nav li a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.above-footer-nav li a:hover,
.above-footer-nav li.current-menu-item a {
    color: #fff;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
    background: #1a1a1a;
    color: #fff;
    margin-top: 0;
}

/* ==========================================================================
   Footer Widgets
   ========================================================================== */

.footer-widgets {
    padding: 60px 0 40px;
    background: #222;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Responsive grid: 2-4 columns based on content */
@media (min-width: 600px) {
    .footer-widgets-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (min-width: 783px) {
    .footer-widgets-grid {
        gap: 50px;
    }
}

@media (min-width: 1200px) {
    .footer-widgets-grid {
        gap: 60px;
    }
}

/* Footer widget styling */
.footer-column .widget {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.footer-column .widget-title {
    color: #fff;
    font-size: 18px;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #667eea;
}

.footer-column .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column .widget li {
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: none;
}

.footer-column .widget a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-column .widget a:hover {
    color: #667eea;
    padding-left: 5px;
}

.footer-column .widget p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ==========================================================================
   Footer Bottom
   ========================================================================== */

.footer-bottom {
    padding: 25px 0;
    background: #1a1a1a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: center;
}

@media (min-width: 783px) {
    .footer-bottom-content {
        flex-direction: row;
        text-align: left;
    }
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Footer navigation menu */
.footer-navigation {
    display: flex;
}

.footer-navigation ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
    justify-content: center;
}

@media (min-width: 783px) {
    .footer-navigation ul {
        justify-content: flex-end;
    }
}

.footer-navigation a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-navigation a:hover {
    color: #667eea;
}

/* ==========================================================================
   Footer Widget Variations
   ========================================================================== */

/* Social icons in footer */
.footer-column .widget_social_icons a,
.footer-column .widget.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-column .widget_social_icons a:hover,
.footer-column .widget.social-links a:hover {
    background: #667eea;
    transform: translateY(-3px);
    padding-left: 0;
}

/* Search form in footer */
.footer-column .search-form {
    display: flex;
    gap: 10px;
}

.footer-column .search-form input[type="search"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.footer-column .search-form input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-column .search-form button {
    background: #667eea;
    min-width: 44px;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 600px) {
    .footer-widgets {
        padding: 40px 0 20px;
    }

    .footer-widgets-grid {
        gap: 30px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==========================================================================
   Touch-Friendly Controls
   ========================================================================== */

@media (hover: none) and (pointer: coarse) {
    .footer-navigation a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .footer-column .widget a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}
