/*
|--------------------------------------------------------------------------
| Alibeyköy Adıyaman Çiğ Köfte
| Site Footer Tasarımı
|--------------------------------------------------------------------------
*/

.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 76px 24px 24px;
    border-top: 1px solid rgba(16, 37, 30, 0.09);
    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(242, 199, 92, 0.12),
            transparent 27%
        ),
        radial-gradient(
            circle at 94% 7%,
            rgba(35, 126, 87, 0.08),
            transparent 29%
        ),
        #ffffff;
    color: #10251e;
}

.site-footer::before {
    position: absolute;
    z-index: -1;
    right: -150px;
    bottom: -210px;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(16, 37, 30, 0.045);
    border-radius: 50%;
    box-shadow:
        0 0 0 62px rgba(16, 37, 30, 0.016),
        0 0 0 124px rgba(16, 37, 30, 0.01);
    content: "";
    pointer-events: none;
}

.site-footer a {
    color: inherit;
}

.site-footer__inner {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.site-footer__top {
    display: grid;
    grid-template-columns:
        minmax(270px, 1.05fr)
        minmax(430px, 1.4fr)
        minmax(270px, 0.9fr);
    gap: clamp(42px, 5vw, 76px);
    align-items: start;
    padding-bottom: 58px;
}

/* Marka ve iletişim */

.site-footer__brand {
    min-width: 0;
}

.site-footer__brand-link {
    display: inline-grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    max-width: 330px;
    text-decoration: none;
}

.site-footer__logo-frame {
    display: grid;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border: 1px solid rgba(16, 37, 30, 0.11);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(16, 37, 30, 0.09);
    place-items: center;
}

.site-footer__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.site-footer__brand-link > span:last-child {
    display: grid;
    gap: 3px;
}

.site-footer__brand-link strong {
    color: #10251e;
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.site-footer__brand-link small {
    color: #8a6810;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.site-footer__brand-copy {
    max-width: 340px;
    margin: 24px 0 0;
    color: #63716c;
    font-size: 0.88rem;
    line-height: 1.7;
}

.site-footer__contact-list {
    display: grid;
    gap: 9px;
    max-width: 360px;
    margin: 23px 0 0;
    font-style: normal;
}

.site-footer__contact-list a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 8px 0;
    color: #43534d;
    font-size: 0.82rem;
    line-height: 1.48;
    text-decoration: none;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.site-footer__contact-list i {
    display: grid;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(16, 96, 67, 0.11);
    border-radius: 10px;
    background: #eef7f3;
    color: #126b4c;
    font-size: 0.9rem;
    place-items: center;
}

.site-footer__contact-list span {
    padding-top: 5px;
}

/* Footer menüsü */

.site-footer__navigation {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 42px);
    min-width: 0;
}

.site-footer__column {
    min-width: 0;
}

.site-footer__column h2 {
    display: flex;
    gap: 9px;
    align-items: center;
    margin: 5px 0 21px;
    color: #8a6810;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.site-footer__column h2::before {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #d2a92f;
    content: "";
}

.site-footer__column ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__column li {
    min-width: 0;
}

.site-footer__column a {
    position: relative;
    display: inline-flex;
    padding: 7px 0;
    color: #53615c;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

/* Sosyal alan */

.site-footer__social {
    min-width: 0;
}

.site-footer__social-eyebrow {
    margin: 4px 0 13px;
    color: #8a6810;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.site-footer__social > h2 {
    max-width: 300px;
    margin: 0;
    color: #10251e;
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    font-weight: 720;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.site-footer__social-links {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.site-footer__social-link {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    gap: 12px;
    align-items: center;
    min-width: 0;
    min-height: 66px;
    padding: 11px 13px;
    border: 1px solid rgba(16, 37, 30, 0.1);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(16, 37, 30, 0.06);
    transition:
        transform 200ms ease,
        border-color 200ms ease,
        background-color 200ms ease;
}

.site-footer__social-link > span:first-child {
    display: grid;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    color: #ffffff;
    font-size: 1.18rem;
    place-items: center;
}

.site-footer__social-link--instagram > span:first-child {
    background:
        linear-gradient(
            135deg,
            #833ab4 0%,
            #fd1d1d 52%,
            #fcb045 100%
        );
}

.site-footer__social-link--tiktok > span:first-child {
    background: #111111;
    box-shadow:
        inset 2px 0 rgba(37, 244, 238, 0.58),
        inset -2px 0 rgba(254, 44, 85, 0.58);
}

.site-footer__social-link > span:nth-child(2) {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.site-footer__social-link small {
    color: #74817c;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__social-link strong {
    overflow: hidden;
    color: #10251e;
    font-size: 0.76rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-footer__social-link > i {
    color: #126b4c;
    font-size: 0.82rem;
}

/* Alt bilgi satırı */

.site-footer__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 20px 0 0;
    border-top: 1px solid rgba(16, 37, 30, 0.1);
}

.site-footer__bottom p {
    margin: 0;
    color: #74817c;
    font-size: 0.72rem;
    line-height: 1.5;
}

.site-footer__bottom strong {
    color: #43534d;
    font-weight: 650;
}

.site-footer__back-top {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-self: end;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(16, 96, 67, 0.15);
    border-radius: 12px;
    background: #eef7f3;
    color: #126b4c;
    font-size: 0.72rem;
    font-weight: 750;
    text-decoration: none;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease;
}

/* Etkileşimler */

@media (hover: hover) and (pointer: fine) {
    .site-footer__brand-link:hover .site-footer__logo-frame {
        border-color: rgba(242, 199, 92, 0.62);
    }

    .site-footer__contact-list a:hover,
    .site-footer__column a:hover {
        color: #0d6849;
        transform: translateX(3px);
    }

    .site-footer__social-link:hover {
        transform: translateY(-3px);
        border-color: rgba(16, 96, 67, 0.24);
        background: #ffffff;
    }

    .site-footer__back-top:hover {
        transform: translateY(-2px);
        border-color: rgba(16, 96, 67, 0.3);
        background: #e3f2ec;
    }
}

.site-footer a:focus-visible {
    outline: 3px solid rgba(242, 199, 92, 0.75);
    outline-offset: 4px;
}

/* Görünürlük animasyonu */

.site-footer [data-footer-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 620ms ease,
        transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer [data-footer-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-footer__navigation[data-footer-reveal] {
    transition-delay: 80ms;
}

.site-footer__social[data-footer-reveal] {
    transition-delay: 150ms;
}

.site-footer__bottom[data-footer-reveal] {
    transition-delay: 210ms;
}

/* Tablet */

@media (max-width: 1100px) {
    .site-footer {
        padding-top: 64px;
    }

    .site-footer__top {
        grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
        gap: 48px;
    }

    .site-footer__navigation {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer__social {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(240px, 0.72fr) minmax(430px, 1.28fr);
        gap: 38px;
        align-items: end;
        padding-top: 34px;
        border-top: 1px solid rgba(16, 37, 30, 0.09);
    }

    .site-footer__social-eyebrow {
        grid-column: 1;
        margin-bottom: 11px;
    }

    .site-footer__social > h2 {
        grid-column: 1;
    }

    .site-footer__social-links {
        grid-column: 2;
        grid-row: 1 / span 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 0;
    }
}

@media (max-width: 820px) {
    .site-footer {
        padding: 56px 22px 22px;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 44px;
    }

    .site-footer__brand-copy {
        max-width: 560px;
    }

    .site-footer__contact-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }

    .site-footer__contact-list a:first-child {
        grid-column: 1 / -1;
    }

    .site-footer__navigation {
        gap: 28px;
        padding: 34px 0;
        border-top: 1px solid rgba(16, 37, 30, 0.09);
        border-bottom: 1px solid rgba(16, 37, 30, 0.09);
    }

    .site-footer__social {
        grid-column: auto;
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 0;
        border-top: 0;
    }

    .site-footer__social-eyebrow,
    .site-footer__social > h2,
    .site-footer__social-links {
        grid-column: auto;
        grid-row: auto;
    }

    .site-footer__social-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 21px;
    }

    .site-footer__bottom {
        grid-template-columns: 1fr auto;
    }

    .site-footer__bottom p:nth-child(2) {
        grid-column: 1;
    }

    .site-footer__back-top {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

/* Mobil */

@media (max-width: 600px) {
    .site-footer {
        padding: 46px 18px 18px;
    }

    .site-footer::before {
        display: none;
    }

    .site-footer__top {
        gap: 34px;
        padding-bottom: 36px;
    }

    .site-footer__brand-link {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 13px;
    }

    .site-footer__logo-frame {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .site-footer__logo {
        width: 43px;
        height: 43px;
    }

    .site-footer__brand-link strong {
        font-size: 0.96rem;
    }

    .site-footer__brand-copy {
        margin-top: 20px;
        font-size: 0.82rem;
        line-height: 1.62;
    }

    .site-footer__contact-list {
        grid-template-columns: 1fr;
        gap: 4px;
        margin-top: 17px;
    }

    .site-footer__contact-list a:first-child {
        grid-column: auto;
    }

    .site-footer__navigation {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 22px;
        padding: 29px 0;
    }

    .site-footer__column:last-child {
        grid-column: 1 / -1;
    }

    .site-footer__column:last-child ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 20px;
    }

    .site-footer__column h2 {
        margin-bottom: 14px;
        font-size: 0.66rem;
    }

    .site-footer__column a {
        padding: 6px 0;
        font-size: 0.78rem;
    }

    .site-footer__social > h2 {
        max-width: 290px;
        font-size: 1.45rem;
    }

    .site-footer__social-links {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 18px;
    }

    .site-footer__social-link {
        min-height: 62px;
    }

    .site-footer__bottom {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 7px 16px;
        padding-top: 17px;
    }

    .site-footer__bottom p {
        font-size: 0.65rem;
    }

    .site-footer__back-top {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 0.68rem;
    }
}

@media (max-width: 390px) {
    .site-footer__navigation {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .site-footer__column:last-child {
        grid-column: auto;
    }

    .site-footer__column:last-child ul {
        grid-template-columns: 1fr;
    }
}

/* Hareket azaltma tercihi */

@media (prefers-reduced-motion: reduce) {
    .site-footer *,
    .site-footer *::before,
    .site-footer *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .site-footer [data-footer-reveal] {
        opacity: 1;
        transform: none;
    }
}
/* Çerez tercihleri düğmesi */
.site-footer__consent-button {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.site-footer__consent-button:hover {
    color: #e3b63d;
}

.site-footer__consent-button:focus-visible {
    outline: 2px solid #e3b63d;
    outline-offset: 4px;
}
