/* Dr. Osman Kökver ana sayfa yerleşim güncellemesi */

/* Bölüm sırası artık HTML'in kendi sırasıyla aynı; CSS `order` kaldırıldı.
   (order kullanıldığında klavye sekme sırası görsel sıradan sapıyordu —
   WCAG 1.3.2 Anlamlı Sıra ve 2.4.3 Odak Sırası.)
   Flex konteyner korunuyor: dikey boşluklar aynı kalsın. */
#icerik {
  display: flex;
  flex-direction: column;
}

/* Hero: portre korunuyor, biyografi Hakkımda bölümüne bırakılıyor. */
.hero {
  min-height: 680px;
  height: min(760px, calc(100svh - 40px - 88px));
  max-height: 780px;
}

.hero-left {
  padding-top: clamp(2.25rem, 3.5vw, 3.25rem);
  padding-right: clamp(2rem, 4.25vw, 4rem);
  padding-bottom: clamp(2.25rem, 3.5vw, 3.25rem);
}

.hero-breadcrumb {
  margin-bottom: 1.35rem;
}

.hero-h1 {
  font-size: clamp(2.25rem, 3.7vw, 3.3rem);
  margin-bottom: 1.25rem;
  max-width: 540px;
}

.hero-divider {
  margin-bottom: 1.25rem;
}

.hero-tagline {
  margin-bottom: 1.8rem;
  max-width: 32ch;
}

.hero-infobox,
.hero-body {
  display: none;
}

.hero-actions {
  margin-bottom: 2rem;
}

.hero-stats {
  grid-template-columns: repeat(3, 1fr);
}

.hero-stat:nth-child(3) {
  border-top: 0;
}

.hero-stat:nth-child(4) {
  display: none;
}

.hero-right {
  height: 100%;
  min-height: 0;
}

.hero-right > picture {
  position: absolute;
  inset: 0;
}

.hero-photo {
  position: absolute;
  inset: 0;
  height: 100%;
  object-position: center 29%;
}

/* Şikâyetler: uzun açıklamalar yerine hızlı seçim kartları. */
.complaints {
  padding: clamp(4.5rem, 7vw, 5.75rem) 0;
}

.complaints::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1100px, calc(100% - 3rem));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(184,154,98,.7), transparent);
}

.complaints-header {
  margin-bottom: clamp(2.5rem, 4vw, 3.25rem);
}

.complaints-breadcrumb {
  margin-bottom: 1.15rem;
}

.complaints-h2-italic {
  margin-bottom: .9rem;
}

.complaints-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1100px;
  gap: 1rem;
}

.ccard {
  min-height: 318px;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: 12px;
}

.ccard-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1.25rem;
}

.ccard-title {
  font-size: 1.1rem;
  margin-bottom: .7rem;
}

.ccard-italic {
  font-family: var(--body);
  font-style: normal;
  font-size: .8rem;
  line-height: 1.65;
  color: rgba(255,255,255,.58);
  margin-bottom: 1.4rem;
}

.ccard-badge,
.ccard-body {
  display: none;
}

.ccard-cta {
  margin-top: auto;
  border: 0;
  border-top: 1px solid rgba(184,154,98,.22);
  border-radius: 0;
  width: 100%;
  padding: 1rem 0 0;
  color: var(--gold);
}

.ccard-cta:hover {
  border-color: rgba(184,154,98,.55);
  background: transparent;
}

.complaints-footer {
  margin-top: 2.25rem;
}

/* Uygulamalar: içerik akışında öne alındı. */
.apps {
  padding: clamp(4.5rem, 7vw, 5.75rem) 0;
}

/* Hakkımda: özgeçmiş özeti + üç yaklaşım ilkesi. */
.about {
  padding: clamp(4.5rem, 7vw, 5.75rem) 0;
}

.about-grid {
  align-items: center;
}

.about-photo-frame {
  aspect-ratio: 4 / 4.55;
}

.about-h2-italic {
  margin-bottom: 1.5rem;
}

.about-content > .about-para:nth-of-type(n + 2),
.about-quote {
  display: none;
}

.about-features {
  margin: 1.5rem 0 0;
}

.about-actions {
  margin-top: 1.5rem;
}

.about-actions .btn-dark {
  display: none;
}

.about-actions .btn-text {
  padding-bottom: .2rem;
  border-bottom: 1px solid rgba(37,56,48,.25);
}

/* Klavye ve hareket tercihleri. */
.ccard-cta:focus-visible,
.about-actions a:focus-visible,
.hero-actions a:focus-visible {
  outline: 3px solid rgba(184,154,98,.55);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .complaints-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
  }

  .ccard {
    min-height: 280px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    height: auto;
    max-height: none;
  }

  .hero-right {
    height: min(76vw, 540px);
  }

  .hero-photo {
    object-position: center 27%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 1.5rem 1.5rem 2.75rem;
  }

  .hero-stat,
  .hero-stat:nth-child(3) {
    border-top: 0;
  }

  .hero-stat:nth-child(3) {
    border-right: 0;
  }

  .about-grid {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .hero-breadcrumb {
    margin-top: 2rem;
  }

  .hero-h1 {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
  }

  .hero-tagline br {
    display: none;
  }

  .hero-right {
    height: 105vw;
    max-height: 500px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stat {
    display: block;
    padding: .9rem .6rem;
    text-align: center;
  }

  .hero-stat-icon {
    display: none;
  }

  .hero-stat-val {
    justify-content: center;
    font-size: .78rem;
  }

  .hero-stat-stars svg {
    width: 8px;
    height: 8px;
  }

  .hero-stat-label,
  .hero-stat-link {
    font-size: .63rem;
  }

  .complaints {
    padding: 4rem 0;
  }

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

  .ccard {
    min-height: 0;
  }

  .about,
  .apps {
    padding: 4rem 0;
  }

  .acard-badge {
    top: .65rem;
    left: .65rem;
    max-width: calc(100% - 1.3rem);
    padding: .2rem .45rem;
    font-size: .52rem;
    letter-spacing: .05em;
    white-space: nowrap;
  }

  .acard-body {
    padding: .85rem;
  }

  .acard-title {
    font-size: .96rem;
    line-height: 1.12;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ccard,
  .ccard-cta,
  .hero-actions a,
  .about-actions a {
    transition: none !important;
  }
}
