/* asyworks.com tanıtım sayfası. Kurallar: docs/SITE_ARAYUZ.md */
@import url("/yazi/yazi.css");

:root {
  --tezgah: #17283b; --derin: #0f1d2c; --kabarik: #1f3650; --kagit: #f5f1e8;
  --kehribar: #f2b544; --kehribar-kenar: #b9831e; --soluk-koyu: #a9b6c4;
  --zemin: var(--kagit); --yazi: var(--tezgah); --soluk: #55606d;
  --dev: clamp(40px, 5.4vw, 78px); --buyuk: clamp(30px, 4.4vw, 56px); --orta: clamp(22px, 2.4vw, 30px);
  --metin: clamp(17px, 1.05rem + .15vw, 19px);
}
@media (prefers-color-scheme: dark) {
  :root { --zemin: var(--derin); --yazi: var(--kagit); --soluk: var(--soluk-koyu); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--zemin); color: var(--yazi); font: 400 var(--metin)/1.55 "Archivo", sans-serif; font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--kehribar); outline-offset: 3px; border-radius: 4px; }
.ic { width: min(1120px, 100% - 32px); margin-inline: auto; }
.genis { font-stretch: 125%; font-weight: 800; letter-spacing: -.01em; }

/* ---------- üst bant ---------- */
.ust { background: var(--tezgah); color: var(--kagit); overflow: hidden; }
.menu { display: flex; align-items: center; gap: 28px; padding-block: 22px; }
.menu .logo img { height: 40px; width: auto; }
.menu nav { display: flex; gap: 24px; margin-left: auto; font-size: 16px; font-weight: 600; }
.menu nav a { text-decoration: none; color: var(--soluk-koyu); padding-block: 10px; }
.menu nav a:hover { color: var(--kagit); }
.dil { font-size: 15px; font-weight: 600; text-decoration: none; padding: 9px 14px; border: 1.5px solid var(--kabarik); border-radius: 10px; }
.dil:hover { border-color: var(--kehribar); }

.giris { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 32px; padding-block: 56px 0; }
.giris h1 { font-size: var(--dev); line-height: .98; margin: 0 0 24px; text-wrap: balance; }
.giris p { max-width: 30em; margin: 0 0 32px; color: #d3dae2; }
.giris .metin { padding-bottom: 88px; }

/* İmza: A silüeti ve kehribar raf */
.raf { position: relative; aspect-ratio: 1 / .9; }
.raf .a { position: absolute; inset: 0 6% 18% 6%; width: 88%; height: auto; }
.raf .kama { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: var(--kehribar);
  clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%); }
.raf .simgeler { position: absolute; left: 9%; right: 9%; bottom: 18%; display: flex; justify-content: space-between; align-items: flex-end; }
.raf .simgeler a { width: 22%; aspect-ratio: 1; border-radius: 22%; overflow: hidden; box-shadow: 0 14px 0 -6px rgba(0,0,0,.28); transition: transform .18s; }
.raf .simgeler a:hover { transform: translateY(-6px); }
.raf .simgeler img { width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .raf .simgeler a { animation: hop .7s cubic-bezier(.3, 1.6, .5, 1) both; }
  .raf .simgeler a:nth-child(1) { animation-delay: .25s; }
  .raf .simgeler a:nth-child(2) { animation-delay: .4s; }
  .raf .simgeler a:nth-child(3) { animation-delay: .55s; }
  .raf .simgeler a:nth-child(4) { animation-delay: .7s; }
  @keyframes hop { from { transform: translateY(-140%); opacity: 0; } 30% { opacity: 1; } to { transform: none; } }
}

/* Birincil düğme: kehribar kamanın biçimi */
.dugme { display: inline-block; position: relative; text-decoration: none; color: var(--tezgah);
  font-size: 17px; font-weight: 800; font-stretch: 125%; padding: 15px 30px 17px; isolation: isolate; }
.dugme::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--kehribar);
  clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%); box-shadow: inset 0 -4px 0 var(--kehribar-kenar); }
.dugme:hover::before { background: #f6c25f; }
.dugme:active { transform: translateY(2px); }

/* ---------- oyunlar ---------- */
.oyunlar { padding-block: 96px 24px; }
.bolum-baslik { font-size: var(--orta); margin: 0 0 8px; }
.bolum-alt { color: var(--soluk); margin: 0 0 48px; max-width: 36em; }

.oyun { --bant: #ccc; --bant-yazi: #111; display: grid; grid-template-columns: 1fr minmax(240px, 330px); gap: 48px; align-items: center;
  background: var(--bant); color: var(--bant-yazi); border-radius: 32px; padding: 56px 64px 0; margin-bottom: 32px; overflow: hidden; }
.oyun:nth-of-type(even) { grid-template-columns: minmax(240px, 330px) 1fr; }
.oyun:nth-of-type(even) .tel { order: -1; }
.oyun .metin { padding-bottom: 56px; }
.oyun .kimlik { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.oyun .kimlik img { width: 72px; height: 72px; border-radius: 22%; }
.oyun h3 { font-size: var(--buyuk); line-height: 1; margin: 0; }
.oyun .ozet { font-size: clamp(19px, 1.2rem + .3vw, 23px); line-height: 1.45; margin: 0 0 28px; max-width: 26em; }
.oyun dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 32px; font-size: 16px; }
.oyun dt { font-weight: 700; }
.oyun dd { margin: 0; opacity: .85; }
.oyun .yakinda { font-size: 15px; opacity: .8; margin: 14px 0 0; }

.tel { position: relative; align-self: end; padding-bottom: 28px; }
.tel .cerceve { border-radius: 36px; overflow: hidden; border: 8px solid #0c1620; background: #0c1620; aspect-ratio: 390 / 844; box-shadow: 0 30px 50px -20px rgba(0,0,0,.45); margin-bottom: -60px; }
.tel .cerceve img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tel::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 28px; background: var(--kehribar);
  clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%); }

.oyun.hop { --bant: #ff8a1e; --bant-yazi: #2a1600; }
.oyun.halka { --bant: #e9eef8; --bant-yazi: #1b2f6e; }
.oyun.sticky { --bant: #3a2116; --bant-yazi: #f7e3c4; }
.oyun.greedy { --bant: #12293d; --bant-yazi: #f4f0e6; }
.oyun.halka .dugme, .oyun.hop .dugme { color: var(--tezgah); }

/* ---------- stüdyo ---------- */
.studyo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; padding-block: 72px 24px; }
.studyo h2 { font-size: var(--buyuk); line-height: 1.02; margin: 0; }
.studyo dl { margin: 0; }
.studyo dt { font-weight: 800; font-stretch: 125%; font-size: 20px; margin-top: 28px; }
.studyo dt:first-child { margin-top: 0; }
.studyo dd { margin: 6px 0 0; color: var(--soluk); max-width: 34em; }
.studyo dd a { color: var(--yazi); }

/* ---------- alt bant ---------- */
.alt { margin-top: 96px; background: var(--tezgah); color: var(--soluk-koyu); padding-block: 56px; font-size: 15px; }
.alt .ic { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.alt img { width: 56px; height: 56px; border-radius: 12px; }
.alt .iletisim { color: var(--kagit); font-size: var(--orta); text-decoration: none; }
.alt .iletisim:hover { color: var(--kehribar); }
.alt nav { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-end; }
.alt nav a { text-decoration: none; padding-block: 8px; }
.alt nav a:hover { color: var(--kehribar); }

/* ---------- dar ekran ---------- */
@media (max-width: 860px) {
  .menu nav { display: none; }
  .menu .dil { margin-left: auto; }
  .giris { grid-template-columns: 1fr; padding-top: 32px; gap: 0; }
  .giris .metin { padding-bottom: 32px; }
  .raf { width: min(440px, 100%); margin-inline: auto; }
  .oyun, .oyun:nth-of-type(even) { grid-template-columns: 1fr; gap: 8px; padding: 36px 24px 0; border-radius: 26px; }
  .oyun:nth-of-type(even) .tel { order: 0; }
  .oyun .metin { padding-bottom: 8px; }
  .tel { width: min(260px, 72%); margin-inline: auto; }
  .studyo { grid-template-columns: 1fr; gap: 32px; }
  .alt .ic { grid-template-columns: 1fr; gap: 20px; }
  .alt nav { justify-content: flex-start; }
}
