/**
 * Footer — üç varyant + ortak parçalar (e-bülten, sosyal, yasal linkler).
 */

.site-footer { margin-top: 40px; }
.site-footer a { text-decoration: none; }

/* ---------------------------------------------------------------
   Ortak: sosyal medya
   --------------------------------------------------------------- */
.wpd-social { display: flex; gap: 10px; flex-wrap: wrap; }

.wpd-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 15px;
    transition: transform .15s ease, background .15s ease, color .15s ease;
}
.wpd-social__link:hover { transform: translateY(-2px); }

.wpd-social__link--facebook  { background: #1877f2; color: #fff; }
.wpd-social__link--twitter   { background: #000;     color: #fff; }
.wpd-social__link--instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.wpd-social__link--youtube   { background: #ff0000;  color: #fff; }
.wpd-social__link--tiktok    { background: #010101;  color: #fff; }
.wpd-social__link--telegram  { background: #0088cc;  color: #fff; }
.wpd-social__link--rss       { background: #f26522;  color: #fff; }

/* ---------------------------------------------------------------
   Ortak: e-bülten formu
   --------------------------------------------------------------- */
.wpd-newsletter__row {
    display: flex;
    gap: 0;
    max-width: 340px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
}

.wpd-newsletter__input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 14px;
    outline: none;
}
.wpd-newsletter__input::placeholder { color: currentColor; opacity: .55; }

.wpd-newsletter__btn {
    flex-shrink: 0;
    width: 48px;
    border: 0;
    cursor: pointer;
    background: var(--primary-color, #d32f2f);
    color: #fff;
    font-size: 15px;
    transition: filter .15s;
}
.wpd-newsletter__btn:hover { filter: brightness(1.1); }
.wpd-newsletter__btn:disabled { opacity: .6; cursor: default; }

.wpd-newsletter__note { font-size: 12px; opacity: .7; margin: 10px 0 0; line-height: 1.5; }

.wpd-newsletter__mesaj { font-size: 13px; margin: 8px 0 0; min-height: 18px; }
.wpd-newsletter__mesaj.is-ok   { color: #4ade80; }
.wpd-newsletter__mesaj.is-hata { color: #f87171; }

/* ---------------------------------------------------------------
   Footer 1 — Klasik / Aydınlık
   --------------------------------------------------------------- */
.footer-1 {
    background: #f5f6f8;
    color: #333;
    border-top: 3px solid var(--primary-color, #d32f2f);
    padding: 44px 0 0;
}

.footer-1__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 36px;
    padding-bottom: 34px;
}

.footer-1__logo img { max-height: 54px; width: auto; }
.footer-1__site-name { font-size: 24px; font-weight: 800; color: #111; }
.footer-1__desc { font-size: 13px; line-height: 1.7; color: #666; margin: 14px 0 18px; }

.footer-1__title {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e4e8;
}

.footer-1__links { list-style: none; margin: 0; padding: 0; }
.footer-1__links li { margin-bottom: 9px; }
.footer-1__links a { color: #555; font-size: 13.5px; transition: color .15s, padding-left .15s; }
.footer-1__links a:hover { color: var(--primary-color, #d32f2f); padding-left: 4px; }

.footer-1 .wpd-newsletter__row { background: #fff; border: 1px solid #dcdfe4; }
.footer-1 .wpd-newsletter__input { color: #333; }
.footer-1 .wpd-newsletter__note { color: #888; }

.footer-1__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 18px 0;
    border-top: 1px solid #e2e4e8;
}
.footer-1__legal a { font-size: 12.5px; color: #666; }
.footer-1__legal a:hover { color: var(--primary-color, #d32f2f); }

.footer-1__copyright {
    padding: 16px 0;
    text-align: center;
    font-size: 13px;
    color: #777;
    border-top: 1px solid #e2e4e8;
}

/* ---------------------------------------------------------------
   Footer 2 — Koyu Tema
   --------------------------------------------------------------- */
.footer-2 { background: #16181d; color: #b6bcc6; }
.footer-2__top-border { height: 3px; background: var(--primary-color, #d32f2f); }

.footer-2 .container { padding-top: 44px; }

.footer-2__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr;
    gap: 36px;
    padding-bottom: 32px;
}

.footer-2__logo img { max-height: 54px; width: auto; }
.footer-2__site-name { font-size: 24px; font-weight: 800; color: #fff; }
.footer-2__about { font-size: 13px; line-height: 1.7; margin: 14px 0 18px; color: #8b93a1; }

.footer-2__title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    position: relative;
    padding-bottom: 10px;
}
.footer-2__title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 36px; height: 2px;
    background: var(--primary-color, #d32f2f);
}
.footer-2__title--spaced { margin-top: 24px; }

.footer-2__links { list-style: none; margin: 0; padding: 0; }
.footer-2__links li { margin-bottom: 9px; }
.footer-2__links a { color: #9aa2b1; font-size: 13.5px; transition: color .15s, padding-left .15s; }
.footer-2__links a:hover { color: #fff; padding-left: 4px; }
.footer-2__links i { color: var(--primary-color, #d32f2f); font-size: 11px; margin-right: 4px; }

.footer-2__recent { list-style: none; margin: 0; padding: 0; }
.footer-2__recent li { margin-bottom: 14px; }
.footer-2__recent-title { display: block; font-size: 13px; color: #cfd4dc; line-height: 1.5; transition: color .15s; }
.footer-2__recent a:hover .footer-2__recent-title { color: #fff; }
.footer-2__recent-date { display: block; font-size: 11px; color: #6b7280; margin-top: 4px; }

.footer-2__contact { list-style: none; margin: 0; padding: 0; }
.footer-2__contact li { font-size: 13px; margin-bottom: 10px; color: #9aa2b1; }
.footer-2__contact i { color: var(--primary-color, #d32f2f); margin-right: 8px; width: 16px; }
.footer-2__contact a { color: #9aa2b1; }
.footer-2__contact a:hover { color: #fff; }

.footer-2__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid #262a31;
    font-size: 13px;
}
.footer-2__bottom-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-2__bottom-links a { color: #8b93a1; font-size: 12.5px; }
.footer-2__bottom-links a:hover { color: #fff; }

/* ---------------------------------------------------------------
   Footer 3 — Minimal
   --------------------------------------------------------------- */
.footer-3 {
    background: #16181d;
    color: #b6bcc6;
    border-top: 3px solid var(--primary-color, #d32f2f);
    padding: 22px 0;
}
.footer-3__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.footer-3__left { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.footer-3__copyright { font-size: 13px; color: #9aa2b1; }
.footer-3__links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-3__links a { font-size: 12.5px; color: #9aa2b1; }
.footer-3__links a:hover { color: #fff; }

/* ---------------------------------------------------------------
   Mobil
   --------------------------------------------------------------- */
@media (max-width: 900px) {
    .footer-1__grid,
    .footer-2__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 560px) {
    .footer-1__grid,
    .footer-2__grid { grid-template-columns: 1fr; }
    .footer-2__bottom,
    .footer-3__inner { flex-direction: column; align-items: flex-start; }
}
