/* =============================================
   HERYERPARKOUR — Footer
   4 sütun grid, sosyal medya, copyright
   ============================================= */

.site-footer {
  background: var(--bg-dark);
  color: white;
  padding: 48px 0 20px;
  position: relative;
  z-index: 1;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

/* Brand column */
.foot-logo {
  font-family: var(--ff-display);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.foot-logo span {
  color: var(--accent);
}

.foot-logo-link {
  display: inline-block;
  margin-bottom: 0;
  text-decoration: none;
}

.foot-logo-img {
  height: 140px;
  width: auto;
  display: block;
  object-fit: contain;
}

.foot-desc {
  font-size: var(--font-small);
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

.foot-socials {
  display: flex;
  gap: var(--space-xs);
}

/* Columns */
.foot-col h4 {
  font-family: var(--ff-heading);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-on-dark-faint);
  margin-bottom: 20px;
}

.foot-col a {
  display: block;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 5px 0;
  transition: color var(--duration-normal);
}

.foot-col a:hover {
  color: var(--accent);
}

.foot-highlight {
  color: white !important;
  font-weight: 600 !important;
}

.foot-col a.map-sticker-link {
  color: var(--accent) !important;
  font-family: var(--ff-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  pointer-events: auto;
  position: relative;
  z-index: 2;
  cursor: pointer;
}
.foot-col a.map-sticker-link:hover {
  color: white !important;
}

/* Bottom bar */
.foot-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== SPARK CREDIT — PNG Logo + Neon Effect + Word Cycle ===== */
.spark-credit {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
  position: relative;
}

.spark-logo-img {
  height: 36px;
  width: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.5s, filter 0.3s;
}

/* Scroll tetikler — logo görünür (kelime döngüsü bitince) */
.spark-credit.scroll-anim-trigger.in-view .spark-logo-img {
  opacity: 1;
  transition: opacity 0.4s;
}

/* ===== SPARK WORD CYCLE ===== */
.spark-words {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.spark-word {
  position: absolute;
  font-family: var(--ff-display);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0;
  transition: opacity 0.4s, filter 0.4s;
  white-space: nowrap;
  line-height: 1;
}

.spark-word.active {
  opacity: 1;
}

/* Beyaz — tek sayılı kelimeler (Fikir, Oyun) */
.spark-word:nth-child(odd) {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3),
               0 0 20px rgba(255, 255, 255, 0.1);
}

/* Turuncu — çift sayılı kelimeler (Sanat, Teknoloji) */
.spark-word:nth-child(even) {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(255, 77, 0, 0.35),
               0 0 20px rgba(255, 77, 0, 0.12);
}

/* Logo gizleme — kelime gösterilirken */
.spark-credit.showing-word .spark-logo-img {
  opacity: 0 !important;
  transition: opacity 0.4s;
}

/* Hover — ekstra parlak */
.spark-credit:hover .spark-logo-img {
  filter: brightness(1.4)
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.5))
    drop-shadow(0 0 30px rgba(255, 77, 0, 0.2)) !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .spark-word { transition: none; }
  .spark-logo-img { transition: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .site-footer { padding-top: 24px; }

  .foot-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 32px;
  }

  /* Logo/brand — full width, centered, compact */
  .foot-brand {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 24px;
  }
  .foot-brand .foot-logo-img {
    margin: 0 auto;
    height: 80px;
  }
  .foot-brand .foot-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .foot-brand .foot-socials {
    justify-content: center;
  }

  /* Link columns — equal width, centered text */
  .foot-col { text-align: center; }
}

@media (max-width: 768px) {
  .foot-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .foot-brand {
    grid-column: 1;
  }
  .foot-col { text-align: center; }
}
