/**
 * Fastcom — Referanslar / Örnek Projeler (Munich tema uyumlu, minimal)
 */
:root {
  --fc-navy: #1b3041;
  --fc-accent: #19bd78;
  --fc-muted: #f8fafc;
  --fc-text: #1f2529;
  --fc-radius: 12px;
}

.logo-box .logo img {
  width: auto !important;
  height: auto !important;
  max-height: 56px;
  max-width: 200px;
}

/* Referans logo ızgarası — Hakkımızda partner satırı ile aynı mantık */
.fc-ref-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2rem;
  margin: 2rem 0 1rem;
}

.fc-ref-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  min-width: 160px;
  min-height: 100px;
  flex: 0 1 180px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fc-ref-logo:hover {
  border-color: var(--fc-accent);
  box-shadow: 0 4px 16px rgba(27, 48, 65, 0.08);
}

.fc-ref-logo img {
  max-width: 160px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.fc-ref-logo__mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--fc-navy);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .fc-ref-logos {
    gap: 1.75rem 2.25rem;
  }

  .fc-ref-logo {
    min-width: 180px;
    min-height: 110px;
    flex: 0 1 200px;
  }

  .fc-ref-logo img {
    max-width: 180px;
    max-height: 80px;
  }
}

/* Örnek projeler */
.fc-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.fc-project-card {
  background: var(--fc-muted);
  border-radius: var(--fc-radius);
  padding: 1.75rem;
  border-left: 4px solid var(--fc-accent);
}

.fc-project-card__sector {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fc-accent);
  text-transform: uppercase;
}

.fc-project-card__title {
  font-size: 1.25rem;
  color: var(--fc-navy);
  margin: 0.5rem 0;
}

.fc-project-card__bullets {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: #4a5568;
}

/* Hizmetler filtre çubuğu */
.fc-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.fc-filter {
  border: 1px solid #d8dee9;
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.fc-filter.is-active,
.fc-filter:hover {
  background: var(--fc-navy);
  color: #fff;
  border-color: var(--fc-navy);
}

/* Ana sayfa — Kimlerle Çalıştık? */
.fc-home-refs {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  padding: 4rem 1.5rem;
  margin-top: 2rem;
}

.fc-home-refs__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.fc-home-refs__title {
  text-align: center;
  color: var(--fc-navy);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.fc-home-refs__lead {
  text-align: center;
  color: #5a6578;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.fc-home-refs .fc-filter-bar {
  justify-content: center;
  margin-bottom: 2rem;
}

.fc-home-refs__cta {
  text-align: center;
  margin: 2rem 0 0;
}

.fc-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.fc-btn--outline {
  border: 2px solid var(--fc-navy);
  color: var(--fc-navy);
  background: transparent;
}

.fc-btn--outline:hover {
  background: var(--fc-navy);
  color: #fff;
}

/* Logo slider */
.fc-ref-slider-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.fc-ref-slider {
  overflow: hidden;
}

.fc-ref-slider__track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  animation: fc-ref-marquee 55s linear infinite;
}

.fc-ref-slider.is-paused .fc-ref-slider__track {
  animation-play-state: paused;
}

@keyframes fc-ref-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.fc-ref-slider__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1rem 1.5rem;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 10px;
  min-width: 170px;
  min-height: 96px;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.fc-ref-slider__item:hover {
  border-color: var(--fc-accent);
}

.fc-ref-slider__item.is-ref-hidden,
.fc-ref-card.is-ref-hidden {
  display: none !important;
}

.fc-ref-slider__logo img,
.fc-ref-card__logo-inner img {
  max-width: 190px;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
}

body.page-referanslarimiz .page_title,
body.page-referanslarimiz .entry-header {
  display: none !important;
}

/* HFE başlık bandı — breadcrumb altı açıklama */
body.page-referanslarimiz .fc-page-header-lead {
  margin: 0.85rem 0 0;
  max-width: 780px;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
}

body.page-referanslarimiz .fc-page-header-count {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

body.page-referanslarimiz .fc-page-header-count strong {
  color: var(--fc-accent, #19bd78);
  font-size: 1.25rem;
  font-weight: 700;
}

.fc-refs-hero {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, var(--fc-navy) 0%, #243b52 100%);
  color: #fff;
  border-radius: var(--fc-radius);
}

.fc-refs-hero__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.fc-refs-hero__lead {
  max-width: 640px;
  margin: 0 auto 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.fc-refs-hero__count {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.fc-refs-hero__count strong {
  color: var(--fc-accent, #19bd78);
  font-size: 1.35rem;
  font-weight: 700;
}

.fc-refs-stats {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e8edf4;
}

.fc-refs-stats__headline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .fc-refs-stats__headline {
    grid-template-columns: repeat(5, 1fr);
  }
}

.fc-refs-stats__stat {
  background: #f4f7fa;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1px solid rgba(15, 36, 51, 0.06);
}

.fc-refs-stats__stat--live {
  background: linear-gradient(135deg, rgba(25, 189, 120, 0.12), rgba(25, 189, 120, 0.04));
  border-color: rgba(25, 189, 120, 0.25);
}

.fc-refs-stats__value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fc-navy);
  line-height: 1.2;
}

.fc-refs-stats__stat--live .fc-refs-stats__value {
  color: var(--fc-accent, #19bd78);
}

.fc-refs-stats__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fc-navy);
  margin-top: 0.35rem;
}

.fc-refs-stats__hint {
  display: block;
  font-size: 0.75rem;
  color: #5a6578;
  margin-top: 0.2rem;
}

.fc-refs-breakdown__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--fc-navy);
  margin: 0 0 0.5rem;
}

.fc-refs-breakdown__subtitle {
  color: #5a6578;
  margin: 0 0 1.75rem;
  max-width: 720px;
  line-height: 1.6;
}

.fc-refs-breakdown__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .fc-refs-breakdown__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .fc-refs-breakdown__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fc-refs-breakdown__item {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: var(--fc-radius);
  padding: 1.25rem;
}

.fc-refs-breakdown__item-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.fc-refs-breakdown__count {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  background: var(--fc-navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
}

.fc-refs-breakdown__type {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fc-navy);
  line-height: 1.35;
}

.fc-refs-breakdown__detail {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #5a6578;
}

.fc-refs-awards {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: #f4f7fa;
  border-radius: var(--fc-radius);
}

.fc-refs-awards__title {
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--fc-navy);
}

.fc-refs-awards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .fc-refs-awards__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fc-refs-awards__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: #5a6578;
}

.fc-refs-awards__item strong {
  color: var(--fc-navy);
  font-size: 0.95rem;
}

/* Referans kartları — logo + ad */
.fc-refs--page {
  margin-top: 1rem;
}

.fc-ref-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.fc-ref-card {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: var(--fc-radius);
  padding: 1.25rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.fc-ref-card:hover {
  border-color: var(--fc-accent);
  box-shadow: 0 8px 24px rgba(27, 48, 65, 0.08);
}

.fc-ref-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 120px;
  padding: 1rem;
  background: var(--fc-muted);
  border-radius: 8px;
}

.fc-ref-card__logo-inner img {
  max-width: 200px;
  max-height: 96px;
}

.fc-ref-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fc-navy);
  margin: 0;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .fc-ref-cards {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .fc-ref-card__logo {
    min-height: 140px;
  }

  .fc-ref-card__logo-inner img {
    max-width: 220px;
    max-height: 110px;
  }

  .fc-ref-card__name {
    font-size: 0.95rem;
  }
}
