/*
 * Bileşen: Ana Footer (v3.2 - Final)
 */

.bfwt-footer {
    padding-top: clamp(40px, 8vw, 80px); /* Sayfa içeriği ile footer arasına boşluk koyar */
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.bfwt-footer a {
    text-decoration: none;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

.bfwt-footer a:hover {
    color: var(--color-primary);
}

/* --- ANA FOOTER BÖLÜMÜ --- */
.bfwt-footer__main-block.bfwt-content-block-outer {
    margin-bottom: 0; /* Socket ile arasındaki varsayılan boşluğu kaldır */
}

.bfwt-footer__main-grid {
    display: grid;
    gap: 40px 30px;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 500px) {
    .bfwt-footer__main-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .bfwt-footer__main-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.bfwt-footer__column--about .site-logo-container {
    display: block;
    max-width: 180px;
}

.bfwt-footer__column--about .site-logo-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

.bfwt-footer__tagline {
    margin: 15px 0 20px 0;
    max-width: 300px;
}

.bfwt-footer__title {
    font-size: var(--font-size-md);
    font-weight: 700;
    color: var(--color-text-base);
    margin: 0 0 15px 0;
}

.bfwt-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bfwt-footer__links a,
.bfwt-footer__policies a {
    position: relative;
    padding-bottom: 3px;
}

.bfwt-footer__links a::after,
.bfwt-footer__policies a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    transition: width 0.3s ease-in-out;
}

.bfwt-footer__links a:hover::after,
.bfwt-footer__policies a:hover::after {
    width: 100%;
}

/* --- ALT FOOTER (SOCKET) --- */
.bfwt-footer__socket {
    background-color: var(--color-background);
    padding: 30px 0;
    font-size: var(--font-size-xs);
    color: var(--color-text-subtle);
}

.bfwt-footer__socket-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

@media (min-width: 992px) {
    .bfwt-footer__socket-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }
}

.bfwt-footer__copyright,
.bfwt-footer__legal {
    margin: 0;
    line-height: 1.5;
}

.bfwt-footer__copyright {
    color: var(--color-text-muted);
}

.bfwt-footer__legal {
    margin-top: 4px;
}

.bfwt-footer__policies {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
    justify-content: center;
}

@media (min-width: 992px) {
    .bfwt-footer__policies {
        justify-content: flex-start;
    }
}

.bfwt-footer__disclaimer {
    margin-top: 15px;
    font-style: italic;
    max-width: 500px;
}

.bfwt-footer__disclaimer a {
    text-decoration: underline;
    font-style: normal;
}

.bfwt-footer__socket-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .bfwt-footer__socket-right {
        margin-top: 0;
    }
}

.bfwt-footer__socket-logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bfwt-footer__socket-logo-group img {
    height: 35px;
    width: auto;
}