﻿/* Hero v2: bokeh canvas, typewriter heading, interactive device */
.hero .container { max-width: 1440px; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__fog { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(80% 60% at 70% 85%, rgba(74,59,214,.18), transparent 70%), linear-gradient(180deg, rgba(5,7,26,.35), transparent 30%, transparent 70%, var(--bg)); }
.hero__body { grid-template-columns: minmax(0, 75fr) minmax(0, 45fr); gap: 40px; align-items: center; padding-block: 0 60px; }
.hero__text { gap: 0; }
.hero__kicker { font-weight: 100; font-size: clamp(20px, 2.5vw, 36px); line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 30px; }
.hero__title { position: relative; font-weight: 400; font-size: clamp(38px, 6.9vw, 100px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 40px; }
.type__ph { display: block; opacity: 0; pointer-events: none; }
.type__live { position: absolute; inset: 0 auto auto 0; width: 100%; background: linear-gradient(180deg, #fff 30%, #cdbfff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.type__live::after { content: ""; display: inline-block; width: .38em; height: .05em; margin-left: .12em; background: var(--gold-hi); animation: blink 1s steps(2) infinite; }
.type__cursor { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.hero__text .lead { margin-bottom: 8px; }

.device { --rx: 0deg; --ry: 0deg; position: relative; width: min(100%, 360px); opacity: .9; aspect-ratio: 1; margin-inline: auto; perspective: 1200px; }
.device__art { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease); filter: drop-shadow(0 0 30px rgba(217,178,106,.45)); animation: float 7s ease-in-out infinite; }
.device__glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(217,178,106,.4), rgba(74,59,214,.28) 55%, transparent 72%); filter: blur(34px); animation: breathe 6s ease-in-out infinite; }
.device__floor { position: absolute; left: 5%; right: 5%; bottom: -2%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(217,178,106,.5), rgba(74,59,214,.2) 60%, transparent); filter: blur(10px); }
.device .ring-a { transform-origin: 50% 50%; animation: spin 60s linear infinite; }
.device .ring-b { transform-origin: 50% 50%; animation: spin 90s linear infinite reverse; }
.device .ring-c { transform-origin: 50% 50%; animation: spin 45s linear infinite; }
@keyframes float { 50% { translate: 0 -14px; } }

[data-intro] { opacity: 0; translate: 0 46px; filter: blur(8px); transition: opacity 1.1s var(--ease), translate 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-intro].is-in { opacity: 1; translate: 0 0; filter: none; }

@media (max-width: 1280px) { .hero__body { gap: 24px; } }
@media (max-width: 768px) {
  .hero { min-height: auto; padding-bottom: 60px; }
  .hero__body { grid-template-columns: minmax(0, 1fr); text-align: center; padding-top: 24px; }
  .hero__text .lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .device { position: absolute; top: calc(var(--header-h) - 20px); right: -80px; width: 250px; opacity: .38; pointer-events: none; z-index: 0; }
  .hero__text { position: relative; z-index: 1; }
  .hero__kicker { margin-bottom: 18px; }
  .hero__title { font-size: clamp(34px, 9.5vw, 48px); margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-intro] { opacity: 1; translate: 0 0; filter: none; transition: none; }
  .type__live::after, .device__art, .device__glow { animation: none; }
}

/* Nur: durgun yazi uzerinde yavasca gezen altin isik */
.nur { background: linear-gradient(100deg, #fff 0%, #cdbfff 35%, #fff 45%, #f3d58f 50%, #fff 55%, #cdbfff 65%, #fff 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: nur 7s ease-in-out infinite; }
@keyframes nur { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .nur { animation: none; } }
.hero__services { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__services a { display: inline-block; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #f3d58f; border: 1px solid rgba(217,178,106,.45); background: rgba(217,178,106,.08); backdrop-filter: blur(6px); transition: background .3s, border-color .3s, transform .3s; }
.hero__services a:hover { background: rgba(217,178,106,.2); border-color: var(--gold-hi, #f3d58f); transform: translateY(-2px); }
@media (max-width: 768px) {
  .hero__services { justify-content: center; gap: 6px; margin-bottom: 16px; }
  .hero__services a { padding: 6px 11px; font-size: 12px; }
}
@media (max-width: 768px) { .hero__body { padding-top: 0; } .hero__kicker { margin-bottom: 12px; } .hero__title { font-size: clamp(28px, 7.6vw, 34px); margin-bottom: 14px; } .hero__text .lead { font-size: 15px; } }

/* hizmet butonlari: WhatsApp butonuyla ayni altin stil */
.hero__services a.btn { height: 46px; padding-inline: 24px; font-size: 15px; font-weight: 600; border: 0; background: var(--grad-gold); color: #1a1205; backdrop-filter: none; }
.hero__services a.btn:hover { background: var(--grad-gold); }
@media (max-width: 768px) {
  .hero__services { gap: 8px; }
  .hero__services a.btn { height: 38px; padding-inline: 14px; font-size: 13px; }
}
.hero__services { display: flex !important; flex-direction: row !important; flex-wrap: wrap; }
.hero__services li { margin: 0 !important; padding: 0 !important; width: auto; flex: none; }
@media (max-width: 768px) {
  .hero__services { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero__services li { width: 100%; }
  .hero__services a.btn { width: 100%; height: 40px; padding-inline: 8px; font-size: 12.5px; line-height: 1.1; text-align: center; }
}
/* masaustu: ilk ekrana sigsin */
@media (min-width: 769px) {
  .hero__kicker { font-size: clamp(17px, 1.7vw, 24px); margin-bottom: 18px; }
  .hero__services { margin-bottom: 22px; flex-wrap: nowrap; }
  .hero__services a.btn { white-space: nowrap; height: 44px; padding-inline: 20px; font-size: 14.5px; }
  .hero__title { font-size: clamp(34px, 4vw, 62px); line-height: 1.08; margin-bottom: 22px; }
  .hero__text .lead { font-size: clamp(16px, 1.25vw, 19px); max-width: 640px; }
  .hero__body { padding-bottom: 80px; }
}
@media (max-width: 768px) { .hero__cta { display: none; } .hero { padding-bottom: 40px; } }

/* hizmet butonlari: yazi tam ortada */
.hero__services li { display: flex; }
.hero__services a.btn { display: inline-flex !important; align-items: center; justify-content: center; text-align: center; line-height: 1.15; flex: 1 1 auto; }
@media (max-width: 768px) {
  .hero__services { row-gap: 8px; column-gap: 8px; align-items: stretch; }
  .hero__services a.btn { padding-block: 0; }
}
@media (max-width: 768px) { .hero__services a.btn { height: 46px; font-size: 13.5px; padding-inline: 10px; } }

/* mobil: hero ile Hizmetlerimiz arasindaki fazla bosluk ve basliklarin hizasi */
@media (max-width: 768px) {
  :root { --section-y: 44px; }
  .section-head { margin-bottom: 28px; }
  .footer { padding-block: 56px 110px; }
  .hero { padding-bottom: 20px; }
  .hero__body { padding-bottom: 16px; }
  #hizmetler.section { padding-top: 40px; }
  main:has(.hero) .section-head { text-align: center; justify-items: center; }
  main:has(.hero) .section-head .lead { margin-inline: auto; }
  main:has(.hero) .head-row { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; margin-bottom: 32px; }
}
