/* Logo uzun basış “Hakkında” easter egg */

.header-logo-link {
  position: relative;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.header-logo-crest-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
}

/* Overlay — blur YOK */
.kku-logo-about {
  position: fixed;
  inset: 0;
  z-index: 12050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.kku-logo-about.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.kku-logo-about__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(8, 12, 22, 0.55);
  cursor: pointer;
  /* blur yok */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Yıldızlar */
.kku-logo-about__stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.kku-logo-about__star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: translate(0, 0) scale(0.4);
}

.kku-logo-about.is-open .kku-logo-about__star {
  animation: kkuLogoStarIn var(--t, 2s) ease-out var(--d, 0s) both;
}

@keyframes kkuLogoStarIn {
  0% {
    opacity: 0;
    transform: translate(0, 12px) scale(0.2);
  }
  35% {
    opacity: 1;
    transform: translate(calc(var(--dx, 0px) * 0.4), calc(var(--dy, 0px) * 0.3)) scale(1.15);
  }
  70% {
    opacity: 0.85;
    transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(1);
  }
  100% {
    opacity: 0.55;
    transform: translate(calc(var(--dx, 0px) * 1.1), calc(var(--dy, 0px) * 1.15)) scale(0.9);
  }
}

.kku-logo-about.is-open .kku-logo-about__star:nth-child(3n) {
  background: #fde68a;
  box-shadow: 0 0 8px 2px rgba(253, 230, 138, 0.75);
}

.kku-logo-about.is-open .kku-logo-about__star:nth-child(5n) {
  background: #93c5fd;
  box-shadow: 0 0 8px 2px rgba(147, 197, 253, 0.7);
}

/* Dialog */
.kku-logo-about__dialog {
  position: relative;
  z-index: 2;
  width: min(640px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 28px 70px rgba(15, 23, 42, 0.38),
    0 0 0 1px rgba(227, 6, 19, 0.08);
  transform: translateY(22px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.kku-logo-about.is-open .kku-logo-about__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.kku-logo-about__accent {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #e30613 0%, #002e6e 55%, #0ea5e9 100%);
}

.kku-logo-about__close {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 5;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, color 0.15s;
}

.kku-logo-about__close:hover,
.kku-logo-about__close:focus-visible {
  background: rgba(227, 6, 19, 0.14);
  color: #e30613;
  transform: scale(1.06);
  outline: none;
}

.kku-logo-about__hero {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.2rem;
  padding: 1.45rem 1.45rem 1rem;
  align-items: center;
}

@media (max-width: 640px) {
  .kku-logo-about__hero {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

.kku-logo-about__photo-wrap {
  position: relative;
  width: 150px;
  height: 150px;
}

.kku-logo-about__photo-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #e30613, #002e6e, #0ea5e9, #e30613);
  animation: kkuLogoAboutSpin 10s linear infinite;
}

@keyframes kkuLogoAboutSpin {
  to { transform: rotate(360deg); }
}

.kku-logo-about__photo {
  position: relative;
  z-index: 1;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
  background: #e2e8f0;
}

.kku-logo-about__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e30613;
}

.kku-logo-about__name {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  font-family: Lora, "Times New Roman", Georgia, serif;
}

.kku-logo-about__role {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  font-weight: 650;
  color: #002e6e;
  line-height: 1.4;
}

.kku-logo-about__meta {
  margin: 0.7rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

@media (max-width: 640px) {
  .kku-logo-about__meta {
    justify-content: center;
  }
}

.kku-logo-about__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.08), rgba(0, 46, 110, 0.08));
  color: #002e6e;
  border: 1px solid rgba(0, 46, 110, 0.16);
}

.kku-logo-about__body {
  padding: 0 1.45rem 1.2rem;
}

.kku-logo-about__lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #334155;
  font-weight: 550;
  padding: 0.95rem 1.05rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(0, 46, 110, 0.05), rgba(227, 6, 19, 0.04));
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.kku-logo-about__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.45rem 1.3rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

.kku-logo-about__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.kku-logo-about__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 0.7rem;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #e30613, #9f1239);
  box-shadow: 0 8px 18px rgba(227, 6, 19, 0.28);
  transition: transform 0.15s, box-shadow 0.15s;
}

.kku-logo-about__link--web {
  background: linear-gradient(135deg, #002e6e, #0ea5e9);
  box-shadow: 0 8px 18px rgba(0, 46, 110, 0.28);
}

.kku-logo-about__link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22);
}

/* Dark */
html[data-kku-color-mode="dark"] .kku-logo-about__dialog,
[data-theme="dark"] .kku-logo-about__dialog,
body.kku-dark .kku-logo-about__dialog {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-color: rgba(148, 163, 184, 0.22);
}

html[data-kku-color-mode="dark"] .kku-logo-about__name,
html[data-kku-color-mode="dark"] .kku-logo-about__close,
[data-theme="dark"] .kku-logo-about__name,
[data-theme="dark"] .kku-logo-about__close,
body.kku-dark .kku-logo-about__name,
body.kku-dark .kku-logo-about__close {
  color: #f1f5f9;
}

html[data-kku-color-mode="dark"] .kku-logo-about__lead,
[data-theme="dark"] .kku-logo-about__lead,
body.kku-dark .kku-logo-about__lead {
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-kku-color-mode="dark"] .kku-logo-about__role,
[data-theme="dark"] .kku-logo-about__role,
body.kku-dark .kku-logo-about__role {
  color: #93c5fd;
}

html[data-kku-color-mode="dark"] .kku-logo-about__chip,
[data-theme="dark"] .kku-logo-about__chip,
body.kku-dark .kku-logo-about__chip {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.22);
}

html[data-kku-color-mode="dark"] .kku-logo-about__footer,
[data-theme="dark"] .kku-logo-about__footer,
body.kku-dark .kku-logo-about__footer {
  background: rgba(15, 23, 42, 0.55);
  border-top-color: rgba(148, 163, 184, 0.18);
}

html[data-kku-color-mode="dark"] .kku-logo-about__close,
[data-theme="dark"] .kku-logo-about__close,
body.kku-dark .kku-logo-about__close {
  background: rgba(255, 255, 255, 0.1);
}

html[data-kku-color-mode="dark"] .kku-logo-about__photo,
[data-theme="dark"] .kku-logo-about__photo,
body.kku-dark .kku-logo-about__photo {
  border-color: #1e293b;
}

@media (prefers-reduced-motion: reduce) {
  .kku-logo-about__photo-ring,
  .kku-logo-about,
  .kku-logo-about__dialog,
  .kku-logo-about.is-open .kku-logo-about__star {
    animation: none !important;
    transition: none !important;
  }

  .kku-logo-about.is-open .kku-logo-about__star {
    opacity: 0.7;
  }
}
