/* Footer Styles */

.site-footer {
    background: #1a1a1a;
    color: white;
    margin-top: 80px;
}

.footer-widgets {
    padding: 60px 5% 40px;
}

.footer-widgets-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-widget-area {
    color: #aaa;
}

.footer-widget-area .widget-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

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

.footer-widget-area a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.footer-widget-area a:hover {
    color: white;
}

.footer-widget-area p {
    color: #aaa;
    line-height: 1.8;
}

/* Widget Specific Styles */
.footer-widget-area .widget_recent_entries ul li,
.footer-widget-area .widget_recent_comments ul li,
.footer-widget-area .widget_archive ul li,
.footer-widget-area .widget_categories ul li,
.footer-widget-area .widget_meta ul li,
.footer-widget-area .widget_pages ul li,
.footer-widget-area .widget_nav_menu ul li {
    padding-left: 0;
}

.footer-widget-area .post-date {
    display: block;
    font-size: 0.875rem;
    color: #888;
    margin-top: 0.25rem;
}

/* Social Links in Footer */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: #2a2a2a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.social-link:hover {
    background: #2d5016;
    transform: translateY(-3px);
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #333;
    padding: 30px 5%;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
}

.site-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-info p {
    margin: 0;
    color: #666;
}

.footer-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.footer-menu a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-widgets {
        padding: 40px 5% 30px;
    }

    .footer-widgets-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-info {
        flex-direction: column;
        text-align: center;
    }

    .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .social-links {
        justify-content: center;
    }
}

/* Widget Styles for All Areas */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

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

.widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
}

/* Search Widget */
.widget_search .search-form {
    position: relative;
}

.widget_search .search-field {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
}

.widget_search .search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #2d5016;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

/* Tag Cloud */
.tagcloud a,
.wp-block-tag-cloud a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    margin: 0.25rem;
    border-radius: 20px;
    font-size: 0.875rem !important;
    transition: all 0.3s;
}

.tagcloud a:hover,
.wp-block-tag-cloud a:hover {
    background: #2d5016;
    color: white;
}
