/**
 * Footer Styles
 * Based on the provided design
 *
 * @package CreateAI
 */

.site-footer {
    width: 100%;
    background: transparent;
    padding: 1.25rem 2rem; /* Reduced internal padding */
    margin-top: 0; /* Uniform footer spacing - controlled by page wrapper padding-bottom */
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; /* Reduced gap between links and copyright */
}

/* Footer Links Container */
.footer-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem; /* Reduced gap between links */
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
}

/* Copyright Box */
.copyright-box {
    margin-top: 0.5rem; /* Reduced from 1rem */
}

.copyright-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem; /* Slightly smaller */
    margin: 0;
    text-align: center;
}

/* Category Links - Hidden visually but accessible to crawlers */
.footer-category-links {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.footer-category-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 1rem 1rem; /* More compact on mobile */
        margin-top: 0; /* Uniform footer spacing - controlled by page wrapper padding-bottom */
    }
    
    .footer-container {
        gap: 0.75rem; /* Tighter spacing on mobile */
    }
    
    .footer-links-container {
        gap: 0.75rem; /* Tighter link spacing on mobile */
        flex-direction: column;
    }
    
    .footer-link {
        font-size: 0.875rem; /* Smaller text on mobile */
    }
    
    .copyright-text {
        font-size: 0.8125rem;
    }
}

