/* Projeler — Dinamik Life benzeri, Bais renkleri */

.page-projeler .site-header {
  position: absolute;
}

.page-projeler .header-logo {
  background: transparent;
}

.proj-hero {
  position: relative;
  z-index: 3;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(214, 125, 92, 0.28), transparent 55%),
    linear-gradient(145deg, #2a1612 0%, #1a100e 55%, #0f0c0b 100%);
  color: #fff;
  padding: 140px 24px 0;
}

.proj-hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-bottom: 72px;
}

.proj-hero-stats {
  position: relative;
  z-index: 5;
  transform: translateY(50%);
  padding: 0 24px;
  pointer-events: none;
}

.proj-hero-stats .proj-stats {
  pointer-events: auto;
}

.proj-kicker {
  display: inline-block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.proj-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.proj-hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 14px;
  background: var(--nav-active);
  border-radius: 2px;
}

.proj-hero p {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.proj-main {
  position: relative;
  z-index: 1;
  background: #f7f4f1;
  padding: 140px 24px 96px;
}

.proj-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.proj-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(42, 22, 18, 0.14);
  margin: 0;
  overflow: visible;
}

.proj-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 32px 24px;
  position: relative;
}

.proj-stat + .proj-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: #ebe6e2;
}

.proj-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2a1612;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.proj-stat-icon i {
  color: var(--nav-active);
  font-size: 20px;
  line-height: 1;
}

.proj-stat-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.proj-stat-text strong {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: #1f1a18;
  line-height: 1;
}

.proj-stat-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #8a807a;
  line-height: 1.3;
}

.proj-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 36px;
}

.proj-search-filter {
  margin: 0 0 20px;
}

.proj-filter-result {
  margin: -8px 0 24px;
  color: #7a6e68;
  font-size: 14px;
  font-weight: 600;
}

.proj-empty {
  margin: 0 0 40px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #ebe4df;
  color: #5c4f4a;
  font-size: 15px;
  line-height: 1.6;
}

a.proj-filter {
  text-decoration: none;
}

.proj-filter {
  border: 1px solid #ddd5cf;
  background: #fff;
  color: #5c5551;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.proj-filter:hover {
  border-color: var(--nav-active);
  color: var(--nav-active);
}

.proj-filter.is-active {
  background: var(--nav-active);
  border-color: var(--nav-active);
  color: #fff;
  box-shadow: 0 10px 24px rgba(214, 125, 92, 0.35);
}

.proj-filter .count {
  opacity: 0.8;
  margin-left: 4px;
}

.proj-featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(42, 22, 18, 0.1);
  margin-bottom: 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.proj-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 54px rgba(42, 22, 18, 0.14);
}

.proj-featured-media {
  position: relative;
  min-height: 340px;
}

.proj-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.proj-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 12, 10, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.proj-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6fcf97;
}

.proj-badge.is-done::before {
  background: #9aa0a6;
}

.proj-badge.is-soon::before {
  background: var(--nav-active);
}

.proj-featured-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.proj-featured-label {
  color: var(--nav-active);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.proj-featured-body h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: #1f1a18;
  margin-bottom: 12px;
  line-height: 1.15;
}

.proj-loc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7a716c;
  font-size: 14px;
  margin-bottom: 16px;
}

.proj-loc i {
  color: var(--nav-active);
}

.proj-featured-body > p {
  color: #6d6460;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.proj-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid #ebe6e2;
  padding-top: 18px;
  margin-bottom: 24px;
}

.proj-meta span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #9a918b;
  margin-bottom: 4px;
}

.proj-meta strong {
  color: #2a1612;
  font-size: 15px;
  font-weight: 700;
}

.proj-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: var(--nav-active);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.proj-featured:hover .proj-cta {
  background: #c46848;
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.proj-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #2a1612;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  min-height: 420px;
  box-shadow: 0 16px 36px rgba(42, 22, 18, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(214, 125, 92, 0.22);
}

.proj-card-media {
  position: absolute;
  inset: 0;
}

.proj-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.proj-card:hover .proj-card-media img {
  transform: scale(1.05);
}

.proj-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 10, 0.15) 30%, rgba(20, 12, 10, 0.88) 100%);
}

.proj-card .proj-badge {
  z-index: 2;
}

.proj-card-body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 24px;
}

.proj-card-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.proj-card-body .proj-loc {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 10px;
}

.proj-card-body p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.proj-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 14px;
  font-size: 13px;
}

.proj-card-footer span {
  color: rgba(255, 255, 255, 0.7);
}

.proj-card-footer strong {
  color: #fff;
}

.proj-card-link {
  color: var(--nav-active);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.proj-empty {
  display: none;
  text-align: center;
  padding: 48px 20px;
  color: #7a716c;
  background: #fff;
  border-radius: 18px;
}

.proj-empty.is-visible {
  display: block;
}

.proj-banner {
  margin-top: 48px;
  background:
    radial-gradient(ellipse 70% 80% at 90% 50%, rgba(214, 125, 92, 0.35), transparent 55%),
    linear-gradient(120deg, #2a1612, #1a100e);
  border-radius: 24px;
  padding: 42px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.proj-banner h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 8px;
}

.proj-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.proj-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.proj-banner-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.proj-banner-actions a.primary {
  background: var(--nav-active);
  color: #fff;
}

.proj-banner-actions a.primary:hover {
  background: #c46848;
}

.proj-banner-actions a.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.proj-banner-actions a.ghost:hover {
  border-color: var(--nav-active);
  color: var(--nav-active);
}

.is-hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .proj-featured {
    grid-template-columns: 1fr;
  }

  .proj-featured-media {
    min-height: 260px;
  }

  .proj-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proj-hero-stats {
    transform: translateY(36%);
  }

  .proj-main {
    padding-top: 110px;
  }
}

@media (max-width: 700px) {
  .proj-hero {
    padding: 96px 16px 24px;
  }

  .proj-hero-inner {
    padding-bottom: 20px;
  }

  /* Stacked stats + 50% translate overlapped filters — keep in flow on mobile */
  .proj-hero-stats {
    transform: none;
    padding: 0 16px;
    margin: 0 0 -20px;
  }

  .proj-main {
    padding: 36px 16px 72px;
  }

  .proj-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 18px;
  }

  .proj-stat {
    padding: 16px 6px;
    gap: 8px;
  }

  .proj-stat + .proj-stat::before {
    left: 0;
    top: 18%;
    bottom: 18%;
    right: auto;
    width: 1px;
    height: auto;
  }

  .proj-stat-icon {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .proj-stat-icon i {
    font-size: 15px;
  }

  .proj-stat-text strong {
    font-size: 22px;
  }

  .proj-stat-label {
    font-size: 9px;
    letter-spacing: 0.6px;
  }

  .proj-filters {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 20px;
  }

  .proj-filter {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    padding: 11px 12px;
    font-size: 13px;
  }

  .proj-search-filter.projects-filter,
  .projects-filter.proj-search-filter {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 14px 14px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(42, 22, 18, 0.08);
    margin-bottom: 24px;
  }

  .proj-search-filter select,
  .projects-filter.proj-search-filter select {
    width: 100%;
    min-width: 0;
    border: none;
    border-bottom: 1px solid #ebe4df;
    border-radius: 0;
    padding: 14px 28px 14px 4px;
    font-size: 15px;
    background: transparent;
    color: var(--nav-active);
    appearance: none;
    -webkit-appearance: none;
  }

  .proj-search-filter select:last-of-type,
  .projects-filter.proj-search-filter select:last-of-type {
    border-bottom: none;
  }

  .proj-search-filter .projects-filter-btn,
  .proj-search-filter button[type="submit"],
  .projects-filter.proj-search-filter button {
    width: 100%;
    margin-top: 6px;
    min-height: 46px;
  }

  .proj-grid {
    grid-template-columns: 1fr;
  }

  .proj-featured-body {
    padding: 28px 22px;
  }

  .proj-banner {
    padding: 32px 24px;
  }

  .proj-card {
    min-height: 360px;
  }
}

