/* Ana sayfa yeni footer (footer-v2) — eski footer stillerini bozmaz */
.footer-v2-wrap {
    margin-top: 0;
    width: 100%;
    /* Sayfa ile footer arasında yumuşak beyaz → mavi geçiş */
    padding-top: 2.5rem;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #ffffff 35%,
        rgba(227, 231, 236, .55) 70%,
        rgba(182, 193, 207, .25) 100%
    );
}

.footer-v2 {
    position: relative;
    overflow: hidden;
    color: #fff;
    font-family: Montserrat-Regular, system-ui, sans-serif;

    /* Görsel (SVG) koyu tonu — geniş ekranda yan şeritler bu renkle devam eder */
    --footer-v2-bg: #0b3160;
    --footer-v2-edge-top: #ffffff;
    --footer-v2-edge-1: #e3e7ec;

    /* Alt okunabilirlik örtüsü */
    --footer-v2-grad-bottom: rgba(5, 27, 61, .42);
    --footer-v2-grad-mid: rgba(11, 49, 96, .12);

    /* Üst soft beyaz geçiş yüksekliği */
    --footer-v2-top-fade-h: 18%;
    --footer-v2-top-fade-h-px: 5.5rem;

    /*
      SVG viewBox: 0 0 1920 689
      Alt low-poly desen başlar ≈ y=369.4
    */
    --footer-v2-svg-w: 1920;
    --footer-v2-svg-height: 689;
    --footer-v2-pattern-y: 369.4;
    --footer-v2-bottom-band: calc( min(100%, 1920px) * (var(--footer-v2-svg-height) - var(--footer-v2-pattern-y)) / var(--footer-v2-svg-w) );

    background-color: var(--footer-v2-bg) !important;
    background-image: none !important;
    min-height: 0 !important;
    margin: 0;
    padding: 0 !important;
    text-align: left;
}

/* Üst soft beyaz geçiş — yalnızca üst; sağ/sol soft yok */
.footer-v2::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: min(var(--footer-v2-top-fade-h-px), 12%);
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        var(--footer-v2-edge-top) 0%,
        var(--footer-v2-edge-1) 35%,
        rgba(182, 193, 207, .45) 70%,
        transparent 100%
    );
}

.footer-v2-visual {
    position: relative;
    z-index: 0;
    width: 100%;
    margin: 0;
    line-height: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
}

/*
  Yalnızca üst soft beyaz + alt okunabilirlik.
  Yükseklik: --footer-v2-top-fade-h
*/
.footer-v2-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* Tek renk (beyaz) + yumuşak alpha; ara gri/mavi stop'lar bant oluşturuyordu */
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, .88) 14%,
            rgba(255, 255, 255, .72) 28%,
            rgba(255, 255, 255, .55) 42%,
            rgba(255, 255, 255, .38) 56%,
            rgba(255, 255, 255, .22) 70%,
            rgba(255, 255, 255, .1) 84%,
            rgba(255, 255, 255, 0) 100%
        ),
        linear-gradient(
            to top,
            var(--footer-v2-grad-bottom) 0%,
            var(--footer-v2-grad-mid) 38%,
            transparent 62%
        );
    background-size: 100% 28%, 0% 0%;
    background-repeat: no-repeat;
    background-position: top center, center;
}

.footer-v2-visual img {
    display: block;
    width: 100%;
    max-width: 1920px;
    height: auto;
    aspect-ratio: 1920 / 689;
    object-fit: fill;
    position: relative;
    z-index: 0;
}

/*
  Body, SVG’nin hemen altında akışta; negatif margin ile alt desen bandına çekilir.
  Böylece linkler y=369.37 satırından başlar; içerik uzayınca footer büyür.
*/
.footer-v2-body {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    margin-top: calc(-1 * var(--footer-v2-bottom-band));
    min-height: var(--footer-v2-bottom-band);
    padding: 0 1rem 1.75rem;
    background: transparent;
}

.footer-v2-grid {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
}

.footer-v2-col {
    flex: 1 1 0;
    padding: 2rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.footer-v2-col:first-child {
    flex: 1.35 1 0;
}

.footer-v2-col:last-child {
    flex: 1.05 1 0;
}

.footer-v2-col + .footer-v2-col {
    border-left: 2px solid var(--turuncu-koyu, #FF9300);
}

.footer-v2-col--empty {
    display: none;
}

.footer-v2 a {
    display: inline;
    font-weight: inherit;
    font-size: inherit;
}

.footer-v2-brand {
    display: flex;
    align-items: center;
    align-self:start;
    gap: .85rem;
    margin-bottom: 1.1rem;
    width: fit-content;
    max-width: 100%;
    text-align: left;
}

.footer-v2-brand img {
    width: 3.4rem;
    height: 3.4rem;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-v2-brand-title {
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.25;
    text-transform: uppercase;
    color: #fff;
}

.footer-v2-contact {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    width: fit-content;
    max-width: 100%;
    text-align: left;
    align-self:start;
}

.footer-v2-contact a,
.footer-v2-contact span {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    color: #fff;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.4;
}

.footer-v2-contact i {
    color: var(--turuncu-koyu, #FF9300);
    margin-top: .15rem;
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.footer-v2-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: .35rem;
    width: fit-content;
    max-width: 100%;
    text-align: left;
}

.footer-v2-links a {
    color: #fff;
    text-decoration: none;
    font-size: .86rem;
    font-weight: 600;
    line-height: 2.3rem;
    display: block;
    text-align: left;
    transition: color .15s ease, transform .15s ease;
}

.footer-v2-links a:hover {
    color: var(--turuncu-koyu, #FF9300);
    transform: translateX(2px);
}

.footer-v2-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .9rem;
    width: fit-content;
    max-width: 100%;
}

.footer-v2-call {
    display: flex !important;
    align-items: center;
    gap: .65rem;
    color: #fff;
    text-decoration: none;
}

.footer-v2-call i {
    color: var(--turuncu-koyu, #FF9300);
    font-size: 1.35rem;
}

.footer-v2-call-label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .9;
}

.footer-v2-call-num {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
}

.footer-v2-btn-write {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--turuncu-koyu, #FF9300);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .03em;
    padding: .55rem 1.15rem;
    border-radius: 2rem;
    border: none;
    transition: filter .15s ease, transform .15s ease;
}

.footer-v2-btn-write:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    color: #fff !important;
}

.footer-v2-social {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
}

.footer-v2-social a {
    color: #fff;
    font-size: 1.05rem;
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: .92;
    transition: color .15s ease, opacity .15s ease;
}

.footer-v2-social a:hover {
    color: var(--turuncu-koyu, #FF9300);
    opacity: 1;
}

.footer-v2-cookie {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: .25rem;
    padding: .35rem .95rem;
    border-radius: 2rem;
    background: #fff;
    color: #333 !important;
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    transition: background .15s ease;
}

.footer-v2-cookie:hover {
    background: #f0f0f0;
    color: #111 !important;
}

.footer-v2-ozel-aksiyon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .15rem;
    color: #fff;
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    max-width: 100%;
}

.footer-v2-ozel-aksiyon a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.footer-v2-ozel-aksiyon a:hover {
    color: var(--turuncu-koyu, #FF9300);
}

.footer-v2-ozel-aksiyon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: .15rem;
    padding: .4rem 1rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff !important;
    font-size: .8rem;
    font-weight: 650;
    text-decoration: none !important;
    transition: background .15s ease, border-color .15s ease;
}

.footer-v2-ozel-aksiyon-btn:hover {
    background: rgba(255, 255, 255, .22);
    border-color: #fff;
    color: #fff !important;
}

@media (max-width: 991.98px) {
    .footer-v2-body {
        margin-top: calc(-1 * var(--footer-v2-bottom-band));
        min-height: var(--footer-v2-bottom-band);
        padding: 0 1rem 1.75rem;
        align-items: flex-start;
    }

    .footer-v2-grid {
        flex-wrap: wrap;
        align-items: stretch;
        gap: 0;
    }

    .footer-v2-col {
        flex: 1 1 45%;
        padding: 1.5rem 1.25rem;
        border-left: none;
        align-items: flex-start;
        text-align: left;
    }

    .footer-v2-col:first-child,
    .footer-v2-col:last-child {
        flex: 1 1 45%;
    }

    .footer-v2-col + .footer-v2-col {
        border-left: none;
    }

    .footer-v2-col:nth-child(even) {
        border-left: 2px solid var(--turuncu-koyu, #FF9300);
    }

    /* Menü / yazı blokları aynı sol hizada */
    .footer-v2-brand,
    .footer-v2-contact,
    .footer-v2-links,
    .footer-v2-actions {
        align-self: stretch;
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    .footer-v2-links a {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .footer-v2-body {
        margin-top: calc(-1 * var(--footer-v2-bottom-band));
        min-height: var(--footer-v2-bottom-band);
        padding: 0 .75rem 1.5rem;
        align-items: flex-start;
    }

    .footer-v2-grid {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
    }

    .footer-v2-col,
    .footer-v2-col:first-child,
    .footer-v2-col:last-child,
    .footer-v2-col + .footer-v2-col,
    .footer-v2-col:nth-child(even) {
        flex: 1 1 auto;
        width: 100%;
        border-left: none;
        padding: 1.25rem 1rem;
        border-top: 2px solid rgba(255, 147, 0, .35);
        align-items: flex-start;
        text-align: left;
    }

    .footer-v2-col:first-child {
        border-top: none;
    }

    .footer-v2-brand,
    .footer-v2-contact,
    .footer-v2-links,
    .footer-v2-actions {
        align-self: stretch;
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    .footer-v2-links a {
        text-align: left;
    }

    .footer-v2-actions {
        align-items: flex-start;
    }

    .footer-v2-btn-write,
    .footer-v2-cookie {
        justify-content: flex-start;
        width: auto;
        max-width: 100%;
    }
}
