/**
 * Site footer — tüm sayfalar (eski footer_area1 / primay_bg renkleri)
 */

.site-footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 0;
    margin-top: 0;
}

/* Faydalı bağlantılardan hemen sonra — arada beyaz boşluk kalmasın */
.home-block--links + .site-footer {
    margin-top: 0;
}

/* Bağlantılar bloğu yoksa (sadece main → footer) hafif üst boşluk */
.site-main--inner + .site-footer,
.site-main + .site-footer {
    margin-top: 2rem;
}

.site-footer > .container {
    padding: 2.75rem 0 2rem;
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.15fr) minmax(0, 2fr) minmax(200px, 0.85fr);
    gap: 2rem 2.5rem;
    align-items: start;
}

.site-footer__logo-link {
    display: inline-block;
    margin-bottom: 0.85rem;
    line-height: 0;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer__logo-link img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    filter:
        drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45))
        drop-shadow(0 0 28px rgba(201, 162, 39, 0.22));
    transition: filter 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer__logo-link:hover {
    transform: scale(1.04);
}

.site-footer__logo-link:hover img {
    filter:
        drop-shadow(0 10px 32px rgba(0, 0, 0, 0.55))
        drop-shadow(0 0 36px rgba(201, 162, 39, 0.35));
}

.site-footer__brand h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-footer__tagline {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.site-footer__address {
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 1rem;
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.site-footer__social a:hover {
    background: rgba(43, 143, 199, 0.35);
    border-color: #2b8fc7;
    color: #fff;
}

.site-footer__menus {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
}

.site-footer__menu-title {
    color: #fff;
    margin: 0 0 0.85rem;
    padding-bottom: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 2px solid #2b8fc7;
}

.site-footer__menu-list,
.site-footer__contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__menu-list li,
.site-footer__contact-list li {
    margin-bottom: 0.45rem;
}

.site-footer__menu-list a,
.site-footer__contact-list a {
    font-size: 0.875rem;
    line-height: 1.45;
}

.site-footer__contact-list i {
    width: 1.1rem;
    margin-right: 0.35rem;
    opacity: 0.75;
    color: #94a3b8;
}

.site-footer__contact-list span {
    font-size: 0.875rem;
    color: #cbd5e1;
}

.site-footer__contact-address {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #cbd5e1;
}

.site-footer__contact-address i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.site-footer__bottom {
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.15rem 0;
}

/* Nöbet şeridi ile bitişik: rezerv alan footer renginde, body padding yok */
.site-page.nobet-sticky-active .site-footer {
    margin-bottom: 0;
}

.site-page.nobet-sticky-active .site-footer__bottom {
    padding-bottom: calc(1.15rem + var(--nobet-sticky-offset, 48px));
    margin-bottom: 0;
}

.site-footer__bottom .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0 20px;
}

.site-footer__copy {
    font-size: 0.875rem;
    color: #94a3b8;
}

.site-footer__admin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(148, 163, 184, 0.08);
    color: #e2e8f0;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.site-footer__admin-link i {
    font-size: 0.85rem;
}

.site-footer__admin-link:hover,
.site-footer__admin-link:focus-visible {
    border-color: rgba(148, 163, 184, 0.62);
    background: rgba(148, 163, 184, 0.16);
    color: #f8fafc;
    transform: translateY(-1px);
}

.site-footer__admin-link:focus-visible {
    outline: 2px solid rgba(226, 232, 240, 0.45);
    outline-offset: 3px;
}

.site-footer__partner {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.9rem 0.5rem 1rem;
    max-height: 2.25rem;
    box-sizing: border-box;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(255, 255, 255, 0.03) 100%
    );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 4px 14px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.site-footer__partner:hover,
.site-footer__partner:focus-visible {
    border-color: rgba(255, 255, 255, 0.28);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.11) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 6px 18px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.site-footer__partner:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.45);
    outline-offset: 3px;
}

.site-footer__partner-eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    white-space: nowrap;
    transition: color 0.2s ease;
}

.site-footer__partner:hover .site-footer__partner-eyebrow,
.site-footer__partner:focus-visible .site-footer__partner-eyebrow {
    color: rgba(226, 232, 240, 0.98);
}

.site-footer__partner-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.8125rem;
    line-height: 1;
    min-height: 0;
}

.site-footer__partner-logo {
    display: block;
    height: 1.35em;
    width: auto;
    max-height: 1.125rem;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 1;
    filter: brightness(1.12) contrast(1.08);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.site-footer__partner:hover .site-footer__partner-logo,
.site-footer__partner:focus-visible .site-footer__partner-logo {
    filter: brightness(1.2) contrast(1.1);
    transform: scale(1.03);
}

.site-footer__partner-name {
    font-size: inherit;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f8fafc;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__menus {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__partner {
        justify-content: flex-start;
    }
}

/* Mobil/Tablet: footer daha merkezli, daha kullanisli */
@media (max-width: 767px) {
    .site-footer > .container {
        padding: 2.2rem 14px 1.55rem;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        text-align: center;
    }

    .site-footer__brand,
    .site-footer__menus,
    .site-footer__contact {
        width: 100%;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .site-footer__logo-link {
        margin-bottom: 0.65rem;
    }

    .site-footer__logo-link img {
        width: 96px;
        height: 96px;
    }

    .site-footer__brand h3 {
        font-size: 1rem;
        letter-spacing: 0.03em;
    }

    .site-footer__tagline {
        margin-bottom: 0.9rem;
        font-size: 0.82rem;
    }

    .site-footer__social {
        justify-content: center;
        gap: 0.55rem;
    }

    .site-footer__social a {
        width: 40px;
        height: 40px;
    }

    .site-footer__menus {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.95rem;
    }

    .site-footer__menu-col {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        padding: 0.85rem 0.8rem;
    }

    .site-footer__menu-title {
        margin-bottom: 0.7rem;
        border-bottom: 0;
        padding-bottom: 0;
        font-size: 0.76rem;
        letter-spacing: 0.08em;
        color: #e2e8f0;
    }

    .site-footer__menu-list li,
    .site-footer__contact-list li {
        margin-bottom: 0.4rem;
    }

    .site-footer__menu-list a,
    .site-footer__contact-list a,
    .site-footer__contact-list span {
        font-size: 0.86rem;
        line-height: 1.5;
    }

    .site-footer__contact-list i {
        margin-right: 0.2rem;
    }

    .site-footer__contact-address {
        justify-content: center;
        text-align: center;
    }

    .site-footer__bottom {
        padding: 1rem 0;
    }

    .site-footer__bottom .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
        text-align: center;
        padding: 0 14px;
    }

    .site-footer__copy {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .site-footer__admin-link {
        width: 100%;
        max-width: 360px;
        min-height: 44px;
        justify-content: center;
        border-radius: 12px;
        font-size: 0.8rem;
    }

    .site-footer__partner {
        width: 100%;
        max-width: 360px;
        min-height: 44px;
        justify-content: center;
        padding: 0.55rem 0.8rem;
        max-height: none;
        border-radius: 12px;
    }

    .site-footer__partner-brand {
        padding-left: 0.5rem;
        gap: 0.42rem;
    }

    .site-footer__partner-eyebrow {
        font-size: 0.64rem;
        letter-spacing: 0.05em;
    }

    .site-footer__partner-name {
        letter-spacing: 0.08em;
        font-size: 0.78rem;
    }
}

@media (max-width: 390px) {
    .site-footer > .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-footer__menu-col {
        border-radius: 12px;
        padding: 0.75rem 0.7rem;
    }

    .site-footer__partner {
        padding: 0.52rem 0.72rem;
    }

    .site-footer__partner-name {
        font-size: 0.74rem;
        letter-spacing: 0.07em;
    }
}
