/* /projeler — 1:1 port of ProjectsClient.tsx */
.eray-pj {
  --champagne: #9a6b14;
  --champagne-accent: #bf913e; /* large accents, icons, fills */
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #ffffff;
  color: #111111;
  font-family: var(--font-sans);
}

.eray-pj img { margin: 0; }
.eray-pj [hidden] { display: none !important; }
.eray-pj button { cursor: pointer; font: inherit; }

.eray-pj-ico35 { flex-shrink: 0; width: 0.875rem; height: 0.875rem; }
.eray-pj-ico6 { flex-shrink: 0; width: 1.5rem; height: 1.5rem; color: #ffffff; }

/* Hero */
.eray-pj-hero { padding-top: 10rem; padding-bottom: 4rem; }

.eray-pj-kicker {
  margin: 0 0 1.5rem;
  color: var(--champagne);
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.eray-pj-title {
  max-width: 48rem;
  margin: 0;
  color: inherit;
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.025em;
}

.eray-pj-title span,
.eray-pj-cta-title span { font-weight: 600; }

.eray-pj-lead {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: #8b9098;
  font-size: 1.125rem;
  line-height: calc(1.75 / 1.125);
  font-weight: 300;
}

/* Filters */
.eray-pj-filter-sec { padding-bottom: 4rem; }

.eray-pj-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.eray-pj-filters::-webkit-scrollbar { display: none; }

.eray-pj .eray-pj-filter {
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background-color: #f2f2f2;
  color: #111111;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.eray-pj .eray-pj-filter:hover { background-color: #111111; color: #ffffff; }
.eray-pj .eray-pj-filter.is-active { background-color: #111111; color: #ffffff; }

/* Grid */
.eray-pj-grid-sec { padding-bottom: 8rem; }

.eray-pj-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

.eray-pj .eray-pj-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
}

.eray-pj-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 36px;
  background-color: #f2f2f2;
}

.eray-pj-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0, 0, 0.2, 1);
}

.eray-pj-card:hover .eray-pj-thumb img { transform: scale(1.1); }

.eray-pj-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.eray-pj-card:hover .eray-pj-overlay { background-color: rgba(0, 0, 0, 0.4); }

.eray-pj-overlay-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.eray-pj-card:hover .eray-pj-overlay-in { opacity: 1; }

.eray-pj-overlay-in span {
  color: #ffffff;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  font-weight: 500;
  letter-spacing: 0.025em;
}

.eray-pj-badge { position: absolute; top: 1.25rem; left: 1.25rem; z-index: 10; }

.eray-pj-badge span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #111111;
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eray-pj-info { margin-top: 1.25rem; }

.eray-pj-name {
  margin: 0;
  color: inherit;
  font-size: 1.25rem;
  line-height: calc(1.75 / 1.25);
  font-weight: 600;
  letter-spacing: -0.025em;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.eray-pj-card:hover .eray-pj-name { color: var(--champagne); }

.eray-pj-desc {
  margin: 0.5rem 0 0;
  color: #8b9098;
  font-size: 0.875rem;
  line-height: 1.625;
  font-weight: 300;
}

.eray-pj-loc { display: flex; align-items: center; gap: 0.375rem; margin-top: 0.75rem; color: #8b9098; }

.eray-pj-loc span {
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  font-weight: 300;
}

.eray-pj-empty { padding-top: 8rem; padding-bottom: 8rem; text-align: center; }

.eray-pj-empty p {
  margin: 0;
  color: #8b9098;
  font-size: 1.125rem;
  line-height: calc(1.75 / 1.125);
  font-weight: 300;
}

/* Lightbox */

/* No top offset: like the source, the static position centres it vertically. */

.eray-pj-gold { color: var(--champagne-accent, var(--champagne)); }

/* CTA */
.eray-pj-cta {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: #111111;
  color: #ffffff;
}

.eray-pj-cta-in { text-align: center; }

.eray-pj-cta-kicker {
  color: var(--champagne);
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.eray-pj-cta-title {
  margin: 1.5rem 0 0;
  color: inherit;
  font-size: 1.875rem;
  line-height: calc(2.25 / 1.875);
  font-weight: 300;
  letter-spacing: -0.025em;
}

.eray-pj-cta-text {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.125rem;
  line-height: calc(1.75 / 1.125);
  font-weight: 300;
}

.eray-pj-cta-btns {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.eray-pj a.eray-pj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  padding: 0 2.5rem;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.eray-pj a.eray-pj-btn--light { background-color: #ffffff; color: #000000; }
.eray-pj a.eray-pj-btn--light:hover { background-color: rgba(255, 255, 255, 0.9); }
.eray-pj a.eray-pj-btn--line { border: 1px solid rgba(255, 255, 255, 0.2); color: #ffffff; }
.eray-pj a.eray-pj-btn--line:hover { background-color: rgba(255, 255, 255, 0.1); }

@media (min-width: 640px) {
  .eray-pj-cta-btns { flex-direction: row; }
}

@media (min-width: 768px) {
  .eray-pj-hero { padding-top: 12rem; padding-bottom: 5rem; }
  .eray-pj-title { font-size: 3.75rem; }
  .eray-pj-lead,
  .eray-pj-cta-text { font-size: 1.25rem; line-height: calc(1.75 / 1.25); }
  .eray-pj-filter-sec { padding-bottom: 5rem; }
  .eray-pj-filters { gap: 0.75rem; }
  .eray-pj-grid-sec { padding-bottom: 11rem; }
  .eray-pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eray-pj-cta { padding-top: 11rem; padding-bottom: 11rem; }
  .eray-pj-cta-title { font-size: 3rem; line-height: 1; }

}

@media (min-width: 1024px) {
  .eray-pj-title { font-size: 4.5rem; }
  .eray-pj-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .eray-pj-cta-title { font-size: 3.75rem; }

}
