/* =========================================================================
   VALSINOX · services.html
   Yapiskan dizin (masaustu) + sekiz bolum. Bolum duzenleri degisir:
   a = metin solda / cizim sagda · b = cizim solda · c = yalniz yazi (dev numara)
   d = dikey gorsel solda · e = c + magaza yolu · f = genis gorsel
   Yalniz site.css jetonlari kullanilir.
   ========================================================================= */

/* GOVDE: dizin + bolumler ------------------------------------------------- */
.hz { padding-top: clamp(88px, 10vw, 168px); }
.hz__izgara { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--bosluk); padding-inline: var(--kenar); align-items: start; }

/* dizin */
.hz-dizin { grid-column: 1 / span 3; position: sticky; top: calc(var(--serit-ust) + var(--serit-y) + 32px); display: grid; gap: 20px; padding-top: 12px; border-top: 1px solid var(--cizgi); padding-right: 24px; }
.hz-dizin__etiket { color: var(--ikincil); }
.hz-dizin__liste { display: grid; }
.hz-dizin__liste li { border-bottom: 1px solid var(--cizgi); }
.hz-dizin__liste li:first-child { border-top: 1px solid var(--cizgi); }
.hz-dizin__liste a { position: relative; display: flex; align-items: center; gap: 14px; min-height: 40px; padding: 8px 0; color: var(--ikincil); font-size: 0.9375rem; font-weight: 500; line-height: 1.2; transition: color 0.3s ease, padding 0.6s var(--egri-disari); }
.hz-dizin__liste a .mono { color: var(--soluk); min-width: 2ch; transition: color 0.3s ease; }
.hz-dizin__liste a::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--vurgu); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s var(--egri-ic-dis); }
.hz-dizin__liste a.aktif { color: var(--yazi); padding-left: 20px; }
.hz-dizin__liste a.aktif .mono { color: var(--vurgu); }
.hz-dizin__liste a.aktif::before { transform: scaleX(1); }
@media (hover: hover) {
  .hz-dizin__liste a:hover { color: var(--yazi); }
  .hz-dizin__liste a:hover .mono { color: var(--vurgu); }
}
.hz-dizin__eylem { justify-self: start; }

.hz__bolumler { grid-column: 4 / -1; }

/* BOLUM (ortak) ----------------------------------------------------------- */
.hz-kap { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--bosluk); row-gap: clamp(36px, 4.2vw, 64px); align-items: start; padding-top: clamp(120px, 12vw, 208px); scroll-margin-top: calc(var(--serit-ust) + var(--serit-y) + 8px); }
.hz-kap:first-child { padding-top: 0; }
.hz-kap > * { min-width: 0; }
.hz-kap__ust { grid-area: ust; display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--cizgi); color: var(--ikincil); }
.hz-kap__no { color: var(--vurgu); }
.hz-kap__ad { grid-area: ad; margin-top: calc(-1 * clamp(8px, 1.4vw, 24px)); max-width: 16ch; }
.hz-kap__lead { grid-area: lead; max-width: 30ch; }
.hz-kap__kapsam { grid-area: kap; }
.hz-kap__yaklasim { grid-area: yak; }
.hz-kap__is { grid-area: is; }
.hz-kap__cta { grid-area: cta; justify-self: start; align-self: end; }
.hz-kap__gorsel, .hz-cizim { grid-area: ciz; }
.hz-kap__etiket { margin-bottom: 16px; color: var(--ikincil); }

/* kapsam tablosu: ince cizgili satirlar */
.hz-tablo li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--bosluk); align-items: baseline; padding: 13px 0 14px; border-top: 1px solid var(--cizgi); }
.hz-tablo li:last-child { border-bottom: 1px solid var(--cizgi); }
.hz-tablo li > :first-child { font-weight: 500; line-height: 1.3; }
.hz-tablo li > :last-child { color: var(--ikincil); font-size: 0.9375rem; line-height: 1.4; }
.hz-tablo--iki { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--bosluk); }
.hz-tablo--iki li:nth-last-child(2) { border-bottom: 1px solid var(--cizgi); }

/* yaklasim */
.hz-kap__yaklasim dl { display: grid; gap: 8px; }
.hz-kap__yaklasim dt { color: var(--yazi); padding-top: 12px; border-top: 1px solid var(--cizgi); }
.hz-kap__yaklasim dt:not(:first-child) { margin-top: 16px; }
.hz-kap__yaklasim dd { color: var(--ikincil); max-width: 40ch; text-wrap: pretty; }

/* ilgili isler */
.hz-isler li { border-top: 1px solid var(--cizgi); }
.hz-isler li:last-child { border-bottom: 1px solid var(--cizgi); }
.hz-isler a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; row-gap: 6px; min-height: 56px; padding: 14px 0 15px; }
.hz-isler__ad { font: 500 1.25rem/1.1 var(--f-baslik); letter-spacing: -0.015em; text-transform: uppercase; transition: color 0.3s ease, transform 0.7s var(--egri-disari); }
.hz-isler__not { grid-column: 1 / -1; color: var(--ikincil); font-size: 0.9375rem; line-height: 1.4; max-width: 52ch; }
.hz-isler a::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--vurgu); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.9s var(--egri-ic-dis); }
@media (hover: hover) {
  .hz-isler a:hover .hz-isler__ad { color: var(--vurgu); transform: translateX(10px); }
  .hz-isler a:hover::before { transform: scaleX(1); }
}
.hz-isler a:focus-visible .hz-isler__ad { color: var(--vurgu); }
.hz-kap__durust { color: var(--ikincil); max-width: 40ch; padding: 14px 0 15px; border-top: 1px solid var(--cizgi); border-bottom: 1px solid var(--cizgi); }

/* cizgi cizimleri (svg) */
.hz-cizim { color: var(--ikincil); padding-top: 12px; border-top: 1px solid var(--cizgi); }
.hz-cizim svg { width: 100%; height: auto; overflow: visible; }
.hz-cizim__ince { stroke: var(--cizgi-guclu); }
.hz-cizim__kesik { stroke-dasharray: 4 6; }
.hz-cizim__vurgu { stroke: var(--vurgu); }
.hz-cizim__alt { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; color: var(--ikincil); }
.hz-cizim--yol svg, .hz-cizim--egri svg { margin-top: 12px; }
.hz-cizim--marka svg { max-width: 360px; margin: 12px auto 0; }

/* yalniz-yazi bolumu */
.hz-kap__soz { grid-area: soz; font: 500 var(--d3)/1.12 var(--f-baslik); letter-spacing: -0.02em; max-width: 26ch; text-wrap: pretty; }
.hz-kap__dev { grid-area: dev; justify-self: end; align-self: start; font: 500 clamp(6rem, 13vw, 15rem)/0.78 var(--f-baslik); letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px var(--cizgi-guclu); user-select: none; }

/* magaza yolu (e-commerce) */
.hz-yol { grid-area: yol; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--bosluk); counter-reset: none; }
.hz-yol li { display: grid; gap: 14px; padding-top: 12px; border-top: 1px solid var(--cizgi-guclu); font: 500 var(--d3)/1 var(--f-baslik); letter-spacing: -0.025em; color: var(--yazi); }
.hz-yol li span { font: 400 0.875rem/1.25 var(--f-mono); letter-spacing: 0.01em; color: var(--ikincil); }
.hz-yol li:last-child { border-top-color: var(--vurgu); }
.hz-yol li:last-child span { color: var(--vurgu); }

/* DUZENLER (9 sutun) ------------------------------------------------------ */
.hz-kap--a { grid-template-areas:
  "ust ust ust ust ust ust ust ust ust"
  "ad ad ad ad ad ad ad ad ad"
  "lead lead lead lead lead . ciz ciz ciz"
  "kap kap kap kap kap . yak yak yak"
  "is is is is is . cta cta cta"; }

.hz-kap--b, .hz-kap--d { grid-template-areas:
  "ust ust ust ust ust ust ust ust ust"
  "ad ad ad ad ad ad ad ad ad"
  "sol sol sol sol . sag sag sag sag"; }
.hz-kap__sol { grid-area: sol; }
.hz-kap__sag { grid-area: sag; }
.hz-kap__sol, .hz-kap__sag { display: grid; row-gap: clamp(36px, 4.2vw, 64px); align-content: start; }
.hz-kap__sol > *, .hz-kap__sag > * { min-width: 0; grid-area: auto; }
.hz-kap--d .hz-kap__gorsel { aspect-ratio: 4 / 5; }

.hz-kap--c { grid-template-areas:
  "ust ust ust ust ust ust ust ust ust"
  "ad ad ad ad ad ad ad ad ad"
  "soz soz soz soz soz soz . dev dev"
  "kap kap kap kap kap kap kap kap kap"
  "yak yak yak yak . is is is is"
  ". . . . . cta cta cta cta"; }
.hz-kap--e { grid-template-areas:
  "ust ust ust ust ust ust ust ust ust"
  "ad ad ad ad ad ad ad ad ad"
  "soz soz soz soz soz soz . dev dev"
  "yol yol yol yol yol yol yol yol yol"
  "kap kap kap kap kap kap kap kap kap"
  "yak yak yak yak . is is is is"
  ". . . . . cta cta cta cta"; }

.hz-kap--f { grid-template-areas:
  "ust ust ust ust ust ust ust ust ust"
  "ad ad ad ad ad ad ad ad ad"
  "ciz ciz ciz ciz ciz ciz ciz ciz ciz"
  "lead lead lead lead kap kap kap kap kap"
  "yak yak yak yak is is is is is"
  ". . . . cta cta cta cta cta"; }
.hz-kap--f .hz-kap__gorsel { aspect-ratio: 16 / 9; }
.hz-kap--f .hz-kap__lead { padding-right: 24px; }
.hz-kap--f .hz-kap__yaklasim { padding-right: 24px; }

.hz-kap__gorsel > img { transition: transform 1.4s var(--egri-yumusak); }

/* TABLET ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .hz-dizin { grid-column: 1 / -1; position: static; padding-right: 0; }
  .hz-dizin__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--bosluk); }
  .hz-dizin__liste li:nth-child(2) { border-top: 1px solid var(--cizgi); }
  .hz-dizin__liste a { min-height: 48px; }
  .hz__bolumler { grid-column: 1 / -1; margin-top: clamp(96px, 12vw, 144px); }
  .hz-kap__dev { font-size: clamp(5rem, 15vw, 9rem); }
  .hz-kap__ad { font-size: clamp(2.5rem, 6.4vw, 4.25rem); }
  .hz-kap--a { grid-template-areas:
    "ust ust ust ust ust ust ust ust ust"
    "ad ad ad ad ad ad ad ad ad"
    "lead lead lead lead lead ciz ciz ciz ciz"
    "kap kap kap kap kap yak yak yak yak"
    "is is is is is cta cta cta cta"; }
  .hz-kap--a .hz-cizim, .hz-kap--a .hz-kap__yaklasim, .hz-kap--a .hz-kap__cta { margin-left: 24px; }
  .hz-isler a { grid-template-columns: minmax(0, 1fr); }
  .hz-isler .kavram { justify-self: start; order: -1; }
}

/* TELEFON ----------------------------------------------------------------- */
@media (max-width: 760px) {
  .hz { padding-top: 72px; }
  .hz-dizin { gap: 16px; }
  .hz-dizin__liste { grid-template-columns: minmax(0, 1fr); }
  .hz-dizin__liste li:nth-child(2) { border-top: 0; }
  .hz-dizin__liste a { min-height: 50px; font-size: 1rem; }
  .hz-dizin__eylem { min-height: 44px; }
  .hz__bolumler { margin-top: 88px; }

  .hz-kap, .hz-kap--a, .hz-kap--b, .hz-kap--c, .hz-kap--d, .hz-kap--e, .hz-kap--f { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; row-gap: 32px; padding-top: 112px; }
  .hz-kap > * { grid-area: auto !important; }
  .hz-kap__sol, .hz-kap__sag { display: contents; }
  .hz-kap__ust { order: 0; } .hz-kap__ad { order: 1; }
  .hz-cizim, .hz-kap__gorsel, .hz-kap__dev { order: 2; }
  .hz-kap__lead, .hz-kap__soz { order: 3; } .hz-yol { order: 4; } .hz-kap__kapsam { order: 5; }
  .hz-kap__yaklasim { order: 6; } .hz-kap__is { order: 7; } .hz-kap__cta { order: 8; }
  .hz-kap__ad { margin-top: -8px; font-size: clamp(2.25rem, 10.4vw, 3.25rem); }
  .hz-kap__lead { max-width: none; }
  .hz-kap__cta { min-height: 44px; }
  .hz-kap--a .hz-cizim, .hz-kap--a .hz-kap__yaklasim, .hz-kap--a .hz-kap__cta { margin-left: 0; }
  .hz-kap--d .hz-kap__gorsel { width: 82%; justify-self: end; }
  .hz-kap--f .hz-kap__gorsel { margin-inline: calc(-1 * var(--kenar)); aspect-ratio: 4 / 3; }
  .hz-kap--f .hz-kap__lead, .hz-kap--f .hz-kap__yaklasim { padding-right: 0; }

  .hz-kap__dev { justify-self: end; font-size: 30vw; margin-block: -12px -20px; }
  .hz-kap__soz { font-size: 1.5rem; }

  .hz-tablo li { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .hz-tablo--iki { grid-template-columns: minmax(0, 1fr); }
  .hz-tablo--iki li:nth-last-child(2) { border-bottom: 0; }

  .hz-yol { grid-template-columns: minmax(0, 1fr); }
  .hz-yol li { display: flex; align-items: baseline; gap: 20px; padding: 12px 0 14px; font-size: 1.75rem; }
  .hz-yol li:last-child { border-bottom: 1px solid var(--vurgu); }

  .hz-cizim--marka svg { max-width: 260px; }
}

/* kapanis cagrisi: e-posta / sosyal satiri (site.css'te tanimli degil) */
.cagri .sosyal-satir { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.cagri .sosyal-satir .ornek { margin-left: 0; }
