:root {
  --ink: #111111;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --paper: #f7f5f3;
  --paper-2: #efece8;
  --line: rgba(17, 17, 17, 0.08);
  --red: #c8102e;
  --red-deep: #9a0c23;
  --red-soft: rgba(200, 16, 46, 0.1);
  --white: #ffffff;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --shadow-soft: 0 18px 50px rgba(17, 17, 17, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(200, 16, 46, 0.07), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(17, 17, 17, 0.05), transparent 50%),
    linear-gradient(180deg, #fbfaf8 0%, var(--paper) 40%, #f4f1ee 100%);
  font-family: "Figtree", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--red);
  color: var(--white);
}

.font-display {
  font-family: "Syne", sans-serif;
}

.container-site {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.bg-noise {
  position: relative;
}

.bg-noise::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 1;
}

.nav-shell {
  backdrop-filter: blur(14px);
  background: rgba(251, 250, 248, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.nav-shell.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 250, 248, 0.92);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
}

.nav-link {
  position: relative;
  padding-bottom: 0.15rem;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--red);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
}

.nav-phone {
  white-space: nowrap;
}

.menu-link.is-active {
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

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

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-deep);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #000;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(17, 17, 17, 0.14);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-wa {
  background: #128c7e;
  color: var(--white);
}

.btn-wa:hover {
  background: #0f766e;
}

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
  transform: scale(1.06);
  will-change: transform;
}

.hero-media img.hero-bg {
  z-index: 0;
}

.hero-media video.hero-bg {
  z-index: 1;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(8, 8, 8, 0.42) 0%, rgba(8, 8, 8, 0.18) 42%, rgba(8, 8, 8, 0.05) 72%, transparent 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.12) 0%, transparent 45%, rgba(8, 8, 8, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding-top: calc(var(--header-h, 72px) + 2.5rem);
  padding-bottom: clamp(4.5rem, 10vh, 6.5rem);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy-block {
  max-width: 38rem;
}

.hero-brand {
  margin-bottom: 1.15rem;
}

.hero-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff6b7a;
}

.hero-title {
  margin: 0;
  font-size: clamp(1.85rem, 4.6vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-title em {
  font-style: normal;
  color: #ff4d5e;
}

.hero-lead {
  margin: 1rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  color: #ff6b7a;
}

.hero-copy {
  margin: 0.85rem 0 0;
  max-width: 32rem;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-size: clamp(3.4rem, 10vw, 7.2rem);
}

.hero .brand-mark {
  font-size: clamp(2.5rem, 7.2vw, 4.6rem);
}

.brand-mark span {
  color: var(--red);
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
}

.service-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.service-item:hover {
  border-color: rgba(200, 16, 46, 0.35);
  transform: translateY(-4px);
}

.service-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.service-item:hover img {
  transform: scale(1.04);
}

.services-showcase {
  --services-bg: #fbfaf8;
  --services-glow: rgba(200, 16, 46, 0.07);
  --services-glow-x: 16;
  position: relative;
  isolation: isolate;
  background: var(--services-bg);
}

.services-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.services-atmosphere-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 28%),
    linear-gradient(180deg, transparent 72%, rgba(17, 17, 17, 0.03));
}

.services-atmosphere-glow {
  position: absolute;
  inset: -10% 0;
  background: radial-gradient(
    ellipse 55% 45% at calc(var(--services-glow-x) * 1%) 50%,
    var(--services-glow),
    transparent 70%
  );
}

.services-mark-rail {
  display: none;
}

@media (min-width: 960px) {
  .services-mark-rail {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: sticky;
    top: var(--header-h, 72px);
    z-index: 0;
    height: calc(100dvh - var(--header-h, 72px));
    margin-bottom: calc((var(--header-h, 72px) - 100dvh));
    pointer-events: none;
  }

  .services-atmosphere-mark {
    display: block;
    font-family: "Syne", sans-serif;
    font-weight: 800;
    font-size: clamp(7rem, 16vw, 12rem);
    line-height: 0.8;
    letter-spacing: -0.06em;
    color: rgba(17, 17, 17, 0.045);
    user-select: none;
  }

  .services-copy-col {
    position: relative;
    z-index: 1;
  }
}

.services-showcase > .container-site {
  position: relative;
  z-index: 1;
}

.services-sticky-layout {
  display: grid;
  gap: 0;
}

@media (min-width: 960px) {
  .services-sticky-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: stretch;
  }
}

/* Mobilde sticky kolon kapalı — her kart kendi görselini gösterir */
.services-sticky-col {
  display: none;
}

@media (min-width: 960px) {
  .services-sticky-col {
    display: block;
    order: 0;
    grid-column: 1;
    grid-row: 1;
  }
}

.services-sticky-stage {
  position: sticky;
  top: var(--header-h, 72px);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - var(--header-h, 72px));
  height: calc(100dvh - var(--header-h, 72px));
}

.services-sticky-frame {
  --frame-pad: 12px;
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  padding: var(--frame-pad);
  overflow: hidden;
  background: #1f1f1f;
  box-shadow: 0 28px 70px -40px rgba(17, 17, 17, 0.55);
  box-sizing: border-box;
}

@media (min-width: 960px) {
  .services-sticky-frame {
    --frame-pad: 14px;
    width: min(100%, 620px);
    aspect-ratio: 5 / 4;
  }
}

.services-frame-colors {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
}

.services-frame-swatch {
  position: absolute;
  inset: 0;
  background: var(--frame-c, #c8102e);
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
}

.services-frame-swatch.is-base {
  clip-path: inset(0 0 0 0);
}

.services-frame-swatch:nth-child(1) { z-index: 1; }
.services-frame-swatch:nth-child(2) { z-index: 2; }
.services-frame-swatch:nth-child(3) { z-index: 3; }
.services-frame-swatch:nth-child(4) { z-index: 4; }
.services-frame-swatch:nth-child(5) { z-index: 5; }
.services-frame-swatch:nth-child(6) { z-index: 6; }
.services-frame-swatch:nth-child(7) { z-index: 7; }
.services-frame-swatch:nth-child(8) { z-index: 8; }

.services-stack {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
  background: #111;
}

.services-stack-item {
  position: absolute;
  inset: 0;
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
}

.services-stack-item.is-base {
  clip-path: inset(0 0 0 0);
}

.services-stack-item:nth-child(1) { z-index: 1; }
.services-stack-item:nth-child(2) { z-index: 2; }
.services-stack-item:nth-child(3) { z-index: 3; }
.services-stack-item:nth-child(4) { z-index: 4; }
.services-stack-item:nth-child(5) { z-index: 5; }
.services-stack-item:nth-child(6) { z-index: 6; }
.services-stack-item:nth-child(7) { z-index: 7; }
.services-stack-item:nth-child(8) { z-index: 8; }

.services-stack-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
}

.services-stack-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(17, 17, 17, 0.12), transparent 45%);
  pointer-events: none;
}

.services-copy-col {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.service-panel {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-height: auto;
  padding: 0;
  box-sizing: border-box;
  opacity: 1;
}

.service-panel-media {
  display: block;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: var(--frame-c, #1f1f1f);
  box-shadow: 0 18px 40px -28px rgba(17, 17, 17, 0.45);
  overflow: hidden;
}

.service-panel-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 6px);
  background: #111;
}

.service-panel-copy {
  padding: 0 0.15rem;
}

@media (min-width: 960px) {
  .services-copy-col {
    gap: 0;
  }

  .service-panel {
    /* Sticky görselle aynı kutu: header altındaki alanda dikey orta */
    min-height: 100vh;
    min-height: 100dvh;
    padding: var(--header-h, 72px) 0 0;
    justify-content: center;
    gap: 0;
    opacity: 0.28;
    transition: opacity 0.35s ease;
  }

  .service-panel.is-active {
    opacity: 1;
  }

  .service-panel-media {
    display: none;
  }

  .service-panel-copy {
    padding: 0;
  }
}

.service-split-num {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 0.95rem;
}

.service-split-num::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: rgba(200, 16, 46, 0.55);
}

.service-panel h3 {
  line-height: 1.12;
}

.service-panel .btn {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-panel .btn:hover {
  transform: translateY(-2px);
}

.services-intro {
  opacity: 0;
}

.services-intro.is-shown {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .services-intro,
  .service-panel {
    opacity: 1;
  }

  .services-stack-item {
    transition: none;
  }

  .service-panel .btn {
    transition: none;
  }
}

.step-num {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  color: var(--red);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.project-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.project-tile:hover img {
  transform: scale(1.05);
}

.project-tile .caption,
.project-tile .project-tile-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  color: white;
}

.contact-panel {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(200, 16, 46, 0.18), transparent 60%),
    linear-gradient(145deg, #151515 0%, #1d1d1d 55%, #111 100%);
  color: white;
  box-shadow: var(--shadow-soft);
}

.field {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  border-radius: 0.9rem;
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.field::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.field:focus {
  border-color: rgba(200, 16, 46, 0.75);
  background: rgba(255, 255, 255, 0.07);
}

.float-wa {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: white;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s ease;
}

.float-wa:hover {
  transform: scale(1.06);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  will-change: transform, opacity;
}

.mobile-menu {
  display: none;
}

.mobile-menu.is-open {
  display: block;
}

@media (max-width: 768px) {
  .hero-content {
    padding-top: calc(var(--header-h, 72px) + 1.5rem);
    padding-bottom: 4.75rem;
    justify-content: flex-end;
  }

  .service-item img {
    height: 180px;
  }
}

.page-hero {
  padding: 8.5rem 0 3.25rem;
}

.page-hero-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(700px 240px at 0% 0%, rgba(200, 16, 46, 0.1), transparent 55%),
    linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.72) 100%);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.faq-item + .faq-item {
  margin-top: 0.75rem;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.1rem 1.2rem;
  font-weight: 600;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink);
}

.faq-trigger span.icon {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-trigger span.icon {
  transform: rotate(45deg);
}

.faq-panel {
  display: none;
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

.faq-item.is-open .faq-panel {
  display: block;
}

.gallery-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #111;
  cursor: pointer;
  padding: 0;
  display: block;
  width: 100%;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.05);
}

.gallery-item .gallery-badge {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 1.25rem;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(8px);
}

.gallery-lightbox.is-open {
  display: grid;
}

.gallery-lightbox-inner {
  position: relative;
  width: min(1100px, 100%);
  max-height: min(85svh, 900px);
}

.gallery-lightbox-inner img,
.gallery-lightbox-inner video {
  width: 100%;
  max-height: min(85svh, 900px);
  object-fit: contain;
  border-radius: var(--radius);
  background: #000;
}

.gallery-lightbox-close {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-caption {
  margin-top: 0.75rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.prose-lite p + p {
  margin-top: 1rem;
}

.prose-lite ul.feature-dots {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.prose-lite ul.feature-dots li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: rgba(17, 17, 17, 0.8);
}

.prose-lite ul.feature-dots li + li {
  margin-top: 0.75rem;
}

.prose-lite ul.feature-dots .dot {
  margin-top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--red);
}

/* Tailwind CDN custom token fallbacks (WP enqueue sırası bozulursa radius/renk kaybolmasın) */
.rounded-soft {
  border-radius: var(--radius);
}

.rounded-softer {
  border-radius: var(--radius-lg);
}

.text-brand {
  color: var(--red);
}

.text-muted {
  color: var(--muted);
}

.text-ink {
  color: var(--ink);
}

.bg-paper {
  background-color: var(--paper);
}

.font-display {
  font-family: "Syne", sans-serif;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn,
  .service-item,
  .service-item img,
  .project-tile img,
  .float-wa {
    transition: none !important;
  }
}
