/* ============================================
   PAGES.CSS — Detay sayfalar için ortak bileşenler
   ============================================ */

/* ============================================
   REFERENCE DETAIL PAGE — Parça 2 temel skeleton
   (Tasarım Parça 4'te claude-design ile zenginleşecek)
   ============================================ */
.ref-detail-hero {
  min-height: 360px;
  background-color: #1a1610;
  color: #fbf7ef;
  padding: 100px 0 60px;
}
.ref-detail-hero .breadcrumb,
.ref-detail-hero .breadcrumb a,
.ref-detail-hero .eyebrow,
.ref-detail-hero h1,
.ref-detail-hero .page-hero-sub { color: #fbf7ef; }
.ref-detail-hero .breadcrumb a:hover { color: var(--brand-gold, #aa9264); }

.ref-detail-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; padding: 10px 18px;
  background: var(--brand-gold, #aa9264); color: #fff;
  border-radius: 4px; font-weight: 500;
  text-decoration: none; transition: all 0.2s;
}
.ref-detail-link:hover { background: #8c7748; transform: translateX(2px); }

.ref-detail-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  padding: 60px 0;
}
@media (max-width: 900px) { .ref-detail-layout { grid-template-columns: 1fr; gap: 32px; } }

.ref-detail-side .side-title {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand-gold, #aa9264);
  margin-bottom: 20px;
}
.ref-stats-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ref-stat-card {
  background: var(--surface-warm, #faf6ec); border: 1px solid rgba(170,146,100,0.18);
  padding: 18px; border-radius: 6px;
}
.ref-stat-card .v {
  font-family: Fraunces, Georgia, serif; font-size: 28px; font-weight: 600;
  color: var(--brand-gold, #aa9264); line-height: 1.1;
}
.ref-stat-card .l { font-size: 12px; color: #666; margin-top: 4px; letter-spacing: 0.04em; }

.ref-detail-main h2 {
  font-family: Fraunces, Georgia, serif; font-size: 30px;
  font-weight: 500; margin-bottom: 16px; line-height: 1.25;
}
.lead-paragraph { font-size: 17px; line-height: 1.7; color: #2c2620; }

.ref-gallery { margin-top: 56px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; margin-top: 24px;
}
.gallery-tile {
  position: relative; aspect-ratio: 4/3;
  border: 0; padding: 0; background: #f1ece2;
  border-radius: 6px; overflow: hidden; cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,12,8,0.18); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 12px; background: linear-gradient(180deg, transparent, rgba(15,12,8,0.85));
  color: #fbf7ef; font-size: 12px; text-align: left;
  opacity: 0; transition: opacity 0.25s ease;
}
.gallery-tile:hover .gallery-caption { opacity: 1; }

.related-refs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; margin-top: 28px;
}
.related-ref-card {
  display: block; padding: 22px;
  background: #fff; border: 1px solid rgba(170,146,100,0.18);
  border-radius: 6px; text-decoration: none; color: inherit;
  position: relative; transition: all 0.25s ease;
}
.related-ref-card:hover { border-color: var(--brand-gold, #aa9264); transform: translateY(-2px); }
.related-ref-card .rel-tag {
  display: inline-block; padding: 4px 10px;
  background: rgba(170,146,100,0.12); color: var(--brand-gold, #aa9264);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 3px;
}
.related-ref-card h3 {
  font-family: Fraunces, Georgia, serif; font-size: 19px;
  font-weight: 500; margin: 12px 0 6px; line-height: 1.3;
}
.related-ref-card p { font-size: 13px; color: #666; margin: 0; }
.related-ref-card .rel-arrow {
  position: absolute; top: 22px; right: 22px;
  font-size: 20px; color: var(--brand-gold, #aa9264);
  transition: transform 0.25s ease;
}
.related-ref-card:hover .rel-arrow { transform: translateX(4px); }


/* PAGE HERO (her detay sayfasının başında) — eski tanımlar 387. satırda yenileriyle değiştirildi.
   Sadece h1, h1 em ve page-hero-sub stilleri kalıyor. */
.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 18px 0 24px;
  max-width: 18ch;
}
.page-hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 64ch;
}

.breadcrumb {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 28px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.breadcrumb a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--brand-gold); }
.breadcrumb .sep { color: var(--ink-faint); }

/* GENERIC PAGE SECTION */
.page-section {
  padding: 100px 0;
  position: relative;
}
.page-section-warm {
  background: var(--surface-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.page-section-dark {
  background: var(--ink);
  color: var(--surface-warm);
}
.page-section-dark .eyebrow { color: var(--brand-gold-light) !important; }
.page-section-dark h2 { color: var(--surface-warm) !important; }

.container.narrow { max-width: 820px; }

/* STORY BLOCK */
.story-block { text-align: left; }
.story-block .eyebrow { display: inline-block; margin-bottom: 16px; }
.story-block h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 22ch;
}
.story-block .lede {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 24px;
  font-family: var(--font-serif);
  font-style: italic;
}
.story-block p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

/* TIMELINE */
.timeline {
  max-width: 880px;
  margin: 60px auto 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 90px;
  top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-gold) 0%, var(--brand-gold-light) 100%);
}
.tl-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 36px;
  margin-bottom: 28px;
  position: relative;
}
.tl-year {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--brand-gold);
  text-align: right;
  padding-right: 18px;
  position: relative;
}
.tl-year::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 14px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--surface-cream);
  border: 2px solid var(--brand-gold);
}
.tl-year.tl-now { color: var(--ink); font-weight: 600; }
.tl-year.tl-now::after { background: var(--brand-gold); border-color: var(--ink); width: 16px; height: 16px; right: -8px; top: 13px; }

.tl-card {
  background: var(--surface-cream);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 28px;
  transition: all .3s;
}
.tl-card:hover {
  border-color: var(--brand-gold);
  transform: translateX(4px);
  box-shadow: 0 12px 32px rgba(43,30,20,0.08);
}
.tl-card-now {
  background: var(--ink);
  color: var(--surface-warm);
  border-color: var(--ink);
}
.tl-card-now:hover { transform: translateX(4px); }
.tl-card h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}
.tl-card-now h4 { color: var(--brand-gold-light); }
.tl-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0;
}
.tl-card-now p { color: rgba(251,247,239,0.78); }

@media (max-width: 720px) {
  .timeline::before { left: 50px; }
  .tl-item { grid-template-columns: 70px 1fr; gap: 24px; }
  .tl-year { font-size: 22px; padding-right: 12px; }
}

/* MISSION/VISION/VALUES GRID */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
@media (max-width: 920px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card {
  background: var(--surface-cream);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 40px 32px;
  text-align: center;
  transition: all .3s;
}
.mv-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(43,30,20,0.08);
}
.mv-ico {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  margin: 0 auto 24px;
  color: var(--brand-gold);
}
.mv-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 14px;
}
.mv-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* NUMBERS GRID (dark) */
.num-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 60px;
  background: rgba(212,175,55,0.18);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: var(--r-card);
  overflow: hidden;
}
@media (max-width: 720px) { .num-grid { grid-template-columns: repeat(2, 1fr); } }
.num-cell {
  background: var(--ink);
  padding: 36px 28px;
  text-align: center;
}
.num-cell .num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 52px);
  color: var(--brand-gold-light);
  line-height: 1;
  margin-bottom: 10px;
}
.num-cell .lbl {
  font-size: 13px;
  color: rgba(251,247,239,0.65);
  line-height: 1.4;
}
.num-cell .lbl small {
  display: block;
  margin-top: 4px;
  color: rgba(251,247,239,0.42);
  font-size: 11.5px;
}

/* LOCATIONS */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
@media (max-width: 920px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-card {
  background: var(--surface-cream);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px 28px;
  position: relative;
  transition: all .3s;
}
.loc-card:hover { border-color: var(--brand-gold); transform: translateY(-4px); }
.loc-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
  background: var(--brand-gold);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.loc-card h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 18px;
}
.loc-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.loc-card li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.loc-card li:last-child { border-bottom: 0; }
.loc-card li strong { color: var(--ink); font-weight: 600; }

/* FOUNDER NOTE */
.founder-note {
  background: var(--surface-cream);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 60px 56px 48px;
  position: relative;
  text-align: left;
}
.founder-note .quote-mark {
  position: absolute;
  top: 12px; left: 36px;
  font-family: var(--font-serif);
  font-size: 120px;
  color: var(--brand-gold);
  opacity: 0.25;
  line-height: 1;
}
.founder-note blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 32px;
  font-weight: 400;
}
.founder-sig {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.founder-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
}
.founder-title {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* Secondary button on dark surfaces (CTA card, hero overlay) — outlined cream */
.btn-secondary-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-btn);
  background: transparent;
  color: var(--surface-warm);
  border: 1.5px solid rgba(251, 247, 239, 0.55);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-secondary-dark:hover {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--ink);
  transform: translateY(-1px);
}
.btn-secondary-dark:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 3px;
}

/* PAGE HERO — cover photo */
.page-hero {
  position: relative;
  padding: 220px 0 100px;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-img, url('/assets/images/yemek1.jpg'));
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  z-index: -2;
  animation: heroZoom 18s ease-out infinite alternate;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26,22,18,0.55) 0%, rgba(26,22,18,0.85) 80%, rgba(26,22,18,1) 100%),
    radial-gradient(ellipse at top right, rgba(170,146,100,0.18) 0%, transparent 60%);
  z-index: -1;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb a,
.page-hero .breadcrumb span,
.page-hero .breadcrumb .sep { color: rgba(251,247,239,0.7); }
.page-hero .breadcrumb a:hover { color: var(--brand-gold); }
.page-hero .eyebrow { color: var(--brand-gold-light); }
.page-hero h1 { color: var(--surface-warm); }
.page-hero h1 em.gold-italic { color: var(--brand-gold-light); }
.page-hero .page-hero-sub { color: rgba(251,247,239,0.75); max-width: 60ch; }

/* per-page hero images */
body.page-about .page-hero { --hero-img: url('/assets/images/yemek3.jpg'); }
body.page-services .page-hero { --hero-img: url('/assets/images/yemek5.jpg'); }
body.page-production .page-hero { --hero-img: url('/assets/images/yemek7.jpg'); }
body.page-references .page-hero { --hero-img: url('/assets/images/yemek2.jpg'); }
body.page-contact .page-hero { --hero-img: url('/assets/images/yemek9.jpg'); }

/* PAGE CTA */
.page-cta {
  padding: 80px 0;
  background: var(--surface-cream);
}
.page-cta-card {
  background: var(--ink);
  border-radius: var(--r-card);
  padding: 64px 48px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.page-cta-card > * { width: 100%; max-width: 60ch; }
.page-cta-card .page-cta-actions { width: auto; max-width: none; }
.page-cta-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, transparent 70%);
}
.page-cta-card h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 3.5vw, 44px);
  color: var(--surface-warm);
  margin-bottom: 16px;
  position: relative;
}
.page-cta-card p {
  font-size: 16px;
  color: rgba(251,247,239,0.75);
  margin-bottom: 32px;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.page-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================
   SERVICES PAGE — sektör panelleri
   ============================================ */
.sector-panel {
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}
.sector-panel:nth-child(even) { background: var(--surface-warm); }
.sector-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 920px) { .sector-panel-grid { grid-template-columns: 1fr; gap: 36px; } }
.sector-panel-grid.reverse { direction: rtl; }
.sector-panel-grid.reverse > * { direction: ltr; }

.sector-text .sector-num {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--brand-gold);
  letter-spacing: 0.18em;
  font-weight: 500;
  margin-bottom: 16px;
}
.sector-text h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 18ch;
}
.sector-text .lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 24px;
}
.sector-features {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}
.sector-features li {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-muted);
  padding: 10px 0 10px 28px;
  border-bottom: 1px dashed var(--line);
  position: relative;
}
.sector-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-gold);
  font-weight: 700;
}
.sector-features li:last-child { border-bottom: 0; }
.sector-features li strong { color: var(--ink); font-weight: 600; }

.sector-stats {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sector-stats .s {
  flex: 1;
}
.sector-stats .num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 32px;
  color: var(--brand-gold);
  line-height: 1;
}
.sector-stats .lbl {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 4px;
}

.sector-media {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ink);
}
.sector-media img,
.sector-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.sector-media-tag {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(43,30,20,0.85);
  color: var(--surface-warm);
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

/* MANTI subsection inside services */
.manti-feature {
  background: linear-gradient(135deg, var(--ink) 0%, #1f1410 100%);
  color: var(--surface-warm);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.manti-feature::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 65%);
}
.manti-feature .container { position: relative; }
.manti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 920px) { .manti-grid { grid-template-columns: 1fr; } }
.manti-feature .eyebrow { color: var(--brand-gold-light); }
.manti-feature h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--surface-warm);
  margin-bottom: 24px;
}
.manti-feature p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(251,247,239,0.78);
  margin-bottom: 18px;
}
.manti-stages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.manti-stage {
  background: rgba(251,247,239,0.05);
  border: 1px solid rgba(212,175,55,0.2);
  padding: 20px;
  border-radius: 8px;
}
.manti-stage .stg-num {
  font-family: var(--font-serif);
  color: var(--brand-gold-light);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.manti-stage .stg-name {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--surface-warm);
  margin-bottom: 6px;
}
.manti-stage .stg-desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(251,247,239,0.6);
}
.manti-media {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.manti-media video,
.manti-media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   PRODUCTION PAGE
   ============================================ */
.prod-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}
@media (max-width: 920px) { .prod-flow { grid-template-columns: 1fr; gap: 24px; } }
.prod-step {
  background: var(--surface-cream);
  border: 1px solid var(--line);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.prod-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  background: var(--brand-gold);
  color: var(--ink);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px;
  font-weight: 700;
  z-index: 2;
}
@media (max-width: 920px) {
  .prod-step:not(:last-child)::after {
    top: auto; bottom: -22px; right: 50%; transform: translateX(50%);
  }
}
.prod-step .stp-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--brand-gold);
  margin-bottom: 12px;
  font-weight: 500;
}
.prod-step h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
}
.prod-step p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* CERT FULL GRID */
.cert-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 920px) { .cert-full-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cert-full-grid { grid-template-columns: 1fr; } }

/* QUALITY METRICS */
.qm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
@media (max-width: 920px) { .qm-grid { grid-template-columns: repeat(2, 1fr); } }
.qm-card {
  background: var(--surface-cream);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 22px;
  text-align: left;
}
.qm-card .qm-num {
  font-family: var(--font-serif);
  font-size: 38px;
  color: var(--brand-gold);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 10px;
}
.qm-card .qm-lbl {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}
.qm-card .qm-desc {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* ============================================
   REFERENCES PAGE
   ============================================ */
.ref-list {
  display: grid;
  gap: 28px;
  margin-top: 60px;
}
.ref-item {
  background: var(--surface-cream);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
  transition: all .3s;
}
.ref-item:hover { border-color: var(--brand-gold); box-shadow: 0 16px 36px rgba(43,30,20,0.08); }
@media (max-width: 720px) {
  .ref-item { grid-template-columns: 1fr; padding: 28px 24px; }
}
.ref-meta-col {
  border-right: 1px solid var(--line);
  padding-right: 28px;
}
@media (max-width: 720px) {
  .ref-meta-col { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 20px; }
}
.ref-meta-col .ref-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  background: rgba(46,125,50,0.12);
  color: #2e7d32;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.ref-meta-col .ref-loc {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ref-meta-col .ref-stat {
  margin-bottom: 14px;
}
.ref-meta-col .ref-stat .v {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1;
}
.ref-meta-col .ref-stat .l {
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-top: 4px;
  letter-spacing: 0.06em;
}

.ref-body h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
}
.ref-body .scope {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.ref-body ul.delivers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
}
@media (max-width: 540px) { .ref-body ul.delivers { grid-template-columns: 1fr; } }
.ref-body ul.delivers li {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  padding-left: 18px;
  position: relative;
}
.ref-body ul.delivers li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--brand-gold);
  font-weight: 700;
}

/* TESTIMONIALS GRID (references page) */
.test-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
@media (max-width: 920px) { .test-full-grid { grid-template-columns: 1fr; } }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  margin-top: 60px;
  align-items: start;
}
@media (max-width: 920px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-form-card {
  background: var(--surface-cream);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 44px 40px;
}
.contact-form-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 8px;
}
.contact-form-card .sub {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.contact-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 540px) { .contact-form-card .form-row { grid-template-columns: 1fr; } }
.contact-form-card label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 6px;
}
.contact-form-card label {
  color: var(--ink) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11.5px !important;
}
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  background: #fff !important;
  color: var(--ink) !important;
  border: 1.5px solid rgba(26, 22, 18, 0.18) !important;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: rgba(26, 22, 18, 0.42);
}
.contact-form-card select { color: var(--ink); }
.contact-form-card input:hover,
.contact-form-card select:hover,
.contact-form-card textarea:hover {
  border-color: rgba(170, 146, 100, 0.55) !important;
}
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--brand-gold) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(170, 146, 100, 0.18);
}

.contact-form-card .legacy-hidden {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--ink);
  border-radius: 6px;
  transition: border-color .2s, background .2s;
}
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--brand-gold);
  background: var(--surface-cream);
}
.contact-form-card textarea { min-height: 110px; resize: vertical; }
.contact-form-card .field { margin-bottom: 14px; }
.contact-form-card .form-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.contact-form-card .form-foot {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 14px;
}

/* CONTACT INFO PANEL */
.contact-info-panel { padding-top: 8px; }
.contact-info-panel h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 8px;
}
.contact-info-panel .sub {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.contact-info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-row:last-child { border-bottom: 0; }
.contact-info-row .ico {
  width: 40px; height: 40px;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--brand-gold);
  flex-shrink: 0;
}
.contact-info-row .lb {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-info-row .vl {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}
.contact-info-row .vl a { color: inherit; text-decoration: none; }
.contact-info-row .vl a:hover { color: var(--brand-gold); }
.contact-info-row .vl small { display: block; color: var(--ink-muted); font-weight: 400; font-size: 12.5px; margin-top: 4px; }

/* FAQ on contact page */
.faq-page {
  max-width: 880px;
  margin: 60px auto 0;
}

/* ============= Legal pages (KVKK / Privacy / Cookies) ============= */
.page-legal .legal-section { padding: 80px 0 120px; }
.legal-container { max-width: 880px; margin: 0 auto; }
.legal-prose {
  background: var(--surface-warm, #faf6ef);
  border: 1px solid var(--line, #e7dfd1);
  border-radius: 14px;
  padding: 56px 60px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: "ss01" on;
}
.legal-prose .legal-meta {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.legal-prose h2 {
  font-family: var(--font-serif, "Fraunces", Georgia, serif);
  font-size: 24px;
  font-weight: 500;
  margin: 38px 0 14px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.legal-prose h2:first-of-type { margin-top: 8px; }
.legal-prose p { margin: 0 0 16px; }
.legal-prose ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal-prose ul li { margin-bottom: 8px; }
.legal-prose ul li strong { color: var(--ink); }
.legal-prose a {
  color: var(--brand-gold, #aa9264);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal-prose a:hover { text-decoration-thickness: 2px; }
.legal-prose .legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px;
  font-size: 14.5px;
}
.legal-prose .legal-table th,
.legal-prose .legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.legal-prose .legal-table thead th {
  background: rgba(170, 146, 100, 0.08);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  border-bottom: 2px solid var(--line);
}
.legal-prose .legal-table tbody tr:last-child td { border-bottom: none; }
@media (max-width: 720px) {
  .legal-prose { padding: 36px 26px; font-size: 15.5px; }
  .legal-prose h2 { font-size: 21px; margin-top: 30px; }
  .legal-prose .legal-table { font-size: 13.5px; }
  .legal-prose .legal-table th, .legal-prose .legal-table td { padding: 10px 8px; }
}

/* ============================================
   REFERENCE DETAIL PAGE (Parça 2 — temel skeleton; tasarım Parça 4 ile)
   ============================================ */
.ref-detail-hero {
  min-height: 360px;
  background-color: #1a1610;
  color: #fbf7ef;
  padding: 100px 0 60px;
}
.ref-detail-hero .breadcrumb,
.ref-detail-hero .breadcrumb a,
.ref-detail-hero .eyebrow,
.ref-detail-hero h1,
.ref-detail-hero .page-hero-sub { color: #fbf7ef; }
.ref-detail-hero .breadcrumb a:hover { color: var(--brand-gold, #aa9264); }

.ref-detail-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; padding: 10px 18px;
  background: var(--brand-gold, #aa9264); color: #fff;
  border-radius: 4px; font-weight: 500;
  text-decoration: none; transition: all 0.2s;
}
.ref-detail-link:hover { background: #8c7748; transform: translateX(2px); }

.ref-detail-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  padding: 60px 0;
}
@media (max-width: 900px) { .ref-detail-layout { grid-template-columns: 1fr; gap: 32px; } }

.ref-detail-side .side-title {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand-gold, #aa9264);
  margin-bottom: 20px;
}
.ref-stats-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ref-stat-card {
  background: var(--surface-warm, #faf6ec); border: 1px solid rgba(170,146,100,0.18);
  padding: 18px; border-radius: 6px;
}
.ref-stat-card .v {
  font-family: Fraunces, Georgia, serif; font-size: 28px; font-weight: 600;
  color: var(--brand-gold, #aa9264); line-height: 1.1;
}
.ref-stat-card .l { font-size: 12px; color: #666; margin-top: 4px; letter-spacing: 0.04em; }

.ref-detail-main h2 {
  font-family: Fraunces, Georgia, serif; font-size: 30px;
  font-weight: 500; margin-bottom: 16px; line-height: 1.25;
}
.lead-paragraph { font-size: 17px; line-height: 1.7; color: #2c2620; }

.ref-gallery { margin-top: 56px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; margin-top: 24px;
}
.gallery-tile {
  position: relative; aspect-ratio: 4/3;
  border: 0; padding: 0; background: #f1ece2;
  border-radius: 6px; overflow: hidden; cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,12,8,0.18); }
.gallery-tile img { width: 100