/*
 * Site altbilgisi (views/web/layouts/footer.php): siyah zemin, beyaz logo, açıklama ve sosyal medya, menü sütunları,
 * iletişim; altta telif ve "Başa dön". main.css'teki eski footer kuralları (footer .footer-content …) bu sınıflara
 * uygulanmaz; main.css marka dallarında ayrıştığı için altbilgi stili burada. site-header.css gibi her sayfada yüklenir.
 */

.site-footer {
    --sf-text: rgba(255, 255, 255, .62);
    --sf-line: rgba(255, 255, 255, .12);
    padding: 0;
    background: #000000;
    color: var(--sf-text);
    font-size: 15px;
}

.site-footer a {
    text-decoration: none;
}

.sf-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.sf-main {
    padding: clamp(56px, 6vw, 88px) 0 clamp(40px, 5vw, 64px);
}

.sf-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px clamp(32px, 4vw, 64px);
}

.sf-brand {
    flex: 1.7 1 300px;
    min-width: 0;
}

.sf-col {
    flex: 1 1 160px;
    min-width: 0;
}

.sf-logo {
    display: inline-block;
}

/* main.css her görsele object-fit: cover veriyor (footer-logo hariç tutulmuş); oran yine korunsun */
.sf-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 46px;
    object-fit: contain !important;
}

.sf-logo-text {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #ffffff;
}

.sf-about {
    max-width: 360px;
    margin: 26px 0 0;
    line-height: 1.75;
    color: var(--sf-text);
}

.sf-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.sf-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--sf-line);
    border-radius: 50%;
    font-size: 16px;
    color: #ffffff;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.sf-social a:hover,
.sf-social a:focus-visible {
    border-color: #ffffff;
    background: #ffffff;
    color: #000000;
    transform: translateY(-3px);
}

.sf-title {
    margin: 0 0 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #ffffff;
}

.sf-col ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-col a {
    color: var(--sf-text);
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: color .2s ease, background-size .35s ease;
}

.sf-col a:hover,
.sf-col a:focus-visible {
    color: #ffffff;
    background-size: 100% 1px;
}

.sf-contact a {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    background-image: none;
    line-height: 1.6;
}

.sf-contact i {
    width: 16px;
    margin-top: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
    text-align: center;
}

.sf-contact a:hover span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sf-bottom {
    border-top: 1px solid var(--sf-line);
}

.sf-bottom-in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.sf-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 24px;
}

.sf-copy {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

/* "Çerez Tercihleri": çerez bandını yeniden açar (cookie-consent.js) */
.sf-cc {
    padding: 0;
    border: 0;
    background: none;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.sf-cc:hover,
.sf-cc:focus-visible {
    color: #ffffff;
}

/* ---------------------------------------------------------------- çerez onay bandı
   Altta sabit beyaz şerit (footer.php, cookie-consent.js). İki düğme aynı boyut ve görünümde: reddetmek kabul etmek
   kadar kolay olmalı (KVKK çerez rehberi). Açık reklam penceresinin (popup) de üstünde durur. */
.cc {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    border-top: 1px solid #e7e7e7;
    background: #ffffff;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, .08);
    color: #5f5f5f;
    animation: cc-rise .45s cubic-bezier(.2, .7, .2, 1);
}

.cc[hidden] {
    display: none;
}

.cc-in {
    display: flex;
    align-items: center;
    gap: 18px 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 15px;
}

.cc-body {
    flex: 1 1 auto;
    min-width: 0;
}

.cc-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #232834;
}

.cc-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
}

.cc-text a {
    color: #232834;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.cc-actions {
    display: flex;
    flex: none;
    gap: 10px;
}

.cc-btn {
    min-width: 150px;
    padding: 13px 20px;
    border: 1px solid #000000;
    border-radius: var(--radius-btn, 0);
    background: #000000;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.cc-btn:hover,
.cc-btn:focus-visible {
    background: #ffffff;
    color: #000000;
}

/* Bant açıkken WhatsApp düğmesi bandın üstünde */
body.cc-open .floating-btn {
    bottom: calc(var(--cc-h, 0px) + 20px);
}

@keyframes cc-rise {
    from {
        transform: translateY(100%);
    }

    to {
        transform: none;
    }
}

.sf-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #ffffff;
}

.sf-top i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--sf-line);
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.sf-top:hover {
    color: #ffffff;
}

.sf-top:hover i {
    background: #ffffff;
    color: #000000;
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .sf-brand {
        flex-basis: 100%;
    }

    .sf-col {
        flex-basis: calc(50% - 20px);
    }

    .sf-contact {
        flex-basis: 100%;
    }

    .sf-logo img {
        height: 40px;
    }

    .sf-bottom-in {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .cc-in {
        flex-direction: column;
        align-items: stretch;
        padding: 18px 15px;
    }

    .cc-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 13px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sf-social a,
    .sf-top i {
        transition: none;
    }

    .cc {
        animation: none;
    }
}
