:root {
  --bg: #080808;
  --bg-elevated: #0f0f10;
  --bg-soft: #111111;
  --accent: #e8ff03;
  --accent-soft: rgba(232, 255, 3, 0.12);
  --accent-soft-strong: rgba(232, 255, 3, 0.28);
  --border-soft: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #f9fafb;
  --text-soft: #9ca3af;
  --text-softer: #6b7280;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #141414, #050505 55%, #000 100%);
  color: var(--text);
}

body {
  min-height: 100vh;
  position: relative;
}

body > main {
  position: relative;
  z-index: 1;
}

/* Animated gradient background (subtle) */
.body-bg-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(232, 255, 3, 0.06), transparent 50%),
    radial-gradient(ellipse 80% 60% at 90% 60%, rgba(232, 255, 3, 0.03), transparent 45%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(248, 250, 252, 0.02), transparent 40%);
  animation: bg-gradient-shift 18s ease-in-out infinite;
}

@keyframes bg-gradient-shift {
  0%, 100% { opacity: 1; transform: scale(1) translate(0, 0); }
  33% { opacity: 0.9; transform: scale(1.02) translate(1%, 0.5%); }
  66% { opacity: 1; transform: scale(0.98) translate(-0.5%, -0.3%); }
}

@media (prefers-reduced-motion: reduce) {
  .body-bg-gradient {
    animation: none;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  padding-inline: 1.5rem;
  margin-inline: auto;
}

.section {
  padding-block: 5rem;
}

@media (min-width: 1024px) {
  .section {
    padding-block: 6rem;
  }
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.2rem;
}

.lead {
  margin-top: 0.85rem;
  color: var(--text-soft);
  max-width: 32rem;
}

.btn {
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.5rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.18s ease-out;
  background: transparent;
  color: var(--text);
}

.btn-primary {
  background: linear-gradient(135deg, #e8ff03, #fefce8);
  border-color: transparent;
  color: #020617;
  box-shadow: 0 18px 45px rgba(232, 255, 3, 0.4);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--border-strong);
  background: rgba(15, 23, 42, 0.8);
}

.btn-ghost:hover {
  border-color: var(--accent-soft-strong);
  background: rgba(15, 23, 42, 0.95);
}

.btn-full {
  width: 100%;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  backdrop-filter: none;
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.9), transparent);
  border-bottom: none;
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.nav-desktop a:hover {
  color: var(--text);
}

/* Masaüstü: Hizmetler hover’da aşağı açılan bar */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.nav-dropdown-trigger:hover {
  color: var(--text);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  margin-top: 0.35rem;
  min-width: 260px;
  padding: 0.5rem 0;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}

/* Hover alanını kesintisiz yapmak için menü ile tetikleyici arası boşluğu kapat (Portfolyo/İletişim üzerine taşmaz) */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-dropdown-menu a:hover {
  color: var(--text);
  background: var(--accent-soft);
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .nav-mobile {
    display: none !important;
  }
}

.btn-header {
  font-size: 0.85rem;
  padding-inline: 1.25rem;
}

.nav-toggle {
  width: 38px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(15, 23, 42, 0.95);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

@media (max-width: 899px) {
  .nav-toggle {
    display: flex;
  }
}

.nav-toggle span {
  width: 18px;
  height: 1.6px;
  background: #e5e7eb;
  border-radius: 999px;
  transition: transform 0.16s ease-out, opacity 0.16s ease-out;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-3px) rotate(-45deg);
}

/* Mobil menü: sağdan sola açılır, tüm ekranı kaplamaz */
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  width: min(320px, 85vw);
  max-width: 320px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 5rem 1.5rem 1.5rem;
  background: rgba(8, 8, 8, 0.98);
  border-left: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.25s ease-out,
    visibility 0.25s ease-out;
}

.nav-mobile.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.nav-mobile a {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding: 0.35rem 0;
}

.nav-mobile a:hover {
  color: var(--text);
}

.nav-section-title {
  margin-top: 0.75rem;
  margin-bottom: 0.1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-softer);
}

.nav-section-title:first-child {
  margin-top: 0;
}

/* VIDEO HERO */
.video-hero {
  position: relative;
  padding: 0;
}

.video-hero-media {
  position: relative;
  width: 100%;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.video-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.1);
}

.video-hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 16vh 6vw 10vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  color: #f9fafb;
}

.video-hero-text {
  font-weight: 700;
  font-size: clamp(8rem, 18vw, 18rem);
  letter-spacing: 0.02em;
  display: inline-block;
  padding: 0;
  color: #e5ff2a;
}

.js-animate-heading {
  transition: opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.js-animate-heading.is-visible {
  /* İleride gerekirse kaydırma animasyonu için kullanılabilir. */
}

.heading-chars {
  display: inline-block;
}

.heading-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}

.heading-char.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

.video-hero-text-top-left {
  align-self: flex-start;
}

.video-hero-text-bottom-right {
  align-self: flex-end;
  margin-top: auto;
}

.video-hero-subline {
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e5e7eb;
  text-align: right;
}

/* Infinite Marquee Text */
.marquee-wrap {
  overflow: hidden;
  padding: 1rem 0;
  background: #080808;
  border-top: 1px solid rgba(232, 255, 3, 0.15);
  border-bottom: 1px solid rgba(232, 255, 3, 0.15);
  user-select: none;
}

.marquee-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
}

.marquee-track-2 {
  animation-name: marquee-scroll-reverse;
  animation-duration: 32s;
}

.marquee-text {
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  text-stroke: 1.5px var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-sep {
  font-size: inherit;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.6;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-scroll-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Rotating Circular Text */
.circular-text-section {
  padding: 2.5rem 0;
  background: transparent;
}

.circular-text-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.circular-text-wrap {
  position: relative;
  width: clamp(160px, 36vw, 220px);
  height: clamp(160px, 36vw, 220px);
}

.circular-text-svg {
  width: 100%;
  height: 100%;
  animation: circular-text-rotate 18s linear infinite;
}

.circular-text-path {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  fill: var(--accent);
  font-family: "Inter", system-ui, sans-serif;
}

.circular-text-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.circular-text-logo {
  width: clamp(36px, 10vw, 48px);
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 0 8px rgba(232, 255, 3, 0.3));
}

@keyframes circular-text-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .circular-text-svg {
    animation-duration: 30s;
  }
}

@media (max-width: 640px) {
  .video-hero-media {
    min-height: 560px;
  }

  .video-hero-overlay {
    padding: 7rem 1.25rem 4rem;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0.45rem;
  }

  .video-hero-text {
    padding-inline: 0;
    font-size: clamp(2.4rem, 14vw, 3.4rem);
    text-align: left;
  }

  .video-hero-subline {
    position: static;
    transform: none;
    align-self: flex-start;
    max-width: 18rem;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    margin-bottom: 0;
    text-align: left;
  }

  .video-hero-text-top-left {
    order: 1;
    align-self: flex-start;
  }

  .video-hero-text-bottom-right {
    order: 2;
    align-self: flex-end;
    margin-top: 0.15rem;
  }

  .video-hero-subline {
    order: 3;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 3.5rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-meta {
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.25rem;
  }

  .services-long-grid {
    padding: 1.75rem 1.25rem;
  }

  .project-card {
    min-width: 92%;
    max-width: 92%;
  }

  .project-image img {
    height: 220px;
  }

  .footer-grid {
    row-gap: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* BRANDS STRIP */
.brands-strip {
  padding-block: 2.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
}

.brands-marquee {
  position: relative;
  overflow: hidden;
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-inline: 4rem;
  width: max-content;
  animation: brands-marquee 32s linear infinite;
  animation-iteration-count: infinite;
  animation-play-state: running;
  will-change: transform;
}

.brands-track img {
  height: 40px;
  width: auto;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.9;
}

.brands-track img:hover {
  opacity: 1;
}

@keyframes brands-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .brands-strip {
    padding-block: 2rem;
  }

  .brands-track {
    gap: 2.25rem;
    padding-inline: 2rem;
    animation-duration: 26s;
  }

  .brands-track img {
    height: 28px;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px) {
  .container {
    padding-inline: 1.25rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-meta {
    font-size: 0.85rem;
  }

  .card-grid {
    gap: 1.25rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .stat {
    padding: 1.1rem 1rem 1.25rem;
  }

  .stat-value {
    font-size: clamp(1.8rem, 10vw, 2.2rem);
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .brands-track img {
    height: 22px;
  }
}

/* HERO */
.hero {
  padding-top: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-subtitle {
  margin-top: 1rem;
  color: var(--text-soft);
  max-width: 30rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero-meta {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero-meta strong {
  color: var(--accent);
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 1.25rem;
}

.hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: radial-gradient(circle at top left, #1d2436, #020617 60%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
}

.hero-image.main img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hero-image.floating {
  align-self: center;
  transform: translateY(10%);
  background: radial-gradient(circle at top right, #f97316, #020617 60%);
}

.hero-image.floating img {
  mix-blend-mode: screen;
  opacity: 0.9;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  }
}

@media (max-width: 599px) {
  .hero-media {
    display: none;
  }
}

/* STATS */
.stats {
  padding-top: 2rem;
  padding-bottom: 3rem;
  background: radial-gradient(circle at top, #080808, #050505 70%);
}

.stats-header {
  text-align: center;
  margin-bottom: 2.25rem;
  color: var(--text);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.stat-value {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, #e8ff03, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1),
    text-shadow 0.4s ease-out, opacity 0.4s ease-out;
  text-shadow: 0 0 0 rgba(232, 255, 3, 0);
}

.stat-label {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 1.2rem 1.5rem;
  border-radius: 18px;
  background: radial-gradient(circle at top, #101010, #050505 85%);
  border: 1px solid rgba(248, 250, 252, 0.05);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.5);
}

.stat-value.is-animating {
  transform: translateY(-2px) scale(1.04);
  opacity: 0.96;
  text-shadow: 0 0 24px rgba(232, 255, 3, 0.4);
}

.stat-value.is-complete {
  transform: translateY(0) scale(1);
  text-shadow: 0 0 12px rgba(15, 23, 42, 0.8);
}

.stat-main {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.stat-suffix {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fef9c3;
}

@media (min-width: 800px) {
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
}

.about-text {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-text p + p {
  margin-top: 0.9rem;
}

@media (max-width: 799px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* SERVICES SUMMARY */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  padding: 1.5rem 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, #121212, #050505 70%);
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.card h3 {
  margin-bottom: 0.35rem;
}

.card p {
  margin: 0.4rem 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #020617;
  border: 1px solid var(--accent-soft-strong);
  font-size: 0.75rem;
  margin: 0.2rem 0 0.65rem;
}

/* SERVICES LONG */
.services-long {
  padding-top: 1.5rem;
}

.services-long-grid {
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(232, 255, 3, 0.2), transparent 55%),
    radial-gradient(circle at bottom right, rgba(232, 255, 3, 0.14), transparent 60%),
    radial-gradient(circle at top, #050505, #020617 80%);
  border: 1px solid rgba(248, 250, 252, 0.08);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: var(--shadow-soft);
}

/* Tüm kart tıklanabilir link */
.service-row-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.service-row-link:hover {
  color: inherit;
}

/* Hizmet satırı: solda yazı (numara + başlık + açıklama), sağda fotoğraf + ok */
.service-row {
  display: grid;
  grid-template-columns: auto 1fr minmax(160px, 220px) auto;
  grid-template-rows: 1fr;
  align-items: center;
  gap: 1.25rem 1.5rem;
  padding-block: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  position: relative;
  direction: ltr;
}

.service-row:last-of-type {
  border-bottom: none;
}

.service-row::after {
  display: none;
}

.service-index {
  grid-column: 1;
  grid-row: 1;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  min-width: 2.5rem;
}

.service-text {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.service-text .service-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f9fafb;
  line-height: 1.3;
}

.service-text .service-title a:hover {
  color: var(--accent);
}

.service-text .service-description {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.service-media {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  height: 120px;
  max-height: 120px;
  flex-shrink: 0;
}

.service-arrow {
  grid-column: 4;
  grid-row: 1;
  align-self: center;
}

.service-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: transparent;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease-out;
  flex-shrink: 0;
}

.service-row-link:hover .service-arrow {
  border-color: var(--accent-soft-strong);
  color: var(--accent);
  transform: translateX(2px);
}

/* Mobil: dikey kart – görsel üstte, altında yazılar; orantılı ve dengeli */
@media (max-width: 800px) {
  .services-long-grid {
    padding: 1.25rem 1rem;
    gap: 1.5rem;
  }

  .service-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 0.75rem 0;
    padding-block: 0;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  }

  .service-row:last-of-type {
    padding-bottom: 0;
  }

  .service-media {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }

  .service-media img,
  .service-media.img-zoom-wrap img {
    min-height: 0;
  }

  .service-index {
    grid-column: 1;
    grid-row: 2;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    min-width: auto;
  }

  .service-text {
    grid-column: 1;
    grid-row: 3;
  }

  .service-text .service-title {
    font-size: 1.05rem;
    margin: 0 0 0.4rem;
    line-height: 1.35;
  }

  .service-text .service-description {
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
  }

  .service-arrow {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    align-self: center;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* Çok küçük ekranlarda yazı ve padding oranı */
@media (max-width: 480px) {
  .services-long-grid {
    padding: 1rem 0.875rem;
    gap: 1.25rem;
  }

  .service-row {
    padding-bottom: 1rem;
  }

  .service-media {
    aspect-ratio: 4 / 3;
  }

  .service-text .service-title {
    font-size: 1rem;
  }

  .service-text .service-description {
    font-size: 0.8125rem;
  }
}

/* Görsel kartın parçası; siyah köşe yok */
.service-media {
  width: 100%;
  height: 120px;
  max-height: 120px;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(248, 250, 252, 0.08);
  isolation: isolate;
}

.service-media.img-zoom-wrap img,
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  vertical-align: middle;
  box-shadow: none;
  border-radius: 16px;
  background-color: #020617;
}

.js-animate-row {
  opacity: 0;
  transform: translateY(24px);
}

.js-animate-row.is-row-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

@media (max-width: 800px) {
  /* Ekstra küçük ekran ayarları gerekirse buraya eklenebilir */
}

/* Guide Slider - Marka Yolculuğunuzun Stratejik Rehberi */
.guide-slider-section {
  background: radial-gradient(circle at 50% 50%, #0a0a0a, #050505 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.guide-slider-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.guide-slider-title {
  color: #ffffff;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Sade slider: aynı anda tek görsel, yatay kaydırma */
.guide-slider {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 0.5rem;
}

.guide-slider-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #050505;
  isolation: isolate;
}

.guide-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.guide-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  aspect-ratio: 16 / 10;
  background: #050505;
}

.guide-slide .img-zoom-wrap {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
  isolation: isolate;
}

.guide-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  vertical-align: middle;
  border-radius: var(--radius-lg);
  background-color: #050505;
}

.guide-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.guide-slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.guide-slider-btn:hover {
  border-color: var(--accent);
  background: rgba(232, 255, 3, 0.1);
  color: var(--accent);
}

.guide-slider-dots {
  display: flex;
  gap: 0.5rem;
}

.guide-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.guide-slider-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.guide-slider-dot.is-active {
  background: #ffffff;
  transform: scale(1.2);
}

/* PROJECTS SLIDER */
.projects .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.slider {
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 1.4rem;
  transition: transform 0.4s ease-out;
}

.project-card {
  min-width: 80%;
  max-width: 80%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.project-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.project-meta {
  padding: 1.25rem 1.4rem 1.4rem;
}

.project-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-softer);
  margin: 0 0 0.35rem;
}

.project-meta h3 {
  margin-bottom: 0.35rem;
}

.project-meta p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  gap: 0.65rem;
}

.slider-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-soft);
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.16s ease-out;
}

.slider-btn:hover {
  background: rgba(15, 23, 42, 1);
  border-color: var(--accent-soft-strong);
  color: var(--text);
}

@media (min-width: 900px) {
  .project-card {
    min-width: 48%;
    max-width: 48%;
  }

  .project-image img {
    height: 320px;
  }
}

@media (max-width: 640px) {
  .projects .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* QUOTE */
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}

.quote-media img {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.quote-text h2 {
  max-width: 32rem;
}

.quote-author {
  margin-top: 1.4rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.quote-author span {
  color: var(--text-softer);
}

@media (min-width: 900px) {
  .quote-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  }
}

/* TESTIMONIALS */
.testimonials-grid {
  margin-top: 2rem;
}

.testimonial-card {
  padding: 1.75rem 1.75rem 1.6rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, #111111, #050505 70%);
  border: 1px solid var(--border-soft);
}

.testimonial-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.testimonial-footer img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
}

.testimonial-name {
  margin: 0;
  font-size: 0.95rem;
}

.testimonial-role {
  margin: 0.1rem 0 0;
  color: var(--text-softer);
  font-size: 0.8rem;
}

/* BLOG */
.blog .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.blog-grid {
  margin-top: 0;
}

.blog-card {
  padding: 1.5rem 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, #101010, #050505 70%);
  border: 1px solid var(--border-soft);
}

.blog-date {
  margin: 0 0 0.3rem;
  color: var(--text-softer);
  font-size: 0.8rem;
}

.blog-card h3 {
  margin-bottom: 0.3rem;
}

.blog-card p {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .blog .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-details {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.contact-details li + li {
  margin-top: 0.5rem;
}

.contact-details a {
  color: #bfdbfe;
}

.contact-form {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top, #101010, #050505 75%);
  padding: 1.6rem 1.6rem 1.8rem;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 720px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
}

.form-field label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-softer);
}

.form-field input,
.form-field textarea {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.16s ease-out, box-shadow 0.16s ease-out,
    background 0.16s ease-out;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #4b5563;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent-soft-strong);
  box-shadow: 0 0 0 1px var(--accent-soft-strong);
  background: rgba(8, 8, 8, 1);
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-softer);
}

@media (max-width: 799px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Button: outline variant */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(232, 255, 3, 0.35);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-outline:hover {
  color: var(--bg);
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 20px rgba(232, 255, 3, 0.2);
}

/* FOOTER CTA BANNER */
.footer-cta-banner {
  padding: 2.5rem 0;
  margin-top: 0;
}

.footer-cta-banner-inner {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.footer-cta-banner-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(232, 255, 3, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.footer-cta-title {
  position: relative;
  margin: 0 0 1.5rem;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.footer-cta-buttons {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.footer-cta-buttons .btn {
  min-width: 10rem;
}

/* FOOTER */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  padding: 2.5rem 0 0;
  font-size: 0.875rem;
  color: var(--text-softer);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem 2.5rem;
  align-items: start;
  padding-bottom: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand {
  max-width: 22rem;
}

.footer-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.25rem;
}

.footer-tagline {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-softer);
}

.footer-col-title {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 0.25rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-links a {
  color: var(--text-softer);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s ease;
}

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

.footer-contact .footer-address,
.footer-contact p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
}

.footer-contact a {
  color: var(--text-softer);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-address a {
  display: inline;
}

/* Footer social strip */
.footer-social-strip {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer-social-strip a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-softer);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-social-strip a:hover {
  color: var(--accent);
}

/* Footer bottom / copyright */
.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-soft);
  text-align: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-softer);
  opacity: 0.85;
}

.footer-credit {
  margin-top: 0.35rem;
}

.footer-credit a {
  color: inherit;
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}

@media (max-width: 899px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 599px) {
  .footer-cta-banner-inner {
    padding: 1.5rem 1.25rem;
  }

  .footer-cta-title {
    margin-bottom: 1.25rem;
  }

  .footer-cta-buttons {
    flex-direction: column;
  }

  .footer-cta-buttons .btn {
    width: 100%;
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-brand {
    grid-column: 1;
  }

  .footer-social-strip {
    gap: 1.25rem;
  }
}

/* UTILITIES */
.section-header {
  margin-bottom: 2rem;
}

/* ========== SERVICE PAGES: Hero with image, marquee, rotating logo, banners ========== */
.page-hero-with-img {
  position: relative;
  padding-top: 6rem;
  overflow: hidden;
}

.page-hero-with-img .container {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .page-hero-with-img .container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.page-hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  animation: page-hero-img-in 1s cubic-bezier(0.19, 1, 0.22, 1) 0.2s forwards;
}

@keyframes page-hero-img-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Parallax: element moves at different speed on scroll */
.js-parallax {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .js-parallax {
    will-change: auto;
  }
}

.page-hero-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .page-hero-img-wrap img {
    height: 320px;
  }
}

/* Service page marquee (scrolling text) */
.service-marquee {
  overflow: hidden;
  padding: 1rem 0;
  background: var(--bg);
  border-top: 1px solid rgba(232, 255, 3, 0.12);
  border-bottom: 1px solid rgba(232, 255, 3, 0.12);
  user-select: none;
}

.service-marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
  animation-iteration-count: infinite;
  animation-play-state: running;
  will-change: transform;
}

.service-marquee span {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.service-marquee .sep {
  color: var(--text-softer);
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  .service-marquee-track {
    animation-duration: 45s;
  }
  .service-gallery-track {
    animation-duration: 60s;
  }
  .service-logo-ring .circular-text-svg {
    animation-duration: 35s;
  }
  .service-logo-ring .logo-spin {
    animation: none;
  }
}

/* Photo Reveal – scroll ile flip animasyonlu, eşit boyutlu görsel grid */
.floating-photo-grid {
  padding: 2.5rem 0 3rem;
}

.floating-photo-grid .container {
  max-width: 960px;
  margin-inline: auto;
}

.floating-photo-grid-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 1fr;
  gap: 1rem;
  align-items: stretch;
  justify-items: center;
  perspective: 1200px;
}

/* Flip + reveal: başlangıçta arkaya dönük, scroll ile öne flip */
.floating-photo-grid .float-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateY(-88deg);
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.35s ease;
  backface-visibility: hidden;
}

/* Section'a .is-visible eklenince flip ile öne döner (stagger) */
.floating-photo-grid.is-visible .float-item,
.floating-photo-grid-inner.is-visible .float-item {
  transform: perspective(1200px) rotateY(0deg);
}

.floating-photo-grid.is-visible .float-item:nth-child(1),
.floating-photo-grid-inner.is-visible .float-item:nth-child(1) { transition-delay: 0.05s; }
.floating-photo-grid.is-visible .float-item:nth-child(2),
.floating-photo-grid-inner.is-visible .float-item:nth-child(2) { transition-delay: 0.15s; }
.floating-photo-grid.is-visible .float-item:nth-child(3),
.floating-photo-grid-inner.is-visible .float-item:nth-child(3) { transition-delay: 0.25s; }
.floating-photo-grid.is-visible .float-item:nth-child(4),
.floating-photo-grid-inner.is-visible .float-item:nth-child(4) { transition-delay: 0.35s; }
.floating-photo-grid.is-visible .float-item:nth-child(5),
.floating-photo-grid-inner.is-visible .float-item:nth-child(5) { transition-delay: 0.45s; }

/* Hover: gölge + görünürken hafif büyüme */
.floating-photo-grid .float-item:hover {
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}
.floating-photo-grid.is-visible .float-item:hover,
.floating-photo-grid-inner.is-visible .float-item:hover {
  transform: perspective(1200px) rotateY(0deg) scale(1.03);
}

.floating-photo-grid .float-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tüm görseller aynı boyut (kare), grid sırasıyla 1–5 */
.floating-photo-grid .float-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.floating-photo-grid .float-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.floating-photo-grid .float-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.floating-photo-grid .float-item:nth-child(4) { grid-column: 4; grid-row: 1; }
.floating-photo-grid .float-item:nth-child(5) { grid-column: 5; grid-row: 1; }

@media (max-width: 768px) {
  .floating-photo-grid-inner {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 0.875rem;
  }
  .floating-photo-grid .float-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .floating-photo-grid .float-item:nth-child(2) { grid-column: 2; grid-row: 1; }
  .floating-photo-grid .float-item:nth-child(3) { grid-column: 3; grid-row: 1; }
  .floating-photo-grid .float-item:nth-child(4) { grid-column: 1; grid-row: 2; }
  .floating-photo-grid .float-item:nth-child(5) { grid-column: 2 / 4; grid-row: 2; }
}

@media (max-width: 640px) {
  .floating-photo-grid-inner {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 0.75rem;
  }
  .floating-photo-grid .float-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .floating-photo-grid .float-item:nth-child(2) { grid-column: 2; grid-row: 1; }
  .floating-photo-grid .float-item:nth-child(3) { grid-column: 1; grid-row: 2; }
  .floating-photo-grid .float-item:nth-child(4) { grid-column: 2; grid-row: 2; }
  .floating-photo-grid .float-item:nth-child(5) { grid-column: 1 / -1; grid-row: 3; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-photo-grid .float-item {
    transform: none;
    transition: box-shadow 0.35s ease;
  }
  .floating-photo-grid.is-visible .float-item:hover,
  .floating-photo-grid-inner.is-visible .float-item:hover {
    transform: none;
  }
  .floating-photo-grid.is-visible .float-item,
  .floating-photo-grid-inner.is-visible .float-item {
    transition-delay: 0s;
  }
}

/* Rotating logo block for service pages */
.service-logo-ring {
  padding: 3rem 0;
  background: linear-gradient(180deg, transparent, var(--bg-soft) 20%, var(--bg-soft) 80%, transparent);
}

.service-logo-ring .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.service-logo-ring .ring-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-softer);
}

.service-logo-ring .circular-text-wrap {
  position: relative;
  width: clamp(120px, 28vw, 160px);
  height: clamp(120px, 28vw, 160px);
}

.service-logo-ring .circular-text-svg {
  width: 100%;
  height: 100%;
  animation: circular-text-rotate 20s linear infinite;
}

.service-logo-ring .circular-text-svg text {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  fill: var(--accent);
  font-family: "Inter", system-ui, sans-serif;
}

.service-logo-ring .circular-text-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.service-logo-ring .logo-spin {
  width: 40px;
  height: 40px;
  animation: logo-float 4s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.05); }
}

/* Full-width image banner */
.service-banner {
  padding: 0;
  margin: 2rem 0;
}

.service-banner-inner {
  position: relative;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 1.5rem;
  max-width: calc(1120px + 3rem);
  margin-inline: auto;
}

/* Parallax layer wrapper: moves on scroll so image can be taller to avoid gaps */
.service-banner-inner .parallax-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
}

.service-banner-inner .parallax-layer img {
  width: 100%;
  height: 135%;
  object-fit: cover;
  object-position: center 50%;
  position: relative;
  top: -17.5%;
  left: 0;
  transition: transform 8s ease-out;
}

.service-banner-inner:hover .parallax-layer img {
  transform: scale(1.06);
}

/* Fallback when no parallax wrapper (direct img) */
.service-banner-inner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease-out;
}

.service-banner-inner:hover > img {
  transform: scale(1.06);
}

.service-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,8,0.7) 0%, transparent 50%, rgba(8,8,8,0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.service-banner-overlay p {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Scrolling image strip – kesintisiz sonsuz döngü, sağda boşluk kalmaz */
.service-gallery-strip {
  overflow: hidden;
  padding: 2rem 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.service-gallery-track {
  display: flex;
  width: max-content;
  animation: gallery-scroll 40s linear infinite;
  animation-iteration-count: infinite;
  animation-play-state: running;
  will-change: transform;
}

/* Her blok aynı 4 görseli içerir; 4 blok = geniş ekranda siyah alan kalmaz, -25% ile tam bir blok kayar */
.service-gallery-track-inner {
  display: flex;
  gap: 1.25rem;
  flex-shrink: 0;
  padding: 0 0.625rem;
}

.service-gallery-track img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid var(--border-soft);
}

/* 4 blok varsa -25% = 1 blok; 2 blok varsa -50%. 4 blok için: */
@keyframes gallery-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

/* Why choose us / strengths grid */
.service-why-section {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  margin-top: 1rem;
}

.service-why-section h2 {
  margin-bottom: 1.5rem;
}

.service-why-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .service-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.service-why-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-why-card:hover {
  border-color: var(--accent-soft-strong);
  transform: translateY(-2px);
}

.service-why-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-why-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.service-why-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* Sunulan Hizmetler – kartlı liste (sosyal medya sayfası) */
.service-offered-section .about-text {
  margin-top: 0.5rem;
}

.service-offered-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .service-offered-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .service-offered-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.service-offered-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.6rem;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-offered-card:hover {
  border-color: var(--accent-soft-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.service-offered-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
  line-height: 1.35;
}

.service-offered-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Fade-in on scroll for service page sections */
.service-fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.service-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Mini stats for service pages */
.service-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.service-stat-item {
  text-align: center;
}

.service-stat-item .num {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.service-stat-item .label {
  font-size: 0.8rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* ========== PORTFOLIO (Çalışmalarımız) ========== */
.portfolio-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.portfolio-header {
  margin-bottom: 3rem;
  max-width: 38rem;
}

.portfolio-header .lead {
  color: var(--text-soft);
  line-height: 1.6;
}

/* Portfolio marquee: thin strip between intro and grid */
.portfolio-marquee {
  overflow: hidden;
  padding: 0.75rem 0;
  margin-bottom: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  user-select: none;
}

.portfolio-marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: portfolio-marquee-scroll 55s linear infinite;
  will-change: transform;
}

.portfolio-marquee span {
  font-size: clamp(0.8125rem, 2vw, 0.9375rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 255, 3, 0.65);
  white-space: nowrap;
  flex-shrink: 0;
}

.portfolio-marquee-sep {
  color: var(--text-softer);
  opacity: 0.5;
  font-weight: 400;
  font-size: 0.5rem;
  flex-shrink: 0;
}

@keyframes portfolio-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-marquee-track {
    animation-duration: 90s;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 960px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.portfolio-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: var(--bg-soft);
}

.portfolio-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.portfolio-card-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px 20px 0 0;
}

.portfolio-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card-link:hover .portfolio-card-image-wrap img,
.portfolio-card-link:focus-visible .portfolio-card-image-wrap img {
  transform: scale(1.04);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.portfolio-card-link:hover .portfolio-card-overlay,
.portfolio-card-link:focus-visible .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-content {
  padding: 1.375rem 1.375rem 1.5rem;
  background: var(--bg-soft);
}

.portfolio-card-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.375rem;
}

.portfolio-card-title {
  margin: 0 0 0.375rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.portfolio-card-link:hover .portfolio-card-title,
.portfolio-card-link:focus-visible .portfolio-card-title {
  color: #fafbfc;
}

.portfolio-card-desc {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-soft);
  line-height: 1.5;
  max-width: 28ch;
}

.portfolio-cta {
  margin-top: 3.5rem;
  padding-top: 2.75rem;
  text-align: center;
  border-top: 1px solid var(--border-soft);
}

.portfolio-cta-title {
  margin: 0 0 1.375rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.5;
}

.portfolio-cta .btn {
  min-width: 12rem;
}

/* Portfolio: subtle scroll reveal (lightweight, under 400ms) */
.portfolio-grid.reveal-stagger > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-grid.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-grid.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.portfolio-grid.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.05s; }
.portfolio-grid.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.08s; }
.portfolio-grid.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.11s; }
.portfolio-grid.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.14s; }
.portfolio-grid.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.17s; }

@media (prefers-reduced-motion: reduce) {
  .portfolio-card-image-wrap img {
    transition: none;
  }
  .portfolio-card-overlay {
    transition: none;
  }
  .portfolio-grid.reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========== MODERN AGENCY ANIMATIONS ========== */
/* Scroll reveal: fade-up sections */
.reveal,
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal {
  transform: none;
}

.reveal-up.is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger: delay children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.55s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.54s; }

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Hover lift: cards and blocks */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

/* img-zoom-wrap: yuvarlaklık sadece konteynerde, img kırpılır; siyah köşe yok */
.img-zoom-wrap {
  overflow: hidden;
  border-radius: inherit;
  background: #050505;
  isolation: isolate;
}

.img-zoom-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  background: #050505;
}

/* Logo carousel: ensure smooth infinite scroll */
.logo-carousel {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

/* Parallax section wrapper (for sections with background image) */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-section .parallax-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up, .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal-stagger.is-visible > * { transition-delay: 0s; }
  .hover-lift:hover {
    transform: none;
  }
}

/* Sabit WhatsApp butonu – sağ alt, font ve tema uyumlu */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid rgba(232, 255, 3, 0.35);
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.whatsapp-float:hover {
  color: var(--bg);
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 24px rgba(232, 255, 3, 0.25);
  transform: translateY(-2px);
}

.whatsapp-float svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float:hover {
    transform: none;
  }
}

