/* AC Bilişim – Web Tasarım page, redesign v2 (experimental).
   Revert: restore _yedek/website-design.html */

.wd { --wd-base:#2f3236; --wd-card:#3c4046; --wd-light:#f4f4f3; --wd-ink:#1d1f22; --wd-mute:#5d6166; --wd-line:rgba(29,31,34,.14);
  font-family: "Helvetica Now Display", Arial, sans-serif; }
.wd *, .wd *::before, .wd *::after { box-sizing: border-box; }
.wd-wrap { max-width: 1360px; margin: 0 auto; padding: 0 2rem; }
.wd a { flex-direction: row; } /* template turns links into columns */

/* ---------- hero ---------- */
.wd-hero { background: var(--wd-base); color: #fff; padding: 9.5rem 0 6rem; overflow: hidden; }
.wd-hero .wd-wrap { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.15fr); gap: 4.5rem; align-items: center; }
.wd-crumb { display: inline-flex; gap: .5rem; align-items: center; margin: 0 0 2rem; font-size: .95rem; color: rgba(255,255,255,.6); }
.wd-crumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.wd-crumb a:hover { color: #fff; }
.wd-crumb span[aria-hidden] { opacity: .45; }
.wd-crumb [aria-current] { color: #fff; }
.wd-hero h1 { margin: 0 0 1.5rem; font-size: clamp(3.4rem, 7.4vw, 7.25rem); line-height: .92; letter-spacing: -.05em; font-weight: 500; }
.wd-tagline { margin: 0 0 1.25rem; max-width: 30rem; font-size: 1.5rem; line-height: 1.3; letter-spacing: -.01em; }
.wd-lead { margin: 0 0 2.5rem; max-width: 32rem; font-size: 1.05rem; line-height: 1.6; color: rgba(255,255,255,.66); }
.wd-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.wd-btn { display: inline-flex; align-items: center; height: 3.4rem; padding: 0 1.6rem; border-radius: 999px; font-size: 1rem; font-weight: 500;
  text-decoration: none; border: 1px solid #fff; transition: background-color .2s ease, color .2s ease; }
.wd-btn.primary { background: #fff; color: var(--wd-base); }
.wd-btn.primary:hover { background: #e6e7e8; }
.wd-btn.ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.wd-btn.ghost:hover { border-color: #fff; }
.wd-btn:focus-visible, .wd-faq summary:focus-visible, .wd-crumb a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* browser frame: the one bold element */
.wd-browser { border-radius: 18px; background: #1f2124; padding: 0 0 0; box-shadow: 0 50px 90px rgba(0,0,0,.35); overflow: hidden;
  transform: perspective(1800px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; }
.wd-bar { display: flex; align-items: center; gap: .9rem; height: 2.9rem; padding: 0 1rem; background: #26292d; }
.wd-dots { display: flex; gap: .4rem; }
.wd-dots i { width: .7rem; height: .7rem; border-radius: 50%; background: rgba(255,255,255,.22); }
.wd-url { flex: 1; max-width: 22rem; margin: 0 auto; height: 1.75rem; border-radius: 999px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; font-size: .8rem; color: rgba(255,255,255,.6); letter-spacing: .01em; }
.wd-browser img { display: block; width: 100%; height: auto; aspect-ratio: 16/10.5; object-fit: cover; object-position: center 55%; }

/* ---------- light panel ---------- */
.wd-panel { background: var(--wd-light); color: var(--wd-ink); border-radius: 40px 40px 0 0; padding: 7rem 0 2rem; margin-top: -2rem; position: relative; }
.wd-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 4rem; padding-bottom: 6rem; }
.wd-h2 { margin: 0; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; }
.wd-intro-text p { margin: 0 0 1.25rem; font-size: clamp(1.3rem, 1.9vw, 1.75rem); line-height: 1.38; letter-spacing: -.015em; }
.wd-intro-text p + p { font-size: 1.1rem; line-height: 1.6; color: var(--wd-mute); letter-spacing: 0; max-width: 40rem; }

/* process: dark inset block, the page's second focal point */
.wd-process { margin: 0 0 7rem; padding: 4.5rem 3.5rem 4rem; border-radius: 36px; background: var(--wd-base); color: #fff; }
.wd-process-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; margin-bottom: 3.5rem; }
.wd-process-head .wd-h2 { max-width: 30rem; }
.wd-process-head p { margin: 0; max-width: 24rem; font-size: 1.02rem; line-height: 1.55; color: rgba(255,255,255,.62); }
.wd-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; }
.wd-flow > li { position: relative; display: flex; flex-direction: column; }
.wd-art { margin: 0 0 2rem; aspect-ratio: 14/9; border-radius: 20px; background: var(--wd-card); color: rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center; padding: 1rem; }
.wd-art svg { width: 100%; height: 100%; }
.wd-art .hl { color: #fff; stroke: #fff; }
.wd-art .dim { stroke: rgba(255,255,255,.32); }
.wd-art .grid { stroke: rgba(255,255,255,.1); stroke-dasharray: 3 5; }
.wd-art .fillbg { fill: var(--wd-card); }
.wd-art .cursor { fill: #fff; stroke: var(--wd-card); stroke-width: 1.5; }
.wd-art .dot { fill: var(--wd-card); stroke: #fff; }
.wd-node { position: relative; display: flex; align-items: center; height: 2.25rem; margin-bottom: 1.4rem; }
.wd-node b { position: relative; z-index: 1; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #fff; color: var(--wd-base);
  font-size: .95rem; font-weight: 600; display: flex; align-items: center; justify-content: center;
  transition: background-color .35s ease, color .35s ease; }
.wd-node::before, .wd-node::after { content: ""; position: absolute; left: 2.25rem; top: 50%; height: 1px; width: calc(100% - 2.25rem + 1.5rem); }
.wd-node::before { background: rgba(255,255,255,.18); }
.wd-node::after { background: #fff; transform-origin: left; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.wd-flow > li:last-child .wd-node::before, .wd-flow > li:last-child .wd-node::after { display: none; }
.wd-flow h3 { margin: 0 0 .6rem; font-size: 1.35rem; font-weight: 500; letter-spacing: -.015em; }
.wd-flow > li > p { margin: 0 0 1.4rem; font-size: .97rem; line-height: 1.55; color: rgba(255,255,255,.62); }
.wd-out { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.wd-out li { padding: .32rem .75rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-size: .82rem; color: rgba(255,255,255,.85); }
/* one reveal: the rail fills step by step when the block scrolls in */
.wd-js .wd-flow:not(.is-in) .wd-node::after { transform: scaleX(0); }
.wd-js .wd-flow:not(.is-in) .wd-node b { background: var(--wd-card); color: #fff; }
.wd-flow > li:nth-child(2) .wd-node b, .wd-flow > li:nth-child(2) .wd-node::after { transition-delay: .5s; }
.wd-flow > li:nth-child(3) .wd-node b, .wd-flow > li:nth-child(3) .wd-node::after { transition-delay: 1s; }
.wd-flow > li:nth-child(4) .wd-node b { transition-delay: 1.5s; }
.wd-flow > li:nth-child(1) .wd-node::after { transition-delay: .1s; }

/* why us */
.wd-why { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 4rem; padding-bottom: 7rem; }
.wd-why-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--wd-line); }
.wd-why-list div { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--wd-line); }
.wd-why-list div:nth-child(odd) { border-right: 1px solid var(--wd-line); }
.wd-why-list div:nth-child(even) { padding-left: 2rem; padding-right: 0; }
.wd-why-list h3 { margin: 0 0 .6rem; font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; }
.wd-why-list p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--wd-mute); }

/* faq */
.wd-faq-wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: 4rem; padding-bottom: 6rem; }
.wd-faq-side p { margin: 1rem 0 0; max-width: 20rem; color: var(--wd-mute); line-height: 1.55; }
.wd-faq-side a { color: var(--wd-ink); text-decoration: underline; text-underline-offset: 3px; }
.wd-faq { border-top: 1px solid var(--wd-line); }
.wd-faq details { border-bottom: 1px solid var(--wd-line); }
.wd-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; }
.wd-faq summary::-webkit-details-marker { display: none; }
.wd-faq summary::after { content: ""; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--wd-line);
  background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1f22' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .25s ease, background-color .2s ease; }
.wd-faq details[open] summary::after { transform: rotate(45deg); background-color: #fff; }
.wd-faq details p { margin: 0; padding: 0 4rem 1.6rem 0; font-size: 1rem; color: var(--wd-mute); line-height: 1.6; max-width: 44rem; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .wd-hero { padding: 7.5rem 0 5rem; }
  .wd-hero .wd-wrap, .wd-intro, .wd-why, .wd-faq-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .wd-browser { transform: none; }
  .wd-process { padding: 3.5rem 2rem; }
  .wd-process-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .wd-flow { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .wd-flow > li:nth-child(2) .wd-node::before, .wd-flow > li:nth-child(2) .wd-node::after { display: none; }
}
@media (max-width: 479px) {
  .wd-wrap { padding: 0 1rem; }
  .wd-hero h1 { font-size: 3.4rem; }
  .wd-tagline { font-size: 1.25rem; }
  .wd-panel { border-radius: 26px 26px 0 0; padding-top: 4.5rem; }
  .wd-process { margin-bottom: 5rem; padding: 2.5rem 1.25rem 2.25rem; border-radius: 24px; }
  .wd-flow { grid-template-columns: 1fr; row-gap: 0; }
  .wd-flow > li { padding: 0 0 2.5rem 3.4rem; }
  .wd-flow > li:last-child { padding-bottom: 0; }
  .wd-node { position: absolute; left: 0; top: 0; margin: 0; height: 100%; align-items: flex-start; }
  .wd-node::before, .wd-node::after, .wd-flow > li:nth-child(2) .wd-node::before, .wd-flow > li:nth-child(2) .wd-node::after { display: block; left: 1.125rem; top: 2.25rem; width: 1px; height: calc(100% - 2.25rem); }
  .wd-flow > li:last-child .wd-node::before, .wd-flow > li:last-child .wd-node::after { display: none; }
  .wd-node::after { transform-origin: top; }
  .wd-js .wd-flow:not(.is-in) .wd-node::after { transform: scaleY(0); }
  .wd-art { margin-bottom: 1.25rem; border-radius: 16px; }
  .wd-flow h3 { margin-top: .3rem; }
  .wd-why-list { grid-template-columns: 1fr; }
  .wd-why-list div, .wd-why-list div:nth-child(odd), .wd-why-list div:nth-child(even) { padding: 1.5rem 0; border-right: 0; }
  .wd-faq summary { font-size: 1.05rem; }
  .wd-faq details p { padding-right: 0; }
  .wd-btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .wd *, .wd *::after { transition: none !important; } .wd-js .wd-flow:not(.is-in) .wd-node::after { transform: none; } .wd-js .wd-flow:not(.is-in) .wd-node b { background: #fff; color: var(--wd-base); } }

/* long service names (e.g. Mobil Uygulama Geliştirme) */
.wd-hero h1.wd-h1-long { font-size: clamp(2.8rem, 5vw, 5rem); line-height: .98; }
@media (max-width: 479px) { .wd-hero h1.wd-h1-long { font-size: 2.6rem; } }

/* ===== variant: red hero + soft-tinted process (website-design.html: .wd--red) ===== */
.wd--red .wd-hero { background: #cc0933; }
.wd--red .wd-hero .wd-wrap { max-width: 1560px; }
.wd--red .wd-crumb, .wd--red .wd-crumb a { color: rgba(255,255,255,.75); }
.wd--red .wd-lead { color: rgba(255,255,255,.8); }
.wd--red .wd-btn.primary { color: #cc0933; }
.wd--red .wd-btn.ghost { border-color: rgba(255,255,255,.55); }
.wd--red .wd-browser { box-shadow: 0 50px 90px rgba(70,0,15,.35); }

.wd--red .wd-process { background: #fceef0; color: var(--wd-ink); }
.wd--red .wd-process-head p { color: var(--wd-mute); }
.wd--red .wd-art { background: #fff; color: rgba(204,9,51,.45); }
.wd--red .wd-art .hl { color: #cc0933; stroke: #cc0933; }
.wd--red .wd-art .dim { stroke: rgba(204,9,51,.3); }
.wd--red .wd-art .grid { stroke: rgba(204,9,51,.16); }
.wd--red .wd-art .fillbg { fill: #fff; }
.wd--red .wd-art .cursor { fill: #cc0933; stroke: #fff; }
.wd--red .wd-art .dot { fill: #fff; stroke: #cc0933; }
.wd--red .wd-node b { background: #cc0933; color: #fff; }
.wd--red .wd-node::before { background: rgba(204,9,51,.2); }
.wd--red .wd-node::after { background: #cc0933; }
.wd-js .wd--red .wd-flow:not(.is-in) .wd-node b { background: #f6cfd5; color: #cc0933; }
.wd--red .wd-flow > li > p { color: var(--wd-mute); }
.wd--red .wd-out li { border-color: rgba(204,9,51,.25); color: #7a1426; background: rgba(255,255,255,.6); }
@media (prefers-reduced-motion: reduce) {
  .wd-js .wd--red .wd-flow:not(.is-in) .wd-node b { background: #cc0933; color: #fff; }
}
/* process tint v2: cool mist instead of pink; slate line art, red only for the key stroke */
.wd--red .wd-process { background: #e7ecf1; }
.wd--red .wd-art { background: #fff; color: rgba(47,50,54,.55); }
.wd--red .wd-art .dim { stroke: rgba(47,50,54,.28); }
.wd--red .wd-art .grid { stroke: rgba(47,50,54,.14); }
.wd--red .wd-art .dot { stroke: #2f3236; }
.wd--red .wd-node::before { background: rgba(47,50,54,.18); }
.wd-js .wd--red .wd-flow:not(.is-in) .wd-node b { background: #d3dae2; color: #2f3236; }
.wd--red .wd-out li { border-color: rgba(47,50,54,.18); color: #2f3236; background: rgba(255,255,255,.7); }
