/* Footer — marka, sosyal, telif */
footer {
    background-color: var(--color-surface);
    padding: 1.25rem var(--space-grid-margin) 1.1rem;
    border-top: 1px solid var(--color-outline);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--color-on-surface);
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    opacity: 0.9;
}

.footer-brand:hover,
.footer-brand:focus-visible {
    opacity: 1;
}

footer .social-links {
    display: flex;
    gap: 0;
    align-items: center;
    margin-left: auto;
}

footer .social-links a {
    color: var(--color-on-surface);
    font-size: 0.95rem;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity var(--duration-normal) var(--ease-premium);
}

footer .social-links .social-icon,
footer .social-links a svg {
    display: block;
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    fill: currentColor;
    color: inherit;
    overflow: visible;
}

footer .social-links a:hover,
footer .social-links a:focus-visible {
    opacity: 1;
    color: var(--color-on-surface);
}

.copyright {
    flex: 1 0 100%;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: var(--font-body);
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--color-on-surface-variant);
    text-align: center;
    opacity: 0.85;
}

@media (min-width: 1024px) {
    footer {
        padding: 1.6rem var(--space-grid-margin) 1.35rem;
    }

    .footer-inner {
        gap: 0.75rem 1.75rem;
    }

    .footer-brand {
        font-size: 1.05rem;
    }

    footer .social-links a {
        width: 44px;
        height: 44px;
    }

    footer .social-links .social-icon,
    footer .social-links a svg {
        width: 1.15rem;
        height: 1.15rem;
        fill: currentColor;
    }

    .copyright {
        margin-top: 0.35rem;
        font-size: 0.8rem;
        letter-spacing: 0.01em;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 1rem var(--space-md) 0.9rem;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        gap: 0.15rem;
    }

    footer .social-links {
        margin-left: 0;
    }

    .footer-brand {
        font-size: 0.9rem;
    }

    .copyright {
        margin-top: 0.15rem;
        font-size: 0.7rem;
    }
}
