/**
 * Site footer — vanilla layout (index ve ileride diğer sayfalar)
 */

.site-footer {
    position: relative;
    width: 100%;
    background: #16b254;
    color: #fff;
}

.site-footer__inner {
    position: relative;
    max-width: 1676px;
    margin: 0 auto;
    box-sizing: border-box;
}

.site-footer__guide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.site-footer__guide--left {
    left: 0;
}

.site-footer__guide--right {
    right: 0;
}

/* Üst iki sütun: marka | içerik */
.site-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
}

.site-footer__brand {
    position: relative;
    box-sizing: border-box;
    padding: 48px 41px 34px 51px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Orta dikey çizgi (masaüstü) */
.site-footer__brand::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
}

.site-footer__brand-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.site-footer__logo-link {
    display: flex;
    max-width: 271px;
    width: 100%;
    height: 120px;
}

.site-footer__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.site-footer__tagline {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.35;
    max-width: 28ch;
    background: linear-gradient(280deg, #fff 55.03%, rgba(255, 255, 255, 0.6) 138.93%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-footer__main {
    box-sizing: border-box;
    padding: 60px 70px 88px 80px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(32px, 6vw, 112px);
    min-width: 0;
}

.site-footer__nav {
    flex: 1 1 auto;
    min-width: 0;
}

.site-footer__nav-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: clamp(40px, 5vw, 100px);
}

.site-footer__nav-col {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    max-width: 220px;
}

.site-footer__nav-title {
    margin: 0 0 24px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.site-footer__link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.site-footer__link {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.site-footer__link:hover {
    color: #fff;
}

.site-footer__newsletter {
    flex: 0 1 400px;
    min-width: min(100%, 260px);
    display: flex;
    flex-direction: column;
    gap: 29px;
    box-sizing: border-box;
}

@media (min-width: 1400px) {
    .site-footer__newsletter {
        flex-basis: 480px;
    }
}

.site-footer__newsletter-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.site-footer__form {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-height: 61px;
    padding: 10px 10px 10px 24px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 57px;
}

.site-footer__input {
    flex: 1 1 160px;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    outline: none;
}

.site-footer__input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.site-footer__submit {
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    padding: 12px 22px;
    min-height: 43px;
    border-radius: 30px;
    background: #16b254;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    transition: background 0.2s ease, transform 0.15s ease;
}

.site-footer__submit:hover {
    background: #129546;
}

.site-footer__submit:active {
    transform: scale(0.98);
}

/* Üst bardaki Instagram CTA ile aynı içerik (footer yeşil zeminde) */
.site-footer__insta {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.site-footer__insta-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__insta-link:hover {
    color: #dfdfdf;
}

.site-footer__insta-text {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.site-footer__insta-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.3);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: inherit;
}

.site-footer__insta-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

@media (max-width: 1024px) {
    .site-footer__insta {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .site-footer__insta-text {
        font-size: 15px;
    }

    .site-footer__insta {
        justify-content: center;
    }
}

/* Masaüstü: alt çizgi ve dikey ayraç */
.site-footer__rule-horizontal {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 102px;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.site-footer__bottom {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px 32px;
    padding: 42px 41px 36px 50px;
    box-sizing: border-box;
}

.site-footer__rule-vertical {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    left: 41.6%;
}

.site-footer__copyright {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.4;
}

.site-footer__copyright a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.site-footer__legal {
    display: flex;
    align-items: center;
    gap: clamp(24px, 5vw, 81px);
    flex-wrap: wrap;
    justify-content: center;
}

.site-footer__legal a {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.site-footer__credit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.site-footer__credit-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.site-footer__credit-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-footer__credit-link img {
    width: auto;
    height: 32px;
    max-width: 120px;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* ---------- Tablet (üst grid sıkı; nav + bülten yatay kalsın) ---------- */
@media (max-width: 1100px) {
    .site-footer__top {
        grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    }

    .site-footer__main {
        padding: 50px clamp(20px, 4vw, 46px) 64px clamp(20px, 4vw, 46px);
        gap: clamp(24px, 4vw, 48px);
    }

    .site-footer__nav-inner {
        gap: clamp(28px, 4vw, 72px);
    }

    .site-footer__newsletter {
        flex-basis: min(360px, 38vw);
    }

    .site-footer__rule-vertical {
        left: 33.5%;
    }
}

/* Dar layout: üst tek sütun; nav + bülten alt alta */
@media (max-width: 900px) {
    .site-footer__top {
        grid-template-columns: 1fr;
    }

    .site-footer__brand::after {
        display: none;
    }

    .site-footer__brand {
        padding: 36px 28px 24px;
        align-items: center;
        text-align: center;
    }

    .site-footer__brand-inner {
        align-items: center;
    }

    .site-footer__tagline {
        font-size: 24px;
        max-width: 22ch;
    }

    .site-footer__main {
        flex-direction: column;
        align-items: stretch;
        padding: 0 24px 40px;
        gap: 40px;
    }

    .site-footer__nav-inner {
        justify-content: center;
        gap: 40px 64px;
        max-width: 520px;
        margin: 0 auto;
    }

    .site-footer__newsletter {
        flex: 1 1 auto;
        max-width: none;
        flex-basis: auto;
        align-items: center;
        text-align: center;
    }

    .site-footer__form {
        max-width: 520px;
        margin: 0 auto;
    }

    .site-footer__rule-horizontal,
    .site-footer__rule-vertical,
    .site-footer__guide {
        display: none;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 20px 40px;
    }

    .site-footer__copyright {
        font-size: 16px;
    }

    .site-footer__legal a {
        font-size: 16px;
    }

    .site-footer__credit-text {
        font-size: 14px;
    }

    .site-footer__credit-link img {
        max-width: 100px;
        height: 28px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 520px) {
    .site-footer__logo-link {
        max-width: 220px;
        height: 100px;
    }

    .site-footer__tagline {
        font-size: 22px;
    }

    .site-footer__nav-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer__nav-col {
        max-width: none;
    }

    .site-footer__nav-title {
        margin-bottom: 16px;
        font-size: 16px;
    }

    .site-footer__link-list {
        gap: 14px;
    }

    .site-footer__link {
        font-size: 16px;
    }

    .site-footer__newsletter-title {
        font-size: 20px;
    }

    .site-footer__form {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 14px 14px 18px;
        border-radius: 20px;
    }

    .site-footer__input {
        width: 100%;
        flex: none;
        padding: 8px 4px;
    }

    .site-footer__submit {
        width: 100%;
    }

    .site-footer__legal {
        flex-direction: column;
        gap: 12px;
    }
}
