/* =========================================================
   Araf Media — style.css
   Koyu (dark) + bordo (kırmızı) premium, sade ve responsive tasarım
   Kalıcı karanlık tema — çalışmalar ön planda
   ========================================================= */

/* ----- Değişkenler (renk paleti & ölçüler) ----- */
:root {
  color-scheme: dark;
  --bg:            #120a0e;   /* ana arka plan: koyu, hafif bordo tonlu siyah */
  --bg-alt:        #190d12;   /* bölüm arka planı */
  --surface:       #1e1016;   /* kart yüzeyi */
  --surface-2:     #271219;
  --border:        rgba(255, 255, 255, .09);
  --text:          #f4e9ec;   /* ana metin: sıcak beyaz */
  --muted:         #ad97a0;   /* ikincil metin */
  --white:         #ffffff;

  /* Vurgu: logodaki bordo tonları (koyu zeminde parlak) */
  --accent:        #e8455f;   /* parlak bordo / kırmızı */
  --accent-2:      #b3304c;   /* bordo */
  --gold:          #d9a441;
  --gradient:      linear-gradient(135deg, #d23b5b 0%, #7e1a33 100%);
  --gradient-soft: linear-gradient(135deg, rgba(232,69,95,.16), rgba(126,26,51,.10));

  /* Footer (en koyu kontrast) */
  --dark:          #0c0609;

  --radius:        18px;
  --radius-sm:     12px;
  --shadow:        0 20px 50px -24px rgba(0, 0, 0, .75);
  --shadow-hover:  0 30px 64px -20px rgba(0, 0, 0, .85);
  --maxw:          1180px;
  --header-h:      74px;
  --font:          'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Arapça (RTL) için font ayarı */
html[dir="rtl"] body { font-family: 'Cairo', var(--font); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* =========================================================
   Butonlar
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(110, 27, 52, .5);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(90, 18, 40, .6); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); background: var(--gradient-soft); transform: translateY(-3px); }

.btn--whatsapp {
  background: #25d366;
  color: #fff;
}
.btn--whatsapp:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -10px rgba(37, 211, 102, .6); }
.btn__icon { flex-shrink: 0; }
.wa-icon { display: block; }

.btn--small { padding: 9px 18px; font-size: .85rem; }
.btn--block { width: 100%; }

/* =========================================================
   Header / Menü
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(18, 10, 14, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .7);
  border-bottom-color: var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* Logo (görsel) */
.logo { display: inline-flex; align-items: center; }
.logo__img { height: 40px; width: auto; }
.logo__img--footer { height: 44px; background: #fff; padding: 6px 10px; border-radius: 10px; }

/* Nav */
.nav__list { display: flex; gap: 6px; }
.nav__link {
  position: relative;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s ease, background .2s ease;
}
.nav__link:hover, .nav__link.active { color: var(--accent); background: var(--gradient-soft); }

.header__actions { display: flex; align-items: center; gap: 12px; }

/* Dil seçici */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  font-family: inherit; font-weight: 600; font-size: .85rem;
  cursor: pointer;
  transition: border-color .2s ease;
}
.lang__btn:hover { border-color: var(--accent); }
.lang__flag { font-size: 1.05rem; line-height: 1; flex-shrink: 0; }
.lang__menu {
  position: absolute;
  top: calc(100% + 8px); right: 0;
  min-width: 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
html[dir="rtl"] .lang__menu { right: auto; left: 0; }
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__item {
  width: 100%; text-align: left; text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  background: none; border: none; color: var(--muted);
  font-family: inherit; font-size: .9rem; font-weight: 500;
  padding: 9px 12px; border-radius: 8px; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
html[dir="rtl"] .lang__item { text-align: right; }
.lang__item:hover, .lang__item.active { background: var(--gradient-soft); color: var(--accent); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 42px; height: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.hamburger span {
  width: 20px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .3s ease, opacity .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  overflow: hidden;
  background: radial-gradient(1100px 520px at 80% -10%, rgba(232,69,95,.10), transparent 60%),
              linear-gradient(180deg, #1a0c12 0%, var(--bg) 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .22;
}
.hero__glow--1 { width: 480px; height: 480px; background: #9e2a4a; top: -120px; left: -80px; }
.hero__glow--2 { width: 520px; height: 520px; background: #6e1b34; bottom: -160px; right: -100px; opacity: .18; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
}

.badge {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--gradient-soft);
  color: var(--accent);
  font-size: .82rem; font-weight: 600;
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero__desc { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-size: 1.8rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { font-size: .85rem; color: var(--muted); }

/* Hero görsel / yüzen kartlar */
.hero__visual { position: relative; height: 420px; }
.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.float-card--main {
  inset: 30px 40px 30px 40px;
  padding: 22px;
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 100%);
}
.float-card__bar { width: 60%; height: 10px; border-radius: 6px; background: var(--gradient); margin-bottom: 18px; }
.float-card__lines span { display: block; height: 9px; border-radius: 6px; background: rgba(255,255,255,.12); margin-bottom: 11px; }
.float-card__lines span:nth-child(2) { width: 85%; }
.float-card__lines span:nth-child(3) { width: 60%; }
.float-card__blocks { display: flex; gap: 12px; margin-top: 22px; }
.float-card__blocks div { flex: 1; height: 70px; border-radius: 12px; background: var(--gradient-soft); border: 1px solid var(--border); }

.float-card--mini { padding: 16px; }
.float-card--mini-1 { width: 150px; top: -10px; right: -10px; animation-delay: .8s; }
.float-card--mini-2 { width: 160px; bottom: -10px; left: -14px; animation-delay: 1.6s; }
.mini__circle { width: 34px; height: 34px; border-radius: 50%; background: var(--gradient); margin-bottom: 12px; }
.mini__lines span { display: block; height: 8px; border-radius: 5px; background: rgba(255,255,255,.14); margin-bottom: 8px; }
.mini__lines span:nth-child(2) { width: 70%; }
.mini__chart { display: flex; align-items: flex-end; gap: 8px; height: 56px; }
.mini__chart span { flex: 1; border-radius: 6px 6px 0 0; background: var(--gradient); }
.mini__chart span:nth-child(1) { height: 40%; }
.mini__chart span:nth-child(2) { height: 70%; }
.mini__chart span:nth-child(3) { height: 50%; }
.mini__chart span:nth-child(4) { height: 90%; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* =========================================================
   Bölüm genel (section) yapısı
   ========================================================= */
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section__title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.section__sub { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }

.grid { display: grid; gap: 24px; }
.grid--services { grid-template-columns: repeat(4, 1fr); }
.grid--portfolio { grid-template-columns: repeat(3, 1fr); }
.grid--why { grid-template-columns: repeat(3, 1fr); }
.grid--process { grid-template-columns: repeat(4, 1fr); }

/* =========================================================
   Hizmet kartları
   ========================================================= */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(232,69,95,.45); }
.service-card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.service-card__title { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.service-card__desc { color: var(--muted); font-size: .92rem; margin-bottom: 20px; flex: 1; }

/* =========================================================
   Referans / Portfolyo kartları
   ========================================================= */
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 12px 34px -22px rgba(0,0,0,.7);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(232,69,95,.35);
  border-color: rgba(232,69,95,.5);
}
/* Referans filtre sekmeleri */
.tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 40px;
}
.tab {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: inherit; font-weight: 600; font-size: .9rem;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.tab:hover { color: var(--accent); border-color: var(--accent); }
.tab.active { background: var(--gradient); color: #fff; border-color: transparent; }

/* Kart görseli (kare 1:1 görsellere göre) */
.portfolio-card__img {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.portfolio-card__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.portfolio-card:hover .portfolio-card__photo { transform: scale(1.04); }
.portfolio-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.portfolio-card__cat { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.portfolio-card__title { font-size: 1.2rem; font-weight: 700; }
.portfolio-card__desc { color: var(--muted); font-size: .92rem; }
.portfolio-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.tag {
  font-size: .75rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  color: #fff;
}
.portfolio-card__link {
  align-self: flex-start;
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: .9rem; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s ease;
}
.portfolio-card__link::after { content: "→"; transition: transform .2s ease; }
html[dir="rtl"] .portfolio-card__link::after { content: "←"; }
.portfolio-card__link:hover { gap: 11px; }

/* =========================================================
   Neden Araf Media
   ========================================================= */
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex; gap: 16px; align-items: flex-start;
  box-shadow: 0 10px 30px -26px rgba(90,18,40,.4);
  transition: transform .3s ease, border-color .3s ease;
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(232,69,95,.45); }
.why-card__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff; font-size: 1.2rem; font-weight: 800;
}
.why-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 5px; }
.why-card__desc { color: var(--muted); font-size: .9rem; }

/* =========================================================
   Çalışma süreci
   ========================================================= */
.process-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: 0 10px 30px -26px rgba(90,18,40,.4);
  transition: transform .3s ease, box-shadow .3s ease;
}
.process-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.process-card__num {
  font-size: 2.4rem; font-weight: 800; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.process-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.process-card__desc { color: var(--muted); font-size: .9rem; }

/* =========================================================
   Hakkımızda
   ========================================================= */
.about__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about__visual { position: relative; }
.about__photo {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.about__badge {
  position: absolute; right: -18px; bottom: -18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
html[dir="rtl"] .about__badge { right: auto; left: -18px; }
.about__badge-num { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.about__badge-text { font-size: .82rem; color: var(--muted); }
.about__content .section__eyebrow { display: inline-block; }
.about__content .section__title { text-align: left; }
html[dir="rtl"] .about__content .section__title { text-align: right; }
.about__text { color: var(--muted); margin: 16px 0; }
.about__content .btn { margin-top: 14px; }

/* =========================================================
   İletişim / Teklif formu
   ========================================================= */
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__intro .section__title, .contact__intro .section__eyebrow, .contact__intro .section__sub { text-align: left; }
html[dir="rtl"] .contact__intro .section__title,
html[dir="rtl"] .contact__intro .section__sub { text-align: right; }
.contact__intro .section__head { margin: 0; }
.contact__list { margin: 28px 0; display: flex; flex-direction: column; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.contact__ico {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  color: var(--accent);
}
.contact__list a:hover { color: var(--accent); }

.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.contact__form .btn { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit; font-size: .95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,69,95,.22);
}
.field textarea { resize: vertical; }
.field select option { background: #1e1016; color: var(--text); }
.form__success {
  grid-column: 1 / -1;
  background: rgba(37,211,102,.14);
  border: 1px solid rgba(37,211,102,.45);
  color: #5be38c;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: .92rem;
  text-align: center;
}

/* =========================================================
   Footer (koyu bordo — premium kontrast)
   ========================================================= */
.footer { background: var(--dark); color: #f3e8ec; border-top: 1px solid var(--border); padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.footer__about { color: #d6bcc5; font-size: .92rem; margin: 16px 0 20px; max-width: 320px; }
.footer__social { display: flex; gap: 10px; }
.social {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  font-size: .8rem; font-weight: 700; color: #e7cdd5;
  transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease;
}
.social:hover { color: #fff; background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-3px); }
.footer__col h4 { font-size: 1rem; margin-bottom: 18px; color: #fff; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a, .footer__col span { color: #cdb2bb; font-size: .92rem; transition: color .2s ease; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer__bottom p { color: #b89aa3; font-size: .88rem; text-align: center; }

/* =========================================================
   WhatsApp yüzen buton
   ========================================================= */
.whatsapp-float {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  border-radius: 50%;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  z-index: 900;
  transition: transform .25s ease;
  animation: pulse 2.4s ease-in-out infinite;
}
html[dir="rtl"] .whatsapp-float { right: auto; left: 24px; }
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 14px 30px -8px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.4); }
  50% { box-shadow: 0 14px 30px -8px rgba(37,211,102,.6), 0 0 0 14px rgba(37,211,102,0); }
}

/* =========================================================
   Proje detay modal
   ========================================================= */
.modal {
  position: fixed; inset: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal.open { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(5,2,3,.72); backdrop-filter: blur(5px); }
.modal__box {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(20px) scale(.98);
  transition: transform .3s ease;
}
.modal.open .modal__box { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px;
  border: none; border-radius: 50%;
  background: rgba(30,16,22,.9);
  border: 1px solid var(--border);
  color: var(--text); font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
html[dir="rtl"] .modal__close { right: auto; left: 14px; }
.modal__close:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }
.modal__img {
  background-color: var(--bg-alt);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.modal__photo {
  display: block;
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
}
.modal__body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px; }
.modal__title { font-size: 1.5rem; font-weight: 800; }
.modal__desc { color: var(--muted); }
.modal__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* =========================================================
   Scroll reveal animasyonu (JS ile tetiklenir)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .grid--services { grid-template-columns: repeat(2, 1fr); }
  .grid--portfolio { grid-template-columns: repeat(2, 1fr); }
  .grid--process { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 340px; max-width: 460px; margin-top: 20px; }
  .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  /* Mobil menü */
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(18,10,14,.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 30px -18px rgba(0,0,0,.6);
    transform: translateY(-130%);
    transition: transform .35s ease;
    padding: 16px 24px 24px;
  }
  .nav.open { transform: translateY(0); }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { display: block; padding: 12px 14px; }
  .hamburger { display: flex; }
  .section { padding: 72px 0; }
  .grid--why { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
}

@media (max-width: 540px) {
  .grid--services, .grid--portfolio, .grid--process { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .container { padding: 0 18px; }
}

/* =========================================================
   İÇ SAYFA BAŞLIĞI (page-head) & HİZMET DETAY
   ========================================================= */
.page-head {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 56px;
  background: var(--dark);
  color: #fff;
}
.page-head .hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-head__inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.page-head__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; line-height: 1.12; margin: 14px 0 0;
  color: #fff;
}
.page-head__sub { margin: 16px auto 0; color: #e7d6dc; font-size: 1.05rem; max-width: 620px; }
.page-head .section__eyebrow { color: #fff; }

.service-detail { max-width: 760px; margin: 0 auto; text-align: center; }
.service-detail__icon { font-size: 3.4rem; line-height: 1; margin-bottom: 18px; }
.service-detail__desc { font-size: 1.15rem; color: var(--muted); margin-bottom: 28px; line-height: 1.7; }
.service-detail .hero__actions { justify-content: center; }

.section__cta { display: flex; justify-content: center; margin-top: 44px; }

/* =========================================================
   ÇALIŞILAN MARKALAR — sonsuz akan logo şeridi
   ========================================================= */
.clients { padding: 44px 0 48px; background: var(--surface); border-bottom: 1px solid var(--border); }
.clients__eyebrow {
  text-align: center; margin: 0 0 26px;
  color: var(--muted); font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.4px;
}
.clients__marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.clients__track {
  display: flex; align-items: center; width: max-content;
  animation: clients-scroll 38s linear infinite;
}
.clients__marquee:hover .clients__track { animation-play-state: paused; }
.clients__item {
  flex: 0 0 auto;
  margin: 0 18px;
  display: flex; align-items: center; justify-content: center;
}
/* Her logo açık renkli bir kart içinde -> koyu logolar da net görünür */
.clients__card {
  box-sizing: border-box;
  width: 220px; height: 130px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 28px;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.clients__logo {
  max-height: 100%; max-width: 100%; width: auto; height: auto;
  object-fit: contain;
  transition: transform .25s ease;
}
.clients__card:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,.4);
  border-color: var(--accent);
}
.clients__card:hover .clients__logo {
  transform: scale(1.08);
}
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
html[dir="rtl"] .clients__track { animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) {
  .clients__track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* =========================================================
   VİDEO REFERANSLARI (kart oynat ikonu + modal oynatıcı)
   ========================================================= */
.portfolio-card__play {
  position: absolute; inset: 0; margin: auto;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(110, 27, 52, .88); color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  transition: transform .2s ease, background .2s ease;
  pointer-events: none;
}
.portfolio-card__play svg { margin-left: 3px; }
.portfolio-card:hover .portfolio-card__play { transform: scale(1.12); background: var(--accent, #c0392b); }
.portfolio-card__badge {
  position: absolute; top: 10px;
  inset-inline-start: 10px;
  background: #ff0033; color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .4px;
  padding: 4px 9px; border-radius: 6px; text-transform: uppercase;
}

.modal__video { background: #000; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.modal__video-frame {
  position: relative; width: 100%;
  aspect-ratio: 16 / 9;
}
.modal__video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__video--short .modal__video-frame {
  aspect-ratio: 9 / 16;
  max-width: 340px; max-height: 64vh;
  margin: 0 auto;
}

