/* Footer - shared across pages */
.footer {
    background: linear-gradient(135deg, var(--night), var(--accent-color));
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--wisteria), var(--brown-sugar), transparent);
}

.footer-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 3rem 2rem 1.5rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 4rem;
    margin-bottom: 2.5rem;
}

.footer-intro h2 {
    font-family: var(--font-tertiary);
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h3 {
    font-family: var(--font-tertiary);
    font-size: 1.1rem;
    color: var(--wisteria);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section a:hover {
    color: var(--brown-sugar);
    transform: translateX(4px);
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-section a:hover::before {
    opacity: 1;
}

.footer-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-top: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-credits {
    flex: 1;
}

.footer-credits p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-copyright {
        text-align: center;
    }
}
