/* ══════════════════════════════════════════════════════
   SITE FOOTER — Light & airy (compact, modern)
   Structure: Newsletter band → Main (brand · links · contact) → Bottom bar
   Palette matches site: light surfaces, #111827 ink, #BA1B21 brand
   ══════════════════════════════════════════════════════ */

.site-footer {
    --ftr-surface:   #f7f9fc;   /* main bg */
    --ftr-card:      #ffffff;   /* cards / form */
    --ftr-bottom:    #eef2f7;   /* bottom bar */
    --ftr-line:      #e3e9f1;
    --ftr-line-soft: #edf1f6;

    --ftr-ink:       #111827;   /* headings */
    --ftr-text:      #475569;   /* body / links */
    --ftr-mut:       #64748b;
    --ftr-dim:       #94a3b8;    /* labels, notes */

    --ftr-brand:     #BA1B21;
    --ftr-brand-2:   #d6262d;

    background: var(--ftr-surface);
    color: var(--ftr-text);
    font-size: .9rem;
    line-height: 1.6;
    padding-top: 80px;   /* içerikten ferah ayrım — tüm sayfalarda */
}

/* ───────────────────────────────────────
   1. NEWSLETTER BAND
   ─────────────────────────────────────── */
.ftr-nl-band {
    position: relative;
    padding: 40px 0;
    border-bottom: 1px solid var(--ftr-line);
 
}

.ftr-nl-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.ftr-nl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ftr-brand);
    margin-bottom: 12px;
}
.ftr-nl-eyebrow i { font-size: .72rem; }

.ftr-nl-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ftr-ink);
    line-height: 1.24;
    letter-spacing: -.02em;
    margin: 0 0 8px;
    max-width: 22ch;
}
.ftr-nl-sub {
    font-size: .82rem;
    color: var(--ftr-mut);
    line-height: 1.55;
    margin: 0;
    max-width: 46ch;
}

/* Form */
.ftr-nl-form {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--ftr-card);
    border: 1px solid var(--ftr-line);
    border-radius: 14px;
    padding: 5px 5px 5px 14px;
    box-shadow: 0 1px 3px rgba(17,24,39,.04);
    transition: border-color .2s, box-shadow .2s;
}
.ftr-nl-form:focus-within {
    border-color: rgba(186,27,33,.55);
    box-shadow: 0 0 0 4px rgba(186,27,33,.10);
}
.ftr-nl-form-icon {
    color: var(--ftr-dim);
    font-size: .95rem;
    flex-shrink: 0;
    transition: color .2s;
}
.ftr-nl-form:focus-within .ftr-nl-form-icon { color: var(--ftr-brand); }

.ftr-nl-form input[type="email"] {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    padding: 11px 14px;
    font-size: .88rem;
    color: var(--ftr-ink);
}
.ftr-nl-form input[type="email"]::placeholder { color: var(--ftr-dim); }

.ftr-nl-form button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--ftr-brand);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 11px 22px;
    font-size: .83rem;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s, transform .18s, box-shadow .18s;
}
.ftr-nl-form button:hover {
    background: var(--ftr-brand-2);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -6px rgba(186,27,33,.55);
}
.ftr-nl-form button i { transition: transform .18s; }
.ftr-nl-form button:hover i { transform: translateX(3px); }
.ftr-nl-form button:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }

.ftr-nl-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    color: var(--ftr-dim);
    margin: 12px 0 0;
}
.ftr-nl-note i { font-size: .72rem; }

.ftr-nl-success {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .82rem;
    font-weight: 600;
    color: #16a34a;
    margin: 12px 0 0;
}

/* ───────────────────────────────────────
   2. MAIN
   ─────────────────────────────────────── */
.ftr-main { padding: 50px 0 42px; }

.ftr-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 2.2fr 1.6fr;
    gap: clamp(28px, 3.5vw, 56px);   /* geniş ekranda ferah, dar ekranda sıkışmaz */
}

/* — Brand block — */
.ftr-brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 18px;
}
.ftr-brand-logo {
    height: 38px;
    width: auto;
    mix-blend-mode: multiply;
}
.ftr-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ftr-ink);
    letter-spacing: -.01em;
}
.ftr-brand-about {
    font-size: .84rem;
    color: var(--ftr-mut);
    line-height: 1.65;
    margin: 0 0 22px;
    max-width: 34ch;
}

/* Social icons */
.ftr-social {
    display: flex;
    align-items: center;
    gap: 9px;
}
.ftr-si {
    width: 40px; height: 40px;
    border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    color: var(--ftr-mut);
    background: var(--ftr-card);
    border: 1px solid var(--ftr-line);
    transition: background .25s ease, border-color .25s ease, transform .25s cubic-bezier(.22, 1, .36, 1), color .25s ease, box-shadow .25s ease;
}
.ftr-si:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 6px 14px -6px rgba(17,24,39,.3); }
.ftr-si--instagram:hover {
    background: radial-gradient(circle at 30% 110%, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
    border-color: transparent;
}
.ftr-si--whatsapp:hover { background: #25d366; border-color: #25d366; }
.ftr-si--facebook:hover { background: #1877f2; border-color: #1877f2; }
.ftr-si--twitter:hover  { background: #111827; border-color: #111827; }
.ftr-si--youtube:hover  { background: #ff0000; border-color: #ff0000; }

/* — Link columns — */
.ftr-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2vw, 32px);
}

.ftr-col-title {
    display: flex;
    align-items: flex-end;       /* tek/çift satır farketmeksizin alt çizgi aynı hizada */
    min-height: 2.9em;           /* iki satırlık başlık yüksekliğini sabitler */
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.35;
    text-transform: uppercase;
    color: var(--ftr-ink);
    margin: 0 0 18px;
    padding-bottom: 11px;
    position: relative;
    border-bottom: 1px solid var(--ftr-line);
}
.ftr-col-title::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 28px; height: 2px;
    background: var(--ftr-brand);
}

.ftr-link-list { list-style: none; padding: 0; margin: 0; }
.ftr-link-list li { margin-bottom: 11px; }
.ftr-link-list a {
    position: relative;
    display: inline-block;       /* transform ile kayar, kutu genişliği sabit → satır kaymaz */
    color: var(--ftr-text);
    font-size: .86rem;
    text-decoration: none;
    transition: color .28s ease, transform .28s cubic-bezier(.22, 1, .36, 1);
}
.ftr-link-list a::before {
    content: '›';
    position: absolute;          /* akış dışı → metni itmez, satır kaydırmaz */
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ftr-brand);
    opacity: 0;
    font-size: 1.1em;
    line-height: 1;
    transition: opacity .28s ease;
}
.ftr-link-list a:hover { color: var(--ftr-brand); transform: translateX(14px); }
.ftr-link-list a:hover::before { opacity: 1; }

/* — Contact — */
.ftr-ci-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ftr-ci {
    display: flex;
    gap: 11px;
    align-items: center;   /* ikon, etiket+değer bloğuyla dikey ortalı */
    text-decoration: none;
}
.ftr-ci-icon {
    color: #1a202c;
    font-size: 1rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    line-height: 1;
}
.ftr-ci-text { display: flex; flex-direction: column; }
.ftr-ci-label {
    font-size: .6rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ftr-dim);
    margin-bottom: 2px;
}
.ftr-ci-val {
    color: var(--ftr-ink);
    font-size: .86rem;
    font-weight: 500;
    line-height: 1.35;
    transition: color .25s ease;
}
.ftr-ci-val--addr { font-weight: 400; color: var(--ftr-text); }
a.ftr-ci:hover .ftr-ci-val { color: var(--ftr-brand); }

/* Trust badge */
.ftr-trust {
    margin-top: 22px;
    padding: 12px 14px;
    background: var(--ftr-card);
    border: 1px solid var(--ftr-line);
    border-left: 2px solid var(--ftr-brand);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 11px;
    box-shadow: 0 1px 3px rgba(17,24,39,.04);
}
.ftr-trust i { color: #16a34a; font-size: 1.05rem; flex-shrink: 0; }
.ftr-trust-text {
    font-size: .72rem;
    color: var(--ftr-mut);
    line-height: 1.4;
}
.ftr-trust-text strong { color: var(--ftr-ink); display: block; font-size: .8rem; }

/* ───────────────────────────────────────
   3. BOTTOM BAR
   ─────────────────────────────────────── */
.ftr-bottom {
    background: var(--ftr-bottom);
    border-top: 1px solid var(--ftr-line);
    padding: 18px 0;
}
.ftr-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: .76rem;
    color: var(--ftr-mut);
}
.ftr-copy { white-space: nowrap; }
.ftr-bottom-inner a {
    color: var(--ftr-text);
    text-decoration: none;
    transition: color .25s ease;
}
.ftr-bottom-inner a:hover { color: var(--ftr-brand); }

.ftr-legal { display: flex; align-items: center; }
.ftr-legal a { padding: 0 14px; }
.ftr-legal a + a { border-left: 1px solid #d4dde8; }

.ftr-cert { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ftr-cert .ftr-tursab-badge { height: 46px; }
.ftr-cert .ftr-tursab-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--ftr-mut);
    letter-spacing: .03em;
}
.ftr-cert img[alt="ETBİS"] {
    height: 28px;
    opacity: .8;
    transition: opacity .2s;
}
.ftr-cert img[alt="ETBİS"]:hover { opacity: 1; }
.ftr-cert .ftr-payment { height: 26px; }

/* ───────────────────────────────────────
   4. RESPONSIVE
   ─────────────────────────────────────── */
/* ── Tablet YATAY (992–1199): masaüstü 3'lü grid link metinlerini 2 satıra
   kırıyordu. Marka üstte tam genişlik + 4 blok (Turlar/Oteller/MH/İletişim)
   tek sırada eşit kolon → her biri ~210px, tek satır. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .ftr-main-grid { grid-template-columns: repeat(4, 1fr); gap: 30px 28px; }
    .ftr-brand { grid-column: 1 / -1; margin-bottom: 2px; }
    .ftr-cols { display: contents; }   /* 3 alt sütun ana grid'in kardeşi olur */
}

/* ── Tablet PORTRE / küçük ekran (≤991): 4 blok 2×2 (kullanıcı beğendi). */
@media (min-width: 769px) and (max-width: 991.98px) {
    .ftr-main-grid { grid-template-columns: 1fr 1fr; gap: 30px 40px; }
    .ftr-brand { grid-column: 1 / -1; }
    .ftr-cols { display: contents; }
}

/* Alt bar: tablet bandında ortalanmış, taşarsa nazik sarma */
@media (min-width: 769px) and (max-width: 1199.98px) {
    .ftr-bottom-inner { justify-content: center; gap: 12px 28px; }
}

@media (max-width: 768px) {
    /* margin-top yerine padding: aradaki boşluk footer yüzeyi rengiyle dolar,
       body arka planından kaynaklanan farklı renkli şerit oluşmaz. */
    .site-footer { margin-top: 0; padding-top: 48px; }

    /* Newsletter */
    .ftr-nl-band { padding: 32px 0; }
    .ftr-nl-grid { grid-template-columns: 1fr; gap: 22px; }
    .ftr-nl-title { font-size: 1.28rem; max-width: 100%; }
    .ftr-nl-sub { font-size: .8rem; max-width: 100%; }

    /* Ana grid: 2×2 layout — Brand (üstte tam) → Turlar/Oteller → MH/İletişim */
    .ftr-main { padding: 34px 0 28px; }
    .ftr-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px 20px;
    }
    .ftr-brand { grid-column: 1 / -1; }
    .ftr-brand-about { max-width: 100%; }

    /* .ftr-cols kabını "şeffaflaştır" — 3 alt sütun ana grid'in kardeşi olur.
       Sonuç: 4 başlıklı blok (Turlar, Oteller, MH, İletişim) 2×2 grid'de auto-place edilir. */
    .ftr-cols { display: contents; }

    /* Başlık — masaüstündeki 2-satır hizası bozulmasın diye kaldır */
    .ftr-col-title { min-height: 0; margin-bottom: 14px; padding-bottom: 9px; }

    /* Bottom bar */
    .ftr-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }
    .ftr-copy { white-space: normal; }
    .ftr-legal { justify-content: center; }
    .ftr-cert { justify-content: center; gap: 12px; }
    .ftr-cert .ftr-tursab-badge { height: 40px; }
    .ftr-cert img[alt="ETBİS"] { height: 24px; }
    .ftr-cert .ftr-payment { height: 22px; }

    /* Trust badge */
    .ftr-trust { padding: 11px 12px; gap: 10px; margin-top: 18px; }
    .ftr-trust i { font-size: 1rem; }
}

@media (max-width: 480px) {
    /* Newsletter formu tam-genişlik dikey */
    .ftr-nl-band { padding: 26px 0; }
    .ftr-nl-title { font-size: 1.15rem; }
    .ftr-nl-form { flex-wrap: wrap; padding: 10px; gap: 8px; border-radius: 12px; }
    .ftr-nl-form-icon { display: none; }
    .ftr-nl-form input[type="email"] {
        flex: 1 1 100%;
        padding: 10px 12px;
        background: var(--ftr-surface);
        border-radius: 9px;
        font-size: .86rem;
    }
    .ftr-nl-form button { flex: 1 1 100%; justify-content: center; padding: 12px; font-size: .84rem; }
    .ftr-nl-note { font-size: .68rem; margin-top: 10px; }

    /* Brand */
    .ftr-brand-logo { height: 32px; }
    .ftr-brand-name { font-size: 1.1rem; }
    .ftr-brand-about { font-size: .8rem; margin-bottom: 18px; }

    /* Social ikonlar biraz küçül */
    .ftr-social { gap: 7px; }
    .ftr-si { width: 36px; height: 36px; border-radius: 10px; font-size: .92rem; }

    /* 2×2 grid, gap kompakt */
    .ftr-main-grid { gap: 22px 16px; }
    .ftr-col-title { font-size: .64rem; }
    .ftr-link-list li { margin-bottom: 9px; }
    .ftr-link-list a { font-size: .82rem; }

    /* Contact: 2×2 hücre içinde daha kompakt */
    .ftr-ci-grid { gap: 12px; }
    .ftr-ci { gap: 10px; }
    .ftr-ci-val { font-size: .8rem; }
    .ftr-ci-label { font-size: .56rem; }
    .ftr-ci-val--addr { font-size: .78rem; }

    /* Bottom bar linkleri */
    .ftr-bottom { padding: 14px 0; }
    .ftr-bottom-inner { font-size: .72rem; gap: 12px; }
    .ftr-legal a { padding: 0 10px; }

    /* Cert badge'ler biraz daha küçük */
    .ftr-cert { gap: 10px; }
    .ftr-cert .ftr-tursab-badge { height: 36px; }
    .ftr-cert img[alt="ETBİS"] { height: 22px; }
    .ftr-cert .ftr-payment { height: 20px; }
}

@media (max-width: 360px) {
    /* Çok dar (iPhone SE gen 1 vb.) — 4 bloğu tek sütuna in */
    .ftr-main-grid { grid-template-columns: 1fr; gap: 20px; }
}
