/**
 * Footer – Sıfırdan radikal tasarım
 * Sınıflar: .f (root), .f__strip (üst şerit), .f__legal (alt satır)
 * Eski footer-widgets / footer-bottom stilleri kullanılmıyor.
 */

.f {
    margin-top: 4rem;
    background: #fff;
    border-top: 4px solid #0d47a1;
    color: #1a1a1a;
}

/* ========== Üst şerit: Marka | Linkler | Sosyal ========== */
.f__strip {
    padding: 2rem 0;
    border-bottom: 1px solid #e8e8e8;
}

.f__wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.f__brand {
    flex-shrink: 0;
}

.f__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.f__logo img {
    max-height: 44px;
    width: auto;
    height: auto;
    display: block;
}

.f__name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: -0.02em;
    display: inline-block;
    transition: color 0.2s ease;
}

.f__name:hover {
    color: #0d47a1;
}

.f__tagline {
    font-size: 0.8125rem;
    color: #666;
    margin: 0.25rem 0 0;
    max-width: 280px;
}

/* Newsletter */
.f__newsletter {
    flex-shrink: 0;
    min-width: 0;
}
.f__newsletter .newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.f__newsletter .newsletter-input-group {
    display: flex;
    gap: 0;
}
.f__newsletter .newsletter-email {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 0.875rem;
}
.f__newsletter .newsletter-submit {
    padding: 0.5rem 1rem;
    background: #0d47a1;
    color: #fff;
    border: 1px solid #0d47a1;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Nav linkler */
.f__nav {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.f__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 1.75rem;
}

.f__links li {
    margin: 0;
}

.f__links a {
    font-size: 0.9375rem;
    color: #444;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.f__links a:hover {
    color: #0d47a1;
}

/* Sosyal ikonlar */
.f__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

.f__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #444;
    transition: background 0.2s ease, color 0.2s ease;
}

.f__social-link:hover {
    background: #1a1a1a;
    color: #fff;
}

.f__social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ========== Alt satır: Telif + Yasal linkler ========== */
.f__legal {
    padding: 1rem 0;
}

.f__legal .f__wrap {
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.f__copy {
    margin: 0;
    font-size: 0.8125rem;
    color: #666;
}

.f__copy a {
    color: #333;
    text-decoration: none;
}

.f__copy a:hover {
    color: #0d47a1;
}

.f__extra {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    color: #888;
}

.f__legal-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.25rem;
}

.f__legal-links li {
    margin: 0;
}

.f__legal-links a {
    font-size: 0.8125rem;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.f__legal-links a:hover {
    color: #0d47a1;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .f {
        margin-top: 3rem;
    }

    .f__strip .f__wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .f__nav {
        justify-content: flex-start;
    }

    .f__links {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .f__legal .f__wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}
