/* =========================
   FOOTER – CORE
========================= */

.site-footer{
  background:#0f0f0f;
  color:#ccc;
  font-family:'Inter', sans-serif;
  font-size:14px;
  line-height:1.6;
  margin:0;
  padding:0;
}

/* =========================
   SPONSORS STRIP
========================= */

.footer-sponsors{
  width:100%;
  background:#fff;
  padding-top:18px;
  padding-bottom:0;
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
}

.footer-sponsors .sponsors-grid{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:32px;
  flex-wrap:wrap;
}

.footer-sponsors .sponsors-grid a{
  display:flex;
  align-items:center;
}

.footer-sponsors .sponsors-grid img{
  max-height:70px;
  width:auto;
  opacity:.9;
  transition:transform .2s ease, opacity .2s ease;
}

.footer-sponsors .sponsors-grid a:hover img{
  transform:scale(1.05);
  opacity:1;
}

/* =========================
   FOOTER MAIN
========================= */

.footer-main{
  padding:40px 0 48px;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:48px;
  align-items:start;
}

/* Kolonlar: görsel denge */
.footer-col{
  display:flex;
  flex-direction:column;
  max-width:260px;
  justify-self:center;
}

/* =========================
   FOOTER HEADINGS
========================= */

.footer-col h4{
  font-size:14px;
  font-weight:700;
  letter-spacing:.4px;
  text-transform:uppercase;
  color:#fff;
  margin-bottom:16px;
  position:relative;
}

.footer-col h4::after{
  content:"";
  display:block;
  width:24px;
  height:2px;
  background:#d32f2f;
  margin-top:8px;
}

/* =========================
   FOOTER LOGO & TEXT
========================= */

.footer-logo img{
  max-height:56px;
  width:auto;
  margin-bottom:14px;
  filter:brightness(0) invert(1);
}

.footer-desc{
  font-size:14px;
  color:#aaa;
  line-height:1.6;
}

/* =========================
   FOOTER LINKS – BASE
========================= */

.site-footer ul{
  list-style:none;
  margin:0;
  padding:0;
}

.site-footer li + li{
  margin-top:10px;
}

.site-footer a{
  font-size:14px;
  color:#bbb;
  text-decoration:none;
  position:relative;
  transition:color .2s ease, transform .2s ease;
}

.site-footer a:hover{
  color:#fff;
  transform:translateX(3px);
}

/* =========================
   FOOTER CATEGORIES
========================= */

.footer-categories a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding-bottom:2px;
}

.footer-categories .cat-icon{
  font-size:13px;
  opacity:.8;
}

.footer-categories .cat-hot{
  margin-left:4px;
}

.footer-categories a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:0;
  height:2px;
  background:#d32f2f;
  transition:width .2s ease;
}

.footer-categories a:hover::after{
  width:100%;
}

.footer-categories li.is-popular a{
  font-weight:600;
  color:#fff;
}

/* =========================
   FOOTER LATEST POSTS
========================= */

.footer-latest a{
  display:flex;
  align-items:center;
  gap:8px;
}

.footer-latest a::after{
  content:"";
  position:absolute;
  left:22px;
  bottom:-2px;
  width:0;
  height:2px;
  background:#d32f2f;
  transition:width .2s ease;
}

.footer-latest a:hover::after{
  width:calc(100% - 22px);
}

/* =========================
   FOOTER SOCIAL
========================= */

.footer-social{
  display:flex;
  gap:16px;
  margin-top:8px;
}

.footer-social img{
  width:18px;
  height:18px;
  opacity:.75;
  filter:brightness(0) invert(1);
  transition:opacity .2s ease, transform .2s ease, filter .2s ease;
}

.social-link:hover img{
  transform:translateY(-2px);
  opacity:1;
}

/* Social hover colors */
.social-instagram:hover img{
  filter:brightness(0) saturate(100%) invert(34%) sepia(95%) saturate(746%) hue-rotate(313deg);
}
.social-youtube:hover img{
  filter:brightness(0) saturate(100%) invert(21%) sepia(92%) saturate(6430%) hue-rotate(356deg);
}
.social-x:hover img{
  filter:brightness(0) invert(1) opacity(0.7);
}
.social-facebook:hover img{
  filter:brightness(0) saturate(100%) invert(32%) sepia(89%) saturate(2043%) hue-rotate(203deg);
}

/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding:18px 0;
}

.footer-bottom p{
  margin:0;
  font-size:13px;
  color:#888;
  text-align:center;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:992px){
  .footer-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:36px;
  }
  .footer-col{
    max-width:none;
    justify-self:stretch;
  }
}

@media (max-width:576px){
  .footer-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-col h4::after{
    margin-left:auto;
    margin-right:auto;
  }

  .footer-social{
    justify-content:center;
  }
}

/* =========================
   FOOTER LOGO – MOBILE
========================= */
@media (max-width:768px){
  .site-footer .footer-logo,
  .site-footer .custom-logo-link{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
  }

  .site-footer .custom-logo{
    display:block;
    margin:0 auto;
  }
}

/* =========================
   SCROLL TO TOP
========================= */

#scrollToTop{
  position:fixed;
  right:24px;
  bottom:24px;
  width:48px;
  height:48px;
  border-radius:50%;

  background:linear-gradient(135deg, #111, #2a2a2a);
  color:#fff;
  border:none;

  font-size:18px;
  font-weight:700;
  cursor:pointer;

  display:none;
  z-index:999999;

  box-shadow:
    0 10px 26px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(255,255,255,.06);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

body.scrolled #scrollToTop{
  display:flex;
  align-items:center;
  justify-content:center;
}

#scrollToTop:hover{
  transform:translateY(-4px);
  background:linear-gradient(135deg, #c40000, #8b0000);
  box-shadow:
    0 14px 36px rgba(196,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.12);
}

@media (max-width:768px){
  #scrollToTop{
    width:44px;
    height:44px;
    right:16px;
    bottom:16px;
  }
}