/* ============================================================
   MackaTech++ — MAIN CSS
   Design tokens · Reset · Typography · Layout · Components
   ============================================================ */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Palette */
  --c-black: #0a0a0a;
  --c-black-soft: #111111;
  --c-black-mid: #1a1a1a;
  --c-black-card: #131313;
  --c-chrome: #C0C0C0;
  --c-chrome-light: #E8E8E8;
  --c-chrome-dark: #808080;
  --c-white: #FFFFFF;
  --c-wa-green: #25D366;

  /* Chrome/Metallic Gradients */
  --grad-chrome-sweep:
    linear-gradient(90deg,
      #6b6b6b 0%,
      #C0C0C0 20%,
      #FFFFFF 40%,
      #F0F0F0 50%,
      #C0C0C0 60%,
      #6b6b6b 80%,
      #C0C0C0 100%);

  --grad-chrome-border:
    linear-gradient(135deg,
      rgba(192, 192, 192, 0.8),
      rgba(255, 255, 255, 1.0),
      rgba(192, 192, 192, 0.8));

  --grad-glow-silver:
    radial-gradient(ellipse 60% 45% at 65% 40%,
      /* Moved up and flattened vertically */
      rgba(192, 192, 192, 0.10) 0%,
      rgba(192, 192, 192, 0.04) 40%,
      transparent 70%);

  /* Glows */
  --glow-sm: 0 0 20px rgba(192, 192, 192, 0.20);
  --glow-md: 0 0 40px rgba(192, 192, 192, 0.30);
  --glow-lg: 0 0 80px rgba(192, 192, 192, 0.45);
  --glow-text: 0 0 12px rgba(192, 192, 192, 0.55),
    0 0 35px rgba(192, 192, 192, 0.25);

  /* Typography */
  --font-display: 'Rajdhani', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --text-hero: clamp(1.8rem, 6.5vw, 6.5rem);
  --text-h2: clamp(1.8rem, 4vw, 3.8rem);
  --text-h3: clamp(1.1rem, 1.8vw, 1.5rem);
  --text-body: clamp(0.9rem, 1.1vw, 1.05rem);
  --text-small: 0.82rem;
  --text-label: 0.78rem;

  /* Spacing (8pt) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;
  --sp-20: 160px;

  /* Layout */
  --max-w: 1380px;
  --sec-pad: clamp(80px, 11vh, 150px);
  --cont-pad: clamp(20px, 5vw, 80px);

  /* Easing */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Borders */
  --border-dim: 1px solid rgba(192, 192, 192, 0.12);
  --border-mid: 1px solid rgba(192, 192, 192, 0.25);
  --border-bright: 1px solid rgba(232, 232, 232, 0.60);

  /* Surfaces */
  --surface-glass: rgba(10, 10, 10, 0.75);
  --blur-glass: blur(22px) saturate(160%);

  /* Z-index */
  --z-loader: 1000;
  --z-cursor: 999;
  --z-nav: 100;
  --z-float: 500;
}

/* ── 2. RESET & BASE ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Custom cursor — desktop only (touch overridden in responsive.css) */
@media (hover: hover) and (pointer: fine) {

  *,
  *::before,
  *::after {
    cursor: none;
  }
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  /* Lenis handles smooth scroll */
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--c-chrome-light);
  background: var(--c-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-loading {
  overflow: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

/* ── 3. TYPOGRAPHY ─────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--c-white);
  word-break: break-word;
  overflow-wrap: break-word;
}

.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-chrome);
  border-left: 2px solid var(--c-chrome);
  padding-left: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.section__title {
  font-size: var(--text-h2);
  color: #FFFFFF;
  margin-bottom: var(--sp-8);
  word-break: break-word;
  overflow-wrap: break-word;
}

.section__title em {
  font-style: normal;
}

/* ── 4. LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--cont-pad);
}

.section {
  padding-block: var(--sec-pad);
  position: relative;
}

.section--full-vh {
  min-height: 100svh;
  display: flex;
  align-items: center;
}

/* ── 5. LOADER ─────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background: var(--c-black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loader__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Default to mobile video because it's mobile-first */
.loader__video--desktop {
  display: none;
}

.loader__video--mobile {
  display: block;
}

/* ── 6. CUSTOM CURSOR ──────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: var(--z-cursor);
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--c-white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor__ring {
  position: absolute;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(192, 192, 192, 0.75);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition:
    width 0.35s var(--ease-expo),
    height 0.35s var(--ease-expo),
    border-color 0.2s ease,
    background 0.2s ease;
}

.cursor.is-hovering .cursor__dot {
  width: 4px;
  height: 4px;
}

.cursor.is-hovering .cursor__ring {
  width: 56px;
  height: 56px;
  border-color: var(--c-chrome-light);
  background: rgba(192, 192, 192, 0.06);
}

.cursor.is-view .cursor__dot {
  width: 0;
  height: 0;
}

.cursor.is-view .cursor__ring {
  width: 80px;
  height: 80px;
  border-color: var(--c-white);
  background: rgba(192, 192, 192, 0.10);
}

/* ── 7. NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding-block: var(--sp-3);
  transition:
    background 0.6s var(--ease-expo),
    border-color 0.6s var(--ease-expo),
    padding-block 0.4s var(--ease-in-out),
    transform 0.4s var(--ease-expo);
  border-bottom: 1px solid transparent;
}

.navbar.is-scrolled {
  background: var(--surface-glass);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-color: rgba(192, 192, 192, 0.12);
  padding-block: var(--sp-2);
}

.navbar.is-hidden {
  transform: translateY(-100%);
}

.navbar__container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--cont-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.navbar__logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.4s var(--ease-expo);
}

/* Navbar logo text: plain white, no chrome animation */
.navbar__logo .chrome-text {
  background: none;
  -webkit-text-fill-color: var(--c-white);
  color: var(--c-white);
  animation: none;
}

.navbar__logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(1.15) drop-shadow(0 0 14px rgba(255, 255, 255, 0.5));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.navbar__logo:hover .navbar__logo-img {
  filter: brightness(1.25) drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
  transform: scale(1.05);
}

.navbar.is-scrolled .navbar__logo {
  transform: scale(0.96);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.navbar__link {
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-chrome);
  transition: color 0.2s ease;
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--c-chrome-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-expo);
}

.navbar__link:hover {
  color: var(--c-white);
}

.navbar__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-chrome-dark);
  transition: color 0.2s ease;
  padding: 4px 8px;
  border: var(--border-dim);
  border-radius: 2px;
}

.lang-toggle:hover {
  color: var(--c-chrome-light);
  border-color: rgba(192, 192, 192, 0.3);
}

.lang-toggle__active {
  color: var(--c-chrome-light);
}

.lang-toggle__divider {
  opacity: 0.4;
}

.lang-toggle__flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 1px;
  flex-shrink: 0;
}

.lang-toggle__flag--inactive {
  opacity: 0.5;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  width: 36px;
}

.navbar__hamburger span {
  display: block;
  height: 1px;
  background: var(--c-chrome);
  transition:
    transform 0.3s var(--ease-expo),
    opacity 0.3s ease,
    width 0.3s ease;
}

.navbar__hamburger span:nth-child(2) {
  width: 70%;
}

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

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

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

/* ── MOBILE MENU — Full-screen overlay ─────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  z-index: 9998;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 5vh, 48px);
  position: relative;
  z-index: 2;
}

.mobile-menu__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 4vh, 32px);
}

.mobile-menu__links a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-chrome);
  transition: color 0.3s ease, letter-spacing 0.3s ease;
  text-decoration: none;
}

.mobile-menu__links a:hover {
  color: var(--c-white);
  letter-spacing: 0.15em;
}

.mobile-menu__cta {
  margin-top: var(--sp-2);
}

/* Decorative columns image at the bottom of mobile menu */
.mobile-menu__columns {
  position: absolute;
  bottom: 0;
  right: 0;
  width: clamp(200px, 60vw, 350px);
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

/* ── 8. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease-spring),
    box-shadow 0.3s var(--ease-expo),
    color 0.2s ease;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.btn:hover::before {
  opacity: 1;
}

.btn:active {
  transform: translateY(0);
}

/* Size variants */
.btn--sm {
  font-size: 0.75rem;
  padding: 8px 18px;
}

.btn--md {
  font-size: 0.82rem;
  padding: 12px 28px;
}

.btn--lg {
  font-size: 0.9rem;
  padding: 16px 36px;
}

.btn--xl {
  font-size: 1rem;
  padding: 20px 44px;
}

/* Chrome button — plain solid white */
.btn--chrome {
  background: var(--c-white);
  color: var(--c-black);
  border: none;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.btn--chrome:hover {
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.25);
  filter: brightness(0.95);
}

/* Ghost button */
.btn--ghost {
  background: transparent;
  color: var(--c-chrome-light);
  border: var(--border-mid);
  font-size: 0.9rem;
  padding: 15px 35px;
}

.btn--ghost:hover {
  border-color: rgba(192, 192, 192, 0.6);
  color: var(--c-white);
  box-shadow: var(--glow-sm);
}

/* WhatsApp button */
.btn--whatsapp {
  background: linear-gradient(135deg, #128C7E, #25D366);
  color: var(--c-white);
  border: 1px solid rgba(37, 211, 102, 0.3);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.20);
}

.btn--whatsapp:hover {
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.40);
}

.btn--whatsapp img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

/* WhatsApp pulse ring */
.btn--whatsapp::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(37, 211, 102, 0.35);
  border-radius: 4px;
  opacity: 0;
  animation: wa-pulse 2.8s ease-out infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.06);
    opacity: 0;
  }

  100% {
    transform: scale(1.06);
    opacity: 0;
  }
}

/* ── 9. HERO SECTION ───────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--c-black);
  overflow: hidden;
  padding-block: 0;
  min-height: 100svh;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: var(--grad-glow-silver);
  pointer-events: none;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-block: clamp(120px, 15vh, 200px) var(--sp-10);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--cont-pad);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.hero__visual-img {
  width: clamp(280px, 40vw, 750px);
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

/* Contact chrome hands — decorative Michelangelo-style reaching hands */
.contact__hand {
  position: absolute;
  bottom: 0;
  width: clamp(160px, 20vw, 320px);
  height: auto;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  filter: brightness(1.1) saturate(0) drop-shadow(0 0 20px rgba(192, 192, 192, 0.3));
}

.contact__hand--left {
  left: -2%;
  animation: contact-hand-float-left 7s ease-in-out infinite;
}

.contact__hand--right {
  right: -2%;
  animation: contact-hand-float-right 7s ease-in-out infinite 3.5s;
}

@keyframes contact-hand-float-left {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes contact-hand-float-right {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}


.hero__eyebrow {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--c-chrome);
  margin-bottom: var(--sp-4);
  position: relative;
  padding-left: var(--sp-4);
}

.hero__eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 1px;
  background: var(--c-chrome);
}

.hero__headline {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: var(--sp-5);
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Each line clipped so words slide up from below */
.hero__line {
  display: block;
  overflow: hidden;
  line-height: 1.05;
}

.hero__line>span {
  display: block;
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: var(--c-chrome-dark);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: var(--sp-8);
}

.hero__cta-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  opacity: 0.5;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--c-chrome), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(1);
    transform-origin: top;
  }

  50% {
    transform: scaleY(0.3);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(1);
    transform-origin: top;
  }
}

.hero__scroll-indicator span {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-chrome-dark);
  writing-mode: vertical-rl;
}

/* ── 10. ABOUT SECTION ─────────────────────────────────────── */
.about {
  background: var(--c-black-soft);
}

/* Beyaz (açık) section — about için */
.section--light {
  background: #FFFFFF;
  color: #0a0a0a;
}

.section--light .section__chrome-line {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.section__label--dark {
  color: #1a1a1a;
  border-left-color: #1a1a1a;
}

.section__title--dark {
  color: #0a0a0a;
}

/* About body text on light bg */
.section--light .about__body {
  color: #333333;
}

.section--light .about__lead {
  color: #0a0a0a;
}

.about__layout {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  align-items: stretch;
}

.about__lead {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}

.about__body {
  color: var(--c-chrome-dark);
  line-height: 1.8;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.stat-card {
  background: var(--c-black-card);
  border: var(--border-dim);
  border-radius: 2px;
  padding: var(--sp-4) var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s var(--ease-spring);
}

.stat-card:hover {
  border-color: rgba(192, 192, 192, 0.3);
  box-shadow: var(--glow-sm);
  transform: translateY(-3px);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  min-height: 1.1em;
  overflow: visible;
  background: var(--grad-chrome-sweep);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: chrome-sweep 4s linear infinite;
}

.stat-card__label {
  font-size: var(--text-small);
  color: var(--c-chrome-dark);
  letter-spacing: 0.05em;
}

/* Light variant for white background sections */
.stat-card--light {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.stat-card--light:hover {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.stat-card--light .stat-card__label {
  color: #666666;
}

.stat-card--light .stat-card__number {
  background: linear-gradient(90deg, #1a1a1a 0%, #555 50%, #1a1a1a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: chrome-sweep 4s linear infinite;
}

/* About + Portfolio slogans */
.about__slogan,
.portfolio__slogan {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  color: #666;
  font-style: italic;
  margin-bottom: var(--sp-8);
  padding-left: var(--sp-2);
  border-left: 2px solid #ccc;
}

/* ── 11. SERVICES SECTION ──────────────────────────────────── */
.services {
  background: var(--c-black);
  position: relative;
  overflow: clip;
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

/* Decorative Chrome Roman Pillars */
.services__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(192, 192, 192, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 192, 192, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.services .container {
  max-width: 1100px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* Decorative Chrome Roman Pillars */
.services__pillar {
  position: absolute;
  top: 12%;
  height: 85%;
  width: auto;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

.services__pillar--left {
  left: 0;
  transform: translateX(-28%);
}

.services__pillar--right {
  right: 0;
  transform: translateX(28%);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  position: relative;
  z-index: 2;
}

.service-card {
  position: relative;
  background: var(--c-black-card);
  border: var(--border-dim);
  border-radius: 2px;
  padding: var(--sp-5) var(--sp-4);
  overflow: hidden;
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition:
    border-color 0.4s ease,
    transform 0.4s var(--ease-spring),
    box-shadow 0.4s ease;
}

/* Rotating border on hover — conic for modern browsers, fallback for others */
@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 2px;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.3s ease;
  /* Fallback: simple gradient border */
  background: linear-gradient(135deg,
      transparent 0%,
      rgba(192, 192, 192, 0.5) 40%,
      rgba(255, 255, 255, 0.9) 50%,
      rgba(192, 192, 192, 0.5) 60%,
      transparent 100%);
}

/* Conic gradient for browsers that support @property */
@supports (background: conic-gradient(from 0deg, red, blue)) {
  .service-card::before {
    background: conic-gradient(from var(--angle),
        transparent 0%,
        transparent 35%,
        rgba(192, 192, 192, 0.7) 45%,
        rgba(255, 255, 255, 1.0) 50%,
        rgba(192, 192, 192, 0.7) 55%,
        transparent 65%,
        transparent 100%);
  }

  .service-card:hover::before {
    animation: conic-rotate 3s linear infinite;
  }
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--c-black-card);
  border-radius: 1px;
  z-index: 0;
}

.service-card>* {
  position: relative;
  z-index: 1;
}

.service-card:hover::before {
  opacity: 1;
}

@keyframes conic-rotate {
  from {
    --angle: 0deg;
  }

  to {
    --angle: 360deg;
  }
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), var(--glow-sm);
}

.service-card__icon-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon-wrap img {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(0.75);
  transition: filter 0.3s ease, transform 0.3s var(--ease-spring);
}

.service-card:hover .service-card__icon-wrap img {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}

.service-card__icon-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(192, 192, 192, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-card__icon-glow {
  opacity: 1;
}

.service-card__title {
  font-size: var(--text-h3);
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: var(--sp-2);
  transition: color 0.2s ease;
}

.service-card:hover .service-card__title {
  color: #FFFFFF;
}

.service-card__desc {
  font-size: var(--text-small);
  color: var(--c-chrome-dark);
  line-height: 1.7;
}

/* CTA card variant */
.service-card--cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  text-align: center;
  border-style: dashed;
  border-color: rgba(192, 192, 192, 0.15);
  background: transparent;
}

.service-card--cta p {
  font-size: var(--text-small);
  color: var(--c-chrome-dark);
  letter-spacing: 0.1em;
}

.service-card--cta:hover {
  border-color: rgba(192, 192, 192, 0.35);
  transform: translateY(-4px);
}

/* ── 12. PORTFOLIO SECTION — Alternating Showcase ─────────── */
.portfolio {
  background: var(--c-black-soft);
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* Portfolio on light bg */
.portfolio.section--light {
  background: #FFFFFF;
}

/* Showcase container: vertical stack with generous spacing */
.portfolio__showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vw, 80px);
}

/* Individual showcase card: 2-column grid */
.showcase-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  align-items: center;
  position: relative;
}

/* Reversed layout (text left, image right) */
.showcase-card--reversed {
  direction: rtl;
}

.showcase-card--reversed>* {
  direction: ltr;
}

/* Media container */
.showcase-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 16/10;
  background: #f0f0f0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition:
    box-shadow 0.5s var(--ease-expo),
    transform 0.5s var(--ease-expo);
}

.showcase-card:hover .showcase-card__media {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.showcase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s var(--ease-expo),
    filter 0.5s ease;
}

.showcase-card:hover .showcase-card__media img {
  transform: scale(1.04);
  filter: brightness(0.7) contrast(1.05);
}

/* Overlay on hover */
.showcase-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.showcase-card:hover .showcase-card__overlay {
  opacity: 1;
}

.showcase-card__view-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #FFFFFF;
  transform: translateY(12px);
  transition: transform 0.4s var(--ease-spring);
}

.showcase-card:hover .showcase-card__view-label {
  transform: translateY(0);
}

/* Content side */
.showcase-card__content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.showcase-card__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 0, 0, 0.04);
  letter-spacing: -0.02em;
}

.showcase-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.15;
  margin-top: -8px;
}

.showcase-card__desc {
  font-size: var(--text-body);
  color: #555;
  line-height: 1.7;
  max-width: 400px;
}

.showcase-card__tags {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
}

.showcase-card__tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  padding: 4px 12px;
  font-weight: 500;
}

/* ── 13. CONTACT SECTION ───────────────────────────────────── */
.contact {
  background: var(--c-black);
  position: relative;
  overflow: clip;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.contact__glow-bg {
  position: absolute;
  width: 600px;
  height: 600px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(192, 192, 192, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.contact__wa-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
}

.contact__wa-label {
  font-size: var(--text-small);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-chrome-dark);
}

.contact__wa-sub {
  font-size: var(--text-small);
  color: rgba(192, 192, 192, 0.4);
}

.contact__divider {
  display: flex;
  align-items: center;
  color: rgba(192, 192, 192, 0.25);
  font-size: var(--text-small);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
}

.contact__divider::before,
.contact__divider::after {
  content: '';
  flex-shrink: 0;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(192, 192, 192, 0.25), transparent);
}

.contact__divider {
  flex-direction: column;
  gap: var(--sp-2);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.contact__info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact__info-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-chrome-dark);
}

.contact__info-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-chrome-light);
  transition: color 0.2s ease;
}

.contact__info-value:hover {
  color: var(--c-white);
}

/* ── 14. FOOTER ────────────────────────────────────────────── */
.footer {
  position: relative;
  background: var(--c-black);
  padding-top: var(--sec-pad);
  padding-bottom: clamp(20px, 3vh, 32px);
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer__divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(192, 192, 192, 0.25) 50%, transparent 100%);
}

/* ── Footer content ── */
.footer__content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-6);
  padding-top: var(--sp-6);
}

/* ── Left brand block ── */
.footer__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 560px;
}

/* Right logo container */
.footer__logo-right {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  pointer-events: none;
  /* Let clicks pass through transparent parts */
  z-index: 1;
}

.footer__logo-img {
  width: clamp(180px, 25vw, 450px);
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(1) brightness(1.25) contrast(1.1);
}

/* Wordmark */
.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  margin: 0 0 clamp(16px, 2vw, 24px);
  padding-right: 0.25em;
  white-space: nowrap;
  background: var(--grad-chrome-sweep);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: chrome-shine 7s linear infinite;
}

@keyframes chrome-shine {
  to {
    background-position: 200% center;
  }
}

/* Tagline */
.footer__tagline {
  font-family: var(--font-display);
  font-size: clamp(0.65rem, 0.8vw, 0.78rem);
  color: var(--c-chrome);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: clamp(6px, 1vw, 10px);
}

/* Slogan */
.footer__slogan {
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  font-weight: 400;
  color: var(--c-chrome-dark);
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-bottom: clamp(24px, 4vw, 40px);
}

/* ── Navigation ── */
.footer__nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: clamp(12px, 2.5vw, 24px);
  margin-bottom: 0;
}

.footer__nav a {
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 0.8vw, 0.78rem);
  font-weight: 600;
  color: var(--c-chrome-dark);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.footer__nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-white);
  transition: width 0.35s var(--ease-expo);
}

.footer__nav a:hover {
  color: var(--c-white);
}

.footer__nav a:hover::after {
  width: 100%;
}

.footer__nav-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(192, 192, 192, 0.3);
  flex-shrink: 0;
}

/* ── Bottom bar ── */
.footer__bottom {
  position: relative;
  padding-top: clamp(20px, 3vh, 32px);
}

.footer__bottom-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(192, 192, 192, 0.1);
}

.footer__copy {
  font-size: 0.68rem;
  color: rgba(192, 192, 192, 0.25);
  letter-spacing: 0.08em;
}

/* ── 16. GO-UP BUTTON ────────────────────────────────────────── */
.go-up {
  position: fixed;
  bottom: 100px;
  /* Positioned above WA button */
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 0;
  /* Square/sharp edges */
  background: var(--c-white);
  border: 1px solid var(--c-white);
  color: var(--c-black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-float);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  mix-blend-mode: difference;
  /* Inverted color system */
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s var(--ease-spring),
    background 0.3s ease,
    color 0.3s ease;
}

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

.go-up:hover {
  background: transparent;
  color: var(--c-white);
  /* Removed translateY */
}

.go-up svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: auto;
  height: auto;
  padding: 14px 18px;
  background: linear-gradient(135deg, #128C7E, #25D366);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: var(--z-float);
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.15);
  /* Subdued glow */
  transition:
    transform 0.3s var(--ease-spring),
    box-shadow 0.3s ease;
  opacity: 0;
  transform: scale(0);
  animation: wa-float-enter 0.5s var(--ease-spring) 2.5s forwards;
}

.wa-float__text {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  display: none;
}

@keyframes wa-float-enter {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* After entry animation ends, hover scale works via is-ready class */
.wa-float.is-ready {
  animation: none;
  opacity: 1;
  transform: scale(1);
}

.wa-float.is-ready:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  /* Subdued hover glow */
}

.wa-float img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

/* ── 16. CHROME TEXT UTILITY ───────────────────────────────── */
.chrome-text {
  background: var(--grad-chrome-sweep);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: chrome-sweep 4s linear infinite;
  will-change: background-position;
}

@keyframes chrome-sweep {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: -200% center;
  }
}

/* Chrome text on white/light backgrounds — use dark gradient so text stays readable */
.section--light .chrome-text {
  background: linear-gradient(90deg,
      #1a1a1a 0%,
      #555555 20%,
      #0a0a0a 40%,
      #333333 50%,
      #555555 60%,
      #1a1a1a 80%,
      #555555 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ── 17. SECTION CHROME DECORATORS ────────────────────────── */
.section__chrome-line {
  position: absolute;
  top: 0;
  left: var(--cont-pad);
  right: var(--cont-pad);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.2), transparent);
}

/* ── 18. SECTION HEADER ────────────────────────────────────── */
.section__header {
  margin-bottom: var(--sp-10);
}

/* ── 19. MISC UTILITIES ────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── 20. FOCUS VISIBLE — ACCESSIBILITY ──────────────────────── */
.btn:focus-visible {
  outline: 2px solid var(--c-chrome-light);
  outline-offset: 3px;
}

.navbar__link:focus-visible {
  outline: 1px solid rgba(192, 192, 192, 0.5);
  outline-offset: 4px;
  border-radius: 2px;
}

.lang-toggle:focus-visible {
  outline: 1px solid var(--c-chrome);
  outline-offset: 2px;
}

.navbar__hamburger:focus-visible {
  outline: 1px solid rgba(192, 192, 192, 0.5);
  outline-offset: 4px;
}

.wa-float:focus-visible {
  outline: 2px solid rgba(37, 211, 102, 0.7);
  outline-offset: 3px;
}

a:focus-visible {
  outline-offset: 3px;
  border-radius: 1px;
}

/* ── 98. PREMIUM SOCIAL ICONS ────────────────────────────── */
.contact__socials {
  margin-top: 0.5rem;
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0;
  /* Tamamen keskin köşeli (square) */
  border: 1px solid rgba(192, 192, 192, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: #a0a0a0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-chrome);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.social-link svg {
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease, color 0.4s ease;
}

.social-link:hover {
  border-color: rgba(192, 192, 192, 0.6);
  color: #111;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(192, 192, 192, 0.15);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover svg {
  transform: scale(1.1);
}

/* ── 99. CUSTOM ERROR PAGE (404) ──────────────────────────── */
.error-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.error-hero__container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.error-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-hero__title {
  font-size: clamp(6rem, 15vw, 15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: var(--sp-4);
  filter: drop-shadow(0 0 40px rgba(192, 192, 192, 0.2));
}

.error-hero__sub {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: #a0a0a0;
  max-width: 600px;
  margin: 0 auto var(--sp-6);
  line-height: 1.6;
}

.error-hero__eyebrow {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

.error-hero__visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

.error-hero__visual-img {
  width: clamp(300px, 80vw, 800px);
  height: auto;
  object-fit: contain;
  animation: hero-chrome-float 15s ease-in-out infinite;
}