/* ============================================================
   Digital Craft Tech — style.css
   Palet: beyaz zemin, açık mavi aksan
   ============================================================ */

:root {
  color-scheme: light;
  --ink: #101b2b;
  --muted: #5a6b7d;
  --line: rgba(16, 27, 43, 0.12);
  --panel: rgba(255, 255, 255, 0.78);
  --panel-solid: #ffffff;
  --blue: #1c8fd6;
  --blue-deep: #0d6ba6;
  --sky: #7cc7ee;
  --sky-tint: #eef7fd;
  --white: #ffffff;
  --whatsapp: #25d366;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Space Grotesk", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 8%, rgba(124, 199, 238, 0.28), transparent 26rem),
    radial-gradient(circle at 6% 40%, rgba(28, 143, 214, 0.1), transparent 24rem),
    linear-gradient(160deg, #ffffff 0%, #f6fbfe 55%, #ffffff 100%);
  background-attachment: fixed;
  font-family: var(--font-serif);
  line-height: 1.6;
}

/* İnce grid dokusu */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 40px, 1160px);
  margin-inline: auto;
}

/* ============ Üst bar / Navigasyon ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  font-family: var(--font-sans);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.mark {
  flex: none;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue-deep);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--blue-deep) !important;
  font-size: 0.74rem;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--blue);
  color: var(--white) !important;
}

/* CSS-only mobil menü */
.nav-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}

/* ============ Hero ============ */

.hero {
  padding: clamp(72px, 12vw, 150px) 0 clamp(56px, 8vw, 100px);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--blue-deep);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.9rem, 8vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.hero h1 em,
.accent {
  color: var(--blue);
  font-style: italic;
}

.hero-intro {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  font-family: var(--font-sans);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease,
    color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 34px rgba(28, 143, 214, 0.26);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-deep);
  box-shadow: 0 14px 44px rgba(28, 143, 214, 0.34);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--blue);
  color: var(--blue-deep);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06130a;
  box-shadow: 0 10px 34px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  box-shadow: 0 14px 44px rgba(37, 211, 102, 0.36);
}

.btn svg {
  flex: none;
}

/* Hero iki kolon: sol metin, sağ proje vitrini */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.hero-grid h1 {
  font-size: clamp(2.6rem, 4.5vw, 4.5rem);
}

.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  animation: rise 700ms 450ms ease both;
}

.showcase-label {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Dikey akışın görünen penceresi — üst/alt kenarlar yumuşatılır */
.showcase-viewport {
  position: relative;
  height: clamp(400px, 56vh, 540px);
  overflow: hidden;
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.showcase-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: showcase-scroll 50s linear infinite;
}

/* İçerik okunmak istendiğinde akış dursun.
   :active dokunmatik için: parmak karta değdiği an şerit duruyor,
   böylece hareket eden bir linke dokunmak zorunda kalınmıyor. */
.showcase-viewport:hover .showcase-track,
.showcase-viewport:active .showcase-track,
.showcase-track:focus-within {
  animation-play-state: paused;
}

@keyframes showcase-scroll {
  to {
    /* Bir set kart + bir boşluk kadar kayar = izin verdiği yerde kusursuz
       döngü. Formül: %50 + (gap / 2). gap değişirse buradaki 8px de değişmeli. */
    transform: translateY(calc(-50% - 8px));
  }
}

.showcase-card {
  display: flex;
  gap: 14px;
  flex: none;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-solid);
  box-shadow: 0 10px 30px rgba(16, 27, 43, 0.05);
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease,
    box-shadow 200ms ease;
}

.showcase-card:hover,
.showcase-card:focus-visible {
  transform: translateX(-4px);
  border-color: rgba(28, 143, 214, 0.45);
  box-shadow: 0 18px 44px rgba(16, 27, 43, 0.1);
}

.showcase-thumb {
  flex: none;
  /* Sabit ölçü: görsel yüklenmese de kart yüksekliği kaymaz */
  width: 108px;
  height: 92px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sky-tint);
}

.showcase-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  font-family: var(--font-sans);
}

.showcase-tag {
  color: var(--blue-deep);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.showcase-name {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
}

.showcase-desc {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.showcase-all {
  align-self: flex-start;
  color: var(--blue-deep);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.showcase-all::after {
  content: " →";
}

.showcase-all:hover,
.showcase-all:focus-visible {
  text-decoration: underline;
}

/* Hero altı rozetler */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-sans);
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-badges li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* ============ Kayan şerit (marquee) ============ */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--sky-tint);
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}

.marquee-track em {
  color: var(--blue-deep);
  font-style: normal;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ============ Bölüm başlıkları ============ */

.section {
  padding: clamp(64px, 10vw, 120px) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-head p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============ Hizmet kartları ============ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(16, 27, 43, 0.05);
  backdrop-filter: blur(10px);
  transition: transform 200ms ease, border-color 200ms ease,
    box-shadow 200ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(28, 143, 214, 0.45);
  box-shadow: 0 24px 60px rgba(16, 27, 43, 0.1);
}

.service-num {
  display: block;
  margin-bottom: 26px;
  color: var(--blue-deep);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-sans);
}

.service-card ul li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px dashed rgba(16, 27, 43, 0.12);
  color: var(--muted);
  font-size: 0.82rem;
}

.service-card ul li::before {
  content: "→";
  color: var(--blue);
  font-size: 0.8rem;
}

/* ============ Neden Biz ============ */

.why {
  border-block: 1px solid var(--line);
  background: var(--sky-tint);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 36px 28px;
}

.why-item h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 500;
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(28, 143, 214, 0.35);
  border-radius: 12px;
  background: rgba(124, 199, 238, 0.18);
  color: var(--blue-deep);
}

.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ============ Demo / Çalışmalar ============ */

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-solid);
  box-shadow: 0 10px 30px rgba(16, 27, 43, 0.05);
  transition: transform 200ms ease, border-color 200ms ease,
    box-shadow 200ms ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(28, 143, 214, 0.45);
  box-shadow: 0 24px 60px rgba(16, 27, 43, 0.12);
}

/* Proje önizleme görseli */
.work-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--sky-tint);
}

.work-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-preview .tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  color: var(--blue-deep);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Şeffaf zeminli logo görselleri kırpılmaz, çerçeveye sığdırılır */
.work-shot.is-logo,
.showcase-thumb.is-logo {
  object-fit: contain;
  background: var(--sky-tint);
}

.work-shot.is-logo {
  padding: 12%;
}

.showcase-thumb.is-logo {
  padding: 10px;
}

/* Dikey fotoğrafta konu alt tarafta kaldığı için kırpma oradan hizalanır */
.work-shot.is-low,
.showcase-thumb.is-low {
  object-position: 50% 68%;
}

.work-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 22px 26px 26px;
}

.work-body h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 500;
}

.work-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--blue-deep);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.work-link::after {
  content: "↗";
  transition: transform 160ms ease;
}

.work-link:hover::after,
.work-link:focus-visible::after {
  transform: translate(3px, -3px);
}

/* ============ Süreç ============ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(16, 27, 43, 0.05);
  counter-increment: step;
}

.process-step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 20px;
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  opacity: 0.9;
}

.process-step h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 500;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============ SSS ============ */

.faq {
  max-width: 780px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(16, 27, 43, 0.04);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  list-style: none;
  transition: color 160ms ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: 1.3rem;
  transition: transform 200ms ease;
}

.faq details[open] summary {
  color: var(--blue-deep);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============ İletişim / CTA ============ */

.contact {
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 199, 238, 0.35), transparent 32rem);
}

.contact h2 {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.contact p {
  max-width: 520px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  font-family: var(--font-sans);
}

.contact-phone {
  margin-top: 26px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.contact-phone a {
  color: var(--blue-deep);
  text-decoration: none;
}

.contact-phone a:hover {
  text-decoration: underline;
}

/* ============ Footer ============ */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  font-family: var(--font-sans);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .mark {
  width: 24px;
  height: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--blue-deep);
}

/* ============ Sabit iletişim butonları ============ */

/* Tek sütun: yeni bir buton eklemek listeye satır eklemekten ibaret,
   konum hesabı tek yerde duruyor. */
.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.float-btn:hover,
.float-btn:focus-visible {
  transform: translateY(-3px) scale(1.05);
}

.float-call {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 12px 36px rgba(28, 143, 214, 0.42);
}

.float-call:hover,
.float-call:focus-visible {
  box-shadow: 0 16px 44px rgba(28, 143, 214, 0.55);
}

.float-whatsapp {
  background: var(--whatsapp);
  color: #06130a;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.4);
}

.float-whatsapp:hover,
.float-whatsapp:focus-visible {
  box-shadow: 0 16px 44px rgba(37, 211, 102, 0.55);
}

/* ============ Görünüm animasyonu ============ */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy > * {
  animation: rise 700ms ease both;
}

.hero-copy > *:nth-child(2) { animation-delay: 90ms; }
.hero-copy > *:nth-child(3) { animation-delay: 180ms; }
.hero-copy > *:nth-child(4) { animation-delay: 270ms; }
.hero-copy > *:nth-child(5) { animation-delay: 360ms; }

/* ============ Tablet & mobil: vitrin tek kolona iner ============ */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-grid h1 {
    font-size: clamp(2.9rem, 8vw, 6.4rem);
  }

  .hero-showcase {
    animation-delay: 0ms;
  }

  /* Dikey akış mobilde de sürer; sayfanın kendi kaydırmasını engellememesi
     için pencere overflow: hidden kalır — üzerinden yapılan dikey kaydırma
     doğrudan sayfayı kaydırır. */
  .showcase-viewport {
    height: clamp(300px, 44vh, 400px);
  }

  .showcase-card:hover,
  .showcase-card:focus-visible {
    transform: none;
  }
}

/* ============ Mobil ============ */

@media (max-width: 820px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    padding: 12px 0 8px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 4px;
    font-size: 0.9rem;
  }

  .nav-cta {
    display: inline-flex;
    margin-top: 6px;
  }

  .nav-toggle-input:checked ~ .nav-links {
    display: flex;
  }

  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* İki buton alt alta geldiği için mobilde biraz küçülür */
  .floating-actions {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }

  .float-btn {
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* Otomatik akış kapanır; vitrin elle kaydırılabilir kalır */
  .showcase-track {
    animation: none;
  }

  .showcase-viewport {
    overflow-y: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ Alt sayfalar (hizmet detayları) ============ */

.breadcrumb {
  padding-top: clamp(28px, 5vw, 44px);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--blue-deep);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
}

.page-hero {
  padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 0%, rgba(124, 199, 238, 0.32), transparent 30rem);
}

.page-hero h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--blue-deep);
}

.page-hero .lede {
  max-width: 62ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.page-hero .hero-actions {
  margin-top: 34px;
}

/* Uzun metin blokları */

.prose {
  max-width: 74ch;
}

.prose h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.prose h3 {
  margin: 40px 0 12px;
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.prose p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.prose strong {
  color: var(--ink);
  font-weight: 500;
}

.prose ul,
.prose ol {
  margin: 0 0 22px;
  padding-left: 0;
  list-style: none;
  color: var(--muted);
}

.prose ol {
  counter-reset: prose-step;
}

.prose li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 30px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.prose ul li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.prose ol li {
  counter-increment: prose-step;
}

.prose ol li::before {
  content: counter(prose-step);
  position: absolute;
  top: 0.1em;
  left: 0;
  color: var(--blue-deep);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
}

.prose a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Sayfa altındaki diğer hizmet bağlantıları */

.related {
  border-top: 1px solid var(--line);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.related-card {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: inherit;
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease,
    box-shadow 200ms ease;
}

.related-card:hover,
.related-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(28, 143, 214, 0.45);
  box-shadow: 0 16px 36px rgba(16, 27, 43, 0.08);
}

.related-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
}

.related-card span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Ana sayfadaki hizmet kartından detay sayfasına giden bağlantı */

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(16, 27, 43, 0.12);
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--blue-deep);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.service-more::after {
  content: "→";
  transition: transform 200ms ease;
}

.service-more:hover::after,
.service-more:focus-visible::after {
  transform: translateX(4px);
}

/* ============ Çerez onayı ============ */

.consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 -12px 40px rgba(16, 27, 43, 0.1);
  animation: rise 320ms ease both;
}

.consent-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(100% - 40px, 1160px);
  margin: 0 auto;
}

.consent-text {
  /* Genişliği zaten flex kabı ve butonlar sınırlıyor; ayrıca ch sınırı
     koymak metni gereksiz yere ikinci satıra düşürüyordu. */
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.consent-text strong {
  color: var(--ink);
  font-weight: 500;
}

.consent-text a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-sans);
}

.consent .btn {
  padding: 12px 20px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  cursor: pointer;
}

.consent-reject {
  background: transparent;
  color: var(--ink);
}

.consent-reject:hover,
.consent-reject:focus-visible {
  border-color: rgba(16, 27, 43, 0.35);
}

.consent-accept {
  border-color: transparent;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(28, 143, 214, 0.35);
}

.consent-accept:hover,
.consent-accept:focus-visible {
  background: var(--blue-deep);
}

/* Banner açıkken yüzen iletişim butonları üstte kalır */
[data-consent-open] .floating-actions {
  bottom: calc(22px + var(--consent-height, 140px));
}

/* Footer'daki "Çerez tercihleri" düğmesi komşu bağlantılarla aynı görünür */
.footer-links button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.footer-links button:hover,
.footer-links button:focus-visible {
  color: var(--blue-deep);
}

@media (max-width: 820px) {
  .consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .consent-actions {
    justify-content: stretch;
  }

  .consent-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

/* Metin içindeki "Çerez tercihleri" düğmesi bağlantı gibi görünür */
.prose button[data-cookie-settings] {
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue-deep);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Reddetmek, kabul etmek kadar görünür olmalı (KVKK Çerez Rehberi / EDPB).
   İki buton aynı ölçüde, aynı kontrastta; renk dışında fark yok. */
.consent-actions .btn {
  min-width: 150px;
  justify-content: center;
}

.consent-reject {
  border-color: rgba(16, 27, 43, 0.4);
  background: var(--panel-solid);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(16, 27, 43, 0.1);
}

.consent-reject:hover,
.consent-reject:focus-visible {
  border-color: var(--ink);
  background: var(--sky-tint);
}

/* Mobilde çerez bildirimi ekranın küçük bir kısmını kaplasın */
@media (max-width: 820px) {
  .consent {
    padding: 14px 0;
  }

  .consent-inner {
    gap: 12px;
  }

  .consent-text {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .consent .btn {
    padding: 11px 16px;
  }

  .consent-actions .btn {
    min-width: 0;
  }
}
