/* Site footer — Adgrey */
.site-footer {
    --ft-bg: #1a1230;
    --ft-deep: #30205a;
    --ft-accent: var(--pembe, #b91f8e);
    --ft-text: rgba(255, 255, 255, 0.92);
    --ft-muted: rgba(255, 255, 255, 0.58);
    --ft-line: rgba(255, 255, 255, 0.1);
    --ft-surface: rgba(255, 255, 255, 0.06);
    position: relative;
    width: 100%;
    color: var(--ft-text);
    background:
        radial-gradient(ellipse 55% 60% at 0% 100%, rgba(185, 31, 142, 0.18), transparent 55%),
        radial-gradient(ellipse 45% 50% at 100% 0%, rgba(48, 32, 90, 0.55), transparent 50%),
        linear-gradient(180deg, #24183d 0%, var(--ft-bg) 100%);
    padding: 0;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(185, 31, 142, 0.55), transparent);
    pointer-events: none;
}

.site-footer-main {
    padding: 3.25rem 0 2.5rem;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.15fr;
    gap: 2.5rem 2rem;
    align-items: start;
}

.site-footer-brand-logo {
    display: block;
    width: auto;
    height: 72px;
    margin-bottom: 1rem;
}

.site-footer-tagline {
    max-width: 18rem;
    margin: 0 0 1.35rem;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--ft-text);
}

.site-footer-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.site-footer-partners a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 0.4rem 0.55rem;
    min-height: 48px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.site-footer-partners a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    text-decoration: none;
}

.site-footer-partners img {
    display: block;
    max-height: 36px;
    width: auto;
    max-width: 108px;
    object-fit: contain;
}

.site-footer-heading {
    display: block;
    margin: 0 0 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ft-accent);
}

.site-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 1.25rem;
}

.site-footer-links a {
    color: var(--ft-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-footer-links a:hover {
    color: #fff;
    text-decoration: none;
    padding-left: 0.2rem;
}

.site-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.site-footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ft-surface);
    border: 1px solid var(--ft-line);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-footer-social a:hover {
    background: var(--ft-accent);
    border-color: var(--ft-accent);
    transform: translateY(-2px);
    text-decoration: none;
}

.site-footer-social img {
    width: 1.05rem;
    height: 1.05rem;
    filter: invert(1);
    opacity: 0.9;
}

.site-footer-handle {
    display: block;
    margin: 0 0 1.5rem;
    color: var(--ft-muted);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.site-footer-newsletter-title {
    display: block;
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ft-accent);
}

.site-footer-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 22rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--ft-line);
    border-radius: 999px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-footer-form:focus-within {
    border-color: rgba(185, 31, 142, 0.55);
    box-shadow: 0 0 0 3px rgba(185, 31, 142, 0.15);
}

.site-footer .footer_email_aboneligi_txt {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0.7rem 1rem !important;
    line-height: 1.3 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 0.9rem;
    outline: none;
    box-shadow: none;
}

.site-footer .footer_email_aboneligi_txt::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.site-footer .gonder_btn_footer {
    position: static !important;
    margin: 0.25rem !important;
    padding: 0.55rem 1.1rem !important;
    line-height: 1.2 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--ft-accent) !important;
    color: #fff !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.site-footer .gonder_btn_footer:hover {
    background: #9e1a7a !important;
    transform: translateY(-1px);
}

.site-footer #footer_mail_aboneligi_ltr,
.site-footer .small {
    display: block;
    margin-top: 0.55rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.site-footer-bottom {
    border-top: 1px solid var(--ft-line);
    padding: 1.1rem 0 1.25rem;
}

.site-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
}

.site-footer-copy {
    margin: 0;
    font-size: 0.82rem;
    color: var(--ft-muted);
}

.site-footer-techex {
    display: inline-flex;
    align-items: center;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.site-footer-techex:hover {
    opacity: 1;
    text-decoration: none;
}

.site-footer-techex img {
    height: 24px;
    width: auto;
    max-width: 160px;
}

/* Eski .footer padding/box-shadow bastırma */
.footer.site-footer,
div.footer.site-footer {
    min-height: 0;
    padding: 0 !important;
    box-shadow: none !important;
    background-color: transparent;
}

@media (max-width: 991.98px) {
    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
    }

    .site-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .site-footer-main {
        padding: 2.5rem 0 2rem;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }

    .site-footer-brand {
        grid-column: auto;
    }

    .site-footer-brand-logo {
        height: 64px;
    }

    .site-footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer-form {
        max-width: none;
    }

    .site-footer-bottom {
        padding-bottom: 5rem;
    }

    .site-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer-partners a,
    .site-footer-social a,
    .site-footer-links a,
    .site-footer .gonder_btn_footer {
        transition: none;
    }
}
