/* ============================================================
   Site özel layout
   ============================================================ */

main.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Projeler sayfası tam genişlik kullansın */
body.quarto-page-layout-full main.content,
body[data-page-layout="full"] main.content {
  max-width: 1100px;
}

/* Eyebrow / etiket */
.eyebrow-label,
.section-eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B5945C;
  margin-bottom: 0.5rem;
}

/* Section blokları */
.section {
  margin: 3rem -1.5rem;
  padding: 2.5rem 1.5rem;
}
.section-alt {
  background: #F3EDDF;
  border-top: 1px solid #E5DCC4;
  border-bottom: 1px solid #E5DCC4;
}
.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: #2D2418;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.section-lead {
  color: #6B5A42;
  font-size: 1rem;
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

/* CTA */
.section-cta {
  background: #2D2418;
  color: #D9CDB6;
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 0;
}
.section-cta p {
  font-family: 'Inter', system-ui, sans-serif;
  color: #D9CDB6;
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.section-cta .cta-link {
  font-family: 'Fraunces', Georgia, serif;
  color: #FAF7F2;
  font-weight: 500;
  border-bottom: 1px solid #B5945C;
  text-decoration: none;
  padding-bottom: 1px;
  font-size: 1.1rem;
  font-style: italic;
}
.section-cta .cta-link:hover { color: #B5945C; }

/* Arrow list */
.arrow-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.arrow-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.75rem;
  border-bottom: 1px solid #D9CDB6;
  color: #4A3C2A;
  font-size: 1rem;
  line-height: 1.55;
}
.arrow-list li:last-child { border-bottom: none; }
.arrow-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0.85rem;
  color: #7A5C3A;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Resource row — anasayfa rehber listesi */
.resource-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid #E5DCC4;
  text-decoration: none !important;
  color: inherit;
  transition: background 0.15s ease, padding 0.15s ease;
}
.resource-row:hover {
  background: #FBF7EE;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.resource-row:last-of-type { border-bottom: none; }
.resource-info { min-width: 0; }
.resource-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #2D2418;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}
.resource-row:hover .resource-title { color: #7A5C3A; }
.resource-desc {
  font-size: 0.92rem;
  color: #6B5A42;
  line-height: 1.5;
}
.resource-tags {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Tags */
.tag {
  display: inline-block;
  background: #F0E6D2;
  color: #7A5C3A;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag-accent {
  background: #B5945C;
  color: #FAF7F2;
}
.tag-muted {
  font-size: 0.72rem;
  color: #9B8A6F;
  font-style: italic;
  padding: 0.2rem 0;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.tag-sm {
  display: inline-block;
  background: #F0E6D2;
  color: #7A5C3A;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  margin-right: 0.3rem;
}
.tag-year { background: #E8DCC2; color: #B5945C; }

/* ============================================================
   Projects page — 3-column grid with cover images
   ============================================================ */

.projects-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.projects-intro p {
  color: #6B5A42;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
}

.project-card {
  display: flex;
  flex-direction: column;
  background: #FAF7F2;
  border: 1px solid #E5DCC4;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(45, 36, 24, 0.1);
  border-color: #B5945C;
}

.project-cover {
  background: #F0E6D2;
  border-bottom: 1px solid #E5DCC4;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-cover-empty {
  background: linear-gradient(135deg, #F0E6D2 0%, #E5DCC4 100%);
}
.more-icon {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 4rem;
  color: #7A5C3A;
  font-weight: 300;
  line-height: 1;
}

.project-body {
  padding: 1.25rem 1.5rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-body h3 {
  font-family: 'Fraunces', Georgia, serif;
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #2D2418;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.project-card:hover .project-body h3 { color: #7A5C3A; }

.project-body p {
  color: #6B5A42;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.ptag {
  display: inline-block;
  background: #F0E6D2;
  color: #7A5C3A;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  text-transform: uppercase;
  border: 1px solid rgba(122, 92, 58, 0.15);
}
.ptag-accent {
  background: #B5945C;
  color: #FAF7F2;
  border-color: #B5945C;
}

.project-foot {
  padding: 0.75rem 1.5rem 1rem;
  border-top: 1px solid #F0E6D2;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  color: #9B8A6F;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.project-card-more .project-body h3 { color: #7A5C3A; }
.project-card-more {
  border-style: dashed;
  background: transparent;
}
.project-card-more:hover { background: #FAF7F2; }

/* About sayfa öğeleri */
.info-list {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
}
.info-list dt {
  font-weight: 600;
  color: #2D2418;
  font-size: 0.95rem;
}
.info-list dd {
  color: #4A3C2A;
  margin: 0;
  font-size: 0.95rem;
}

.cv-entry { margin-bottom: 1.25rem; }
.cv-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.25rem;
}
.cv-title {
  font-weight: 600;
  color: #2D2418;
  font-size: 1rem;
}
.cv-date {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  color: #B5945C;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.cv-meta {
  font-size: 0.9rem;
  color: #6B5A42;
}

.pub-entry {
  padding-left: 1rem;
  border-left: 3px solid #D9CDB6;
  margin-bottom: 1.25rem;
}
.pub-cite {
  font-size: 0.95rem;
  color: #2D2418;
  line-height: 1.5;
  margin: 0 0 0.4rem;
}
.pub-tags { display: flex; gap: 0.3rem; }

.talk-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.talk-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  align-items: start;
}
.talk-date {
  color: #B5945C;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}
.talk-title {
  color: #2D2418;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.talk-venue {
  color: #6B5A42;
  font-size: 0.88rem;
}

/* Contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}
.contact-card {
  display: block;
  background: #FAF7F2;
  border: 1px solid #E5DCC4;
  border-left: 3px solid #7A5C3A;
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  text-decoration: none !important;
  color: inherit;
  transition: border-left-color 0.15s ease, transform 0.15s ease;
}
.contact-card:hover {
  border-left-color: #B5945C;
  transform: translateX(4px);
}
.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F0E6D2;
  color: #7A5C3A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-family: 'Inter', system-ui, sans-serif;
}
.contact-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B5945C;
  margin-bottom: 0.25rem;
}
.contact-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #2D2418;
  margin-bottom: 0.5rem;
  word-break: break-word;
  letter-spacing: -0.01em;
}
.contact-note {
  color: #6B5A42;
  font-size: 0.88rem;
  line-height: 1.5;
}

.muted-suffix {
  color: #9B8A6F;
  font-weight: 400;
  font-size: 0.85em;
  font-style: italic;
}

/* Plain list (Notlar intro vs.) */
.plain-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 0;
}

/* Mobile */
@media (max-width: 700px) {
  main.content { padding: 0 1rem; }
  .section { margin: 2rem -1rem; padding: 2rem 1rem; }
  .section-cta { padding: 2.5rem 1rem; }
  .info-list { grid-template-columns: 1fr; gap: 0.25rem 0; }
  .info-list dt { margin-top: 0.75rem; }
  .info-list dt:first-child { margin-top: 0; }
  .talk-row { grid-template-columns: 1fr; gap: 0.25rem; }
  .resource-row { grid-template-columns: 1fr; }
  .resource-tags { margin-top: 0.5rem; }
}
