﻿.footer-gsb-block {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.footer-gsb-logo {
    flex: 0 0 96px;
}

    .footer-gsb-logo img {
        display: block;
        width: 96px;
        height: 96px;
        object-fit: contain;
        /* Renkli SVG'yi duz beyaza cevirir */
        filter: brightness(0) invert(1);
    }

.footer-gsb-content {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.footer-gsb-title {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
    /* nowrap kaldirildi: kolon daraldiginda baslik yan kolona tasiyordu */
    white-space: normal;
}

.footer-gsb-address {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    margin-bottom: 3px;
}

    .footer-gsb-address:hover {
        color: #fff;
        text-decoration: underline;
    }

.footer-gsb-mail {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 12px;
}

/* ALO GSB telefonu: eski sagdaki Iletisim kartindan logo blogunun altina tasindi */
.footer-gsb-phone {
    /* flex (inline-flex degil): e-postanin yanina gecmesin, kendi satirinda dursun */
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .3px;
    text-decoration: none;
    margin-bottom: 14px;
}

    .footer-gsb-phone i {
        color: var(--gsb-red);
        font-size: .95rem;
        background: rgba(227,0,27,.1);
        width: 30px;
        height: 30px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .footer-gsb-phone:hover {
        color: #fff;
    }

        .footer-gsb-phone:hover i {
            background: rgba(227,0,27,.2);
        }

    .footer-gsb-mail:hover {
        color: #fff;
        text-decoration: underline;
    }

.footer-gsb-social {
    display: flex;
    align-items: center;
    gap: 7px;
}


/* Tablet */
@media (max-width: 991.98px) {

    .footer-gsb-block {
        max-width: 520px;
    }

    .footer-gsb-title {
        white-space: normal;
    }
}


/* Mobil */
@media (max-width: 575.98px) {

    .footer-gsb-block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        max-width: 100%;
    }

    .footer-gsb-logo {
        flex: none;
        width: 100%;
    }

        .footer-gsb-logo img {
            width: 80px;
            height: 80px;
            margin: 0;
        }

    .footer-gsb-content {
        width: 100%;
        padding-top: 0;
        text-align: left;
    }

    .footer-gsb-title {
        font-size: 16px;
        white-space: normal;
        margin-bottom: 6px;
    }

    .footer-gsb-address {
        font-size: 14px;
    }

    .footer-gsb-mail {
        font-size: 14px;
    }

    .footer-gsb-social {
        justify-content: flex-start;
    }
}
.footer-links-arrow {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .footer-links-arrow li {
        margin: 0;
        padding: 0;
        /* Liste iki sutuna bolunurse madde ortadan kesilmesin */
        break-inside: avoid;
    }

        /* Bosluk li marjinda degil, a'nin padding'inde durur:
           boylece yazinin ustundeki ve altindaki bosluk esit olur
           (marjla verilince ust 13px / alt 3px seklinde asimetrikti). */

    /* Ok/yazi hizasi base.css'teki flex duzeninden gelir.
       Buradaki mutlak konumlu ok kaldirildi: hover'da padding-left
       16px -> 8px dustugu icin yazi okun ustune biniyordu. */
    .footer-links-arrow a {
        line-height: 1.45;
        text-decoration: none;
        padding: 6px 0;
    }

/* YATAY BUYUME
   Kolon genisligini Bootstrap'in 12'lik matematigine bagli olmaktan cikarir.
   Boylece markup'a yeni bir menu kolonu eklendiginde satir tasmaz
   (5+2+2+2+3 = 14 > 12 oldugu icin Iletisim alt satira dusuyordu);
   kolonlar mevcut oranlarini koruyarak yeri paylasir. */
@media (min-width: 992px) {
    .footer-widgets .row {
        --bs-gutter-x: 2.5rem;
        align-items: flex-start;
    }

        .footer-widgets .row > [class*="col-lg-"] {
            flex: 1 1 0;
            width: auto;
            max-width: none;
            min-width: 150px;
        }

        /* Hakkinda ve Iletisim kolonlari menulerden genis kalsin
           (eski 5 : 2 : 3 oranina karsilik gelir) */
        .footer-widgets .row > .col-lg-5 {
            flex-grow: 1.4;
            /* Logo + yazi yan yana sigsin: menu kolonu sayisi artsa bile
               bu kolon belli bir genisligin altina inmez. */
            min-width: 340px;
        }
}
    .footer-links-arrow a {
        white-space: normal;
        word-break: normal;
    }
