/* =========================================================
   POPUPKURYE - İLCE PAGE FOOTER
   Koyu, modern ve responsive footer
   ========================================================= */

.site-footer {
    --footer-bg: #181818;
    --footer-border: #343434;
    --footer-heading: #ffffff;
    --footer-text: #b8b8b8;
    --footer-muted: #8e8e8e;
    --footer-accent: #ff7a00;
    --footer-chip-bg: #1b1b1b;
    --footer-chip-border: #3b4655;

    width: 100%;
    margin-top: 60px;
    background: var(--footer-bg);
    color: var(--footer-text);
    overflow: hidden;
    position: relative;

    /* Global tema CSS'i h3/h4/p gibi etiketlere kendi (serif) fontunu
       daha yüksek özgüllükle veya !important ile atadığı için, footer
       fontunu burada !important ile kesin olarak zorluyoruz. */
    font-family: "Open-Sans", Arial, Helvetica, sans-serif !important;
}

.site-footer,
.site-footer * {
    box-sizing: border-box;
    font-family: "Open-Sans", Arial, Helvetica, sans-serif !important;
}

.site-footer a {
    color: inherit;
}

.footer-container {
    /* Kuryeyolda'nın gönderdiğiniz görseli piksel piksel ölçülerek
       yeniden hesaplandı: konteyner çok daha dar, sütunlar çok daha
       sıkı bir ritimle diziliyor. */
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 64px;
    padding: 64px 0 52px;
}

.footer-brand {
    min-width: 0;
}

.footer-logo {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
    margin: 0 0 18px;
}

.footer-desc {
    max-width: 300px;
    margin: 0;
    color: var(--footer-text);
    font-size: 14px;
    line-height: 1.6;
}

.footer-follow {
    margin-top: 42px;
}

.footer-follow h3,
.footer-follow h4,
.footer-col h4 {
    margin: 0;
    color: var(--footer-heading);
    font-weight: 700;
}

.footer-follow h3,
.footer-follow h4 {
    margin-bottom: 22px;
    font-size: 18px;
    line-height: 1.3;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #344052;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: transform .25s ease, background-color .25s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
    background: #46556b;
}

.footer-menus {
    min-width: 0;
    display: grid;
    /* 3. sütun (Kullanım Kılavuzları) başlığı tek satıra sığsın diye
       diğerlerinden biraz geniş; son sütun (Destek) da e-posta adresi
       için geniş — "info@popupkurye.com" tek satıra sığsın diye. */
    grid-template-columns: repeat(2, minmax(110px, 140px)) minmax(150px, 190px) minmax(160px, 205px);
    justify-content: start;
    column-gap: 40px;
    row-gap: 32px;
}

.footer-col {
    min-width: 0;
}

.footer-col h4 {
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 1.3;
    white-space: nowrap;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    list-style: none;
    margin: 0 0 17px;
    padding: 0;
}

.footer-col li:last-child {
    margin-bottom: 0;
}

.footer-col li a {
    display: inline-block;
    max-width: 100%;
    color: var(--footer-text);
    font-size: 15px;
    line-height: 1.55;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.footer-col li a:hover {
    color: var(--footer-accent);
}

.footer-contact li a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact li a svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin-top: 3px;
    color: var(--footer-text);
}

.footer-contact li a span {
    min-width: 0;
    /* "anywhere" kelimeyi rastgele ortadan bölüyordu (info@popupkurye.co / m).
       PHP tarafında sadece @ sonrasına eklenen <wbr> ile artık kırılma
       varsa yalnızca "info@" ile "popupkurye.com" arasında oluyor;
       domain hiçbir zaman ortadan bölünmüyor. */
    overflow-wrap: normal;
    word-break: normal;
}

.footer-bottom {
    padding: 25px 0 30px;
    border-top: 1px solid var(--footer-border);
    text-align: center;
}

.footer-copyright {
    margin: 0;
    color: var(--footer-text);
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   FLOATING BUTTONS
   ========================================================= */

.scrollToTop {
    position: fixed;
    left: 38px;
    bottom: 38px;
    z-index: 1100;
    width: 64px;
    height: 64px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid #d8d8d8;
    border-radius: 50%;
    background: #ffffff;
    color: #666666;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
    transition: transform .25s ease, box-shadow .25s ease;
}

.scrollToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, .24);
}

.scrollToTop svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.con {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.telefon-ikonu {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 5px 18px rgba(37, 211, 102, .30);
    cursor: pointer;
    overflow: hidden;
    transition: transform .25s ease;
}

.telefon-ikonu:hover {
    transform: scale(1.06);
}

.ikonlar {
    position: relative;
    width: 100%;
    height: 100%;
}

.ikonlar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 8px;
    border-radius: 50%;
    object-fit: contain;
    transition: opacity .3s ease;
}

.ikonlar img:first-child {
    opacity: 1;
}

.ikonlar img:last-child {
    opacity: 0;
}

.ikon-div {
    position: relative;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
    padding: 10px 0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 5px 24px rgba(0, 0, 0, .20);
    animation: slideRightLeft .5s ease forwards;
}

.ikon-div a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px 8px 16px;
    background: #ffffff;
    color: #222222;
    text-decoration: none;
    white-space: nowrap;
}

.ikon-div a:hover {
    background: #f4f4f4;
}

.ikon-div a img {
    width: 35px;
    height: 35px;
    padding: 8px;
    border-radius: 50%;
    background: #25d366;
}

.ikon-div a span {
    color: #222222;
    font-size: 14px;
    font-weight: 500;
}

@keyframes slideRightLeft {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideTop {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-30px); }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
    .footer-container {
        width: min(100% - 40px, 900px);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 52px 0 44px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-logo,
    .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-follow h3,
    .footer-follow h4 {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Menü sütunları artık tablet'te de sola hizalı, 2 sütunlu bir
       grid olarak kalıyor (önceden ortalanıyordu). */
    .footer-menus {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: start;
        column-gap: 32px;
        row-gap: 36px;
        justify-items: start;
    }

    .footer-col {
        max-width: none;
        width: 100%;
    }

    .footer-col h4,
    .footer-col ul {
        text-align: left;
    }

    .footer-col h4 {
        white-space: normal;
    }

    .footer-contact li a {
        justify-content: flex-start;
        text-align: left;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
    .site-footer {
        margin-top: 40px;
    }

    .footer-container {
        width: calc(100% - 64px);
    }

    .footer-content {
        gap: 42px;
        padding: 42px 0 36px;
    }

    .footer-logo {
        width: 190px;
        margin-bottom: 18px;
    }

    .footer-desc {
        max-width: 440px;
        font-size: 14px;
        line-height: 1.6;
    }

    .footer-follow {
        margin-top: 32px;
    }

    .footer-follow h3,
    .footer-follow h4 {
        font-size: 17px;
        margin-bottom: 18px;
    }

    .footer-social a {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    /* Önceden burada tek sütuna (grid-template-columns: 1fr) düşüyordu,
       bu yüzden mobilde tüm menüler alt alta uzuyordu. Artık tablet ile
       aynı mantıkta 2 sütunlu, sola hizalı grid kullanıyor. */
    .footer-menus {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: start;
        justify-items: start;
        column-gap: 20px;
        row-gap: 30px;
    }

    .footer-col {
        max-width: none;
        width: 100%;
    }

    /* Bize Ulaşın kutusu eski 2 sütunlu yerinde kalıyor; e-posta adresinin
       kırpılmadan tek satıra sığması için sadece bu satırın fontu ve
       ikon/boşluk ölçüleri mobilde biraz küçültülüyor. */
    .footer-contact li a {
        gap: 6px;
        font-size: 12px;
        white-space: nowrap;
    }

    .footer-contact li a svg {
        flex: 0 0 15px;
        width: 15px;
        height: 15px;
        margin-top: 2px;
    }

    .footer-col h4 {
        margin-bottom: 17px;
        font-size: 16px;
        white-space: normal;
    }

    .footer-col li {
        margin-bottom: 12px;
    }

    .footer-col li a {
        font-size: 14px;
    }

    .footer-bottom {
        padding: 22px 0 26px;
    }

    .footer-copyright {
        font-size: 12px;
        line-height: 1.6;
    }

    .scrollToTop {
        left: 16px;
        bottom: 18px;
        width: 50px;
        height: 50px;
    }

    .scrollToTop svg {
        width: 20px;
        height: 20px;
    }

    .con {
        right: 16px;
        bottom: 18px;
    }

    .telefon-ikonu {
        width: 50px;
        height: 50px;
    }

    .ikon-div a {
        padding: 7px 16px 7px 13px;
    }
}

@media (max-width: 380px) {
    .footer-container {
        width: calc(100% - 40px);
    }

    .footer-content {
        padding-top: 34px;
    }

    .footer-logo {
        width: 170px;
    }

    .footer-desc {
        font-size: 13px;
    }

    .footer-social {
        gap: 10px;
    }

    .footer-social a {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .footer-contact li a {
        font-size: 11px;
    }
}

/* =========================================================
   SERVICE PAGE FONT — BODY İLE BİREBİR AYNI
   service-page.css: "Open-Sans", Arial, sans-serif
   Not: Asıl font ataması artık dosyanın başında .site-footer
   üzerinde !important ile yapılıyor (tema/global CSS'in serif'e
   düşürmesini engellemek için). Bu blok artık gereksiz.
   ========================================================= */