/**
 * Footer Styles
 * Shared footer styling for all pages
 */

/* Footer */
.page-footer {
    background: #0f172a;
    color: white;
    padding: 3rem 1.5rem;
    text-align: center;
    margin-top: 5rem;
    width: 100%;
    clear: both; /* Clear any floats */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto; /* Center the footer content */
    padding: 0;
}

.footer-text {
    font-size: 0.9375rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    font-size: 0.875rem;
}

.footer-link:hover {
    opacity: 1;
}

/* Ensure footer is not affected by grid layouts */
.page-footer {
    display: block;
    grid-column: 1 / -1; /* Span all columns if inside grid */
}

/* Dark mode support */
[data-theme="dark"] .page-footer {
    background: #0a0f1a;
    border-top: 1px solid var(--border, #334155);
}

[data-theme="dark"] .footer-link {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .footer-link:hover {
    color: white;
}


