/* Ana sayfa — Hakkımda “kimdir?” bloğu */

.hk-intro {
  --hk-sans: "Figtree", "Poppins", system-ui, sans-serif;
  --hk-ui: "Poppins", system-ui, sans-serif;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding: clamp(3rem, 6vw, 5.25rem) 0;
  color: #1e3a4c;
  background:
    radial-gradient(ellipse 50% 70% at 88% 30%, rgba(74, 163, 224, 0.16), transparent 64%),
    linear-gradient(180deg, #f4f8fb 0%, #eef4f9 100%);
}

.hk-intro .hk-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hk-intro__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
}

.hk-intro__copy {
  min-width: 0;
  max-width: 40rem;
  padding: 0;
}

.hk-intro__title {
  margin: 0 0 0.85rem;
  font-family: var(--hk-sans);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.05vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.032em;
  color: #1e3a4c;
  text-wrap: balance;
}

.hk-intro__lead {
  margin: 0 0 1.45rem;
  max-width: 34rem;
  font-family: var(--hk-sans);
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.016em;
  color: #307bc4;
  text-wrap: pretty;
}

.hk-intro__prose {
  display: grid;
  gap: 1.15rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(39, 71, 96, 0.12);
}

.hk-intro__prose p {
  margin: 0 !important;
  padding: 0;
  font-family: var(--hk-ui);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.82;
  letter-spacing: 0.005em;
  color: #4a6073 !important;
  text-wrap: pretty;
}

.hk-intro__media {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(100%, 460px);
  align-self: center;
  padding: 1rem;
}

.hk-intro__portrait {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.hk-intro__glow,
.hk-intro__halo,
.hk-intro__orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hk-intro__glow {
  inset: 6%;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(210, 234, 239, 0.95) 0%, rgba(48, 123, 196, 0.22) 42%, transparent 72%);
  filter: blur(14px);
  transform: scale(1.04);
  animation: hk-intro-glow 6.5s ease-in-out infinite;
}

.hk-intro__halo {
  inset: 2.4%;
  z-index: 0;
  border: 1px solid rgba(48, 123, 196, 0.18);
  box-shadow:
    0 0 0 12px rgba(210, 234, 239, 0.42),
    0 22px 44px rgba(39, 71, 96, 0.14);
}

.hk-intro__orbit {
  inset: -7%;
  z-index: 2;
  background: conic-gradient(
    from 210deg,
    transparent 0 68%,
    rgba(48, 123, 196, 0.08) 74%,
    #307bc4 82%,
    #d2eaef 86%,
    transparent 92%
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: hk-intro-orbit 22s linear infinite;
}

.hk-intro__portrait picture,
.hk-intro__photo {
  display: block;
  width: 100%;
  height: auto;
}

.hk-intro__photo {
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  filter: drop-shadow(0 18px 26px rgba(39, 71, 96, 0.16));
}

@keyframes hk-intro-glow {
  0%, 100% { opacity: 0.72; transform: scale(1.02); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes hk-intro-orbit {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hk-intro__glow,
  .hk-intro__orbit {
    animation: none;
  }
}

.hk-intro.is-static [data-intro-anim] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

@media (max-width: 991px) {
  .hk-intro {
    padding: 2.25rem 0;
  }

  .hk-intro__grid {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hk-intro__media {
    justify-self: center;
    width: min(78vw, 340px);
    order: -1;
  }

  .hk-intro__copy {
    max-width: none;
    padding-bottom: 0;
  }

  .hk-intro__lead {
    max-width: none;
  }

  .hk-intro__title {
    font-size: clamp(1.65rem, 6.6vw, 2rem);
  }

  .hk-intro__prose p {
    font-size: 0.98rem;
    line-height: 1.78;
  }
}
