/* ============================================================
   Oğulcan Güler Company — koyu & premium
   Zemin: grafit-mavi | Vurgu: pirinç altını | Renk hikâyesi:
   portföydeki markaların kendi renkleri (sarı, çam, ceviz, teal)
   ============================================================ */

:root {
  --ink: #0d1014;          /* ana zemin */
  --graphite: #14181f;     /* yüzeyler */
  --graphite-2: #1a2029;   /* kabarık yüzeyler */
  --line: rgba(237, 232, 223, 0.09);
  --ivory: #ede8df;        /* ana metin */
  --muted: #8f96a3;        /* ikincil metin */
  --gold: #d8a44c;         /* pirinç altını */
  --gold-soft: rgba(216, 164, 76, 0.14);

  /* müşteri marka renkleri */
  --bf-yellow: #f7c600;
  --dpl-pine: #1e4032;
  --dpl-honey: #e8a13d;
  --bm-walnut: #7a5230;
  --bm-cream: #f0e6d8;
  --dis-teal: #0e7d83;
  --alk-blue: #1f5fa8;

  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;

  --radius: 14px;
  --wrap: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--ink); }

body {
  background: transparent;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold); color: var(--ink); }

/* ---------- kaydırmayla ilerleyen video arka plan ---------- */
.bg-video {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bg-video__overlay {
  position: absolute;
  inset: 0;
  /* metin okunurluğu için karartma; video alttan hafifçe hissedilir */
  background:
    linear-gradient(180deg, rgba(13, 16, 20, 0.82) 0%, rgba(13, 16, 20, 0.72) 45%, rgba(13, 16, 20, 0.86) 100%);
}

/* ---------- tipografi ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.u-gold { color: var(--gold); }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn--gold { background: var(--gold); color: #14100a; }
.btn--gold:hover { transform: translateY(-2px); background: #e6b660; }
.btn--ghost { border-color: var(--line); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--block { width: 100%; justify-content: center; }
.btn--nav { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(13, 16, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 9px;
  padding: 6px 8px;
  line-height: 1;
  letter-spacing: 0.02em;
}
.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo__text em { font-style: normal; font-weight: 600; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links > a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav__links > a:not(.btn):hover { color: var(--ivory); }
.nav__burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ivory);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- hero ---------- */
.hero { padding: 158px 24px 60px; overflow: hidden; }
.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero__sub { color: var(--muted); font-size: 1.08rem; margin: 22px 0 30px; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.hero__facts strong { color: var(--ivory); font-weight: 800; margin-right: 5px; }

/* --- imza öğesi: mini tarayıcı kartları --- */
.hero__stage { position: relative; height: 480px; }
.mini {
  position: absolute;
  width: 270px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease;
}
.mini__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: #232a35;
}
.mini__bar i { width: 8px; height: 8px; border-radius: 50%; background: #48505e; }
.mini__bar span {
  margin-left: 8px;
  flex: 1;
  font-size: 0.62rem;
  color: #9aa3b2;
  background: #171c24;
  border-radius: 999px;
  padding: 3px 10px;
  overflow: hidden;
  white-space: nowrap;
}
.mini__body { position: relative; height: 175px; padding: 20px; display: flex; flex-direction: column; justify-content: center; }

.mini--bf { top: 8%; left: 0; transform: rotate(-5deg); z-index: 3; animation: float 7s ease-in-out infinite; }
.mini--dpl { top: 32%; right: 0; transform: rotate(3.5deg); z-index: 2; animation: float 8s ease-in-out 0.8s infinite; }
.mini--dis { bottom: 2%; left: 12%; transform: rotate(-2deg); z-index: 1; animation: float 9s ease-in-out 1.6s infinite; }
.mini:hover { transform: rotate(0deg) scale(1.03); }

@keyframes float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -12px; }
}

/* marka kompozisyonları */
.mini--bf .mini__body, .shot--bf .shot__body { background: #0a0a0b; }
.bf-hazard {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--bf-yellow) 0 12px, #0a0a0b 12px 24px);
}
.bf-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--bf-yellow);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.bf-chip, .dpl-chip, .dis-chip {
  margin-top: 12px;
  align-self: flex-start;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 4px 10px;
  border-radius: 999px;
}
.bf-chip { color: #0a0a0b; background: var(--bf-yellow); }

.mini--dpl .mini__body, .shot--dpl .shot__body { background: var(--dpl-pine); }
.dpl-tag {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: var(--dpl-honey);
  border-radius: 50% 50% 50% 6px;
  margin-bottom: 12px;
}
.dpl-title { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: #f2ead9; }
.dpl-chip { color: var(--dpl-pine); background: var(--dpl-honey); }

.mini--dis .mini__body, .shot--sol .shot__body {
  background: linear-gradient(135deg, #f4f9f9 0%, #dceeee 100%);
}
.dis-title { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--dis-teal); }
.dis-chip { color: #fff; background: var(--dis-teal); }

.shot--alk .shot__body { background: linear-gradient(135deg, #f5f8fc 0%, #dde9f6 100%); }
.dis-title--alk { color: var(--alk-blue); }

.shot--bm .shot__body { background: linear-gradient(160deg, #2b1f14 0%, #4a3520 100%); }
.bm-title { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--bm-cream); }
.bm-line { display: block; width: 54px; height: 3px; margin-top: 12px; background: var(--bm-walnut); border-radius: 2px; }

/* ---------- müşteri şeridi ---------- */
.clients {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  background: rgba(20, 24, 31, 0.6);
}
.clients__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  white-space: nowrap;
}
.clients__track i { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- ortak bölüm düzeni ---------- */
.section { padding: 96px 24px; }
.section--alt { background: rgba(20, 24, 31, 0.55); border-block: 1px solid var(--line); }
.section__head { max-width: var(--wrap); margin: 0 auto 52px; }
.section__sub { color: var(--muted); margin-top: 16px; max-width: 38em; }

/* ---------- hizmetler ---------- */
.services {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  background: rgba(20, 24, 31, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.service:hover { transform: translateY(-4px); border-color: rgba(216, 164, 76, 0.45); }
.service__icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold);
  margin-bottom: 20px;
}
.service h3 { margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.service ul { display: grid; gap: 8px; }
.service li {
  font-size: 0.9rem;
  padding-left: 22px;
  position: relative;
}
.service li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
}

/* ---------- işler ---------- */
.works {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.work {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(26, 32, 41, 0.78);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.work:hover { transform: translateY(-5px); border-color: rgba(216, 164, 76, 0.5); }
.work__shot .shot__body {
  position: relative;
  height: 168px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.work__meta { padding: 18px 22px 22px; }
.work__meta h3 { font-size: 1.02rem; }
.work__meta p { color: var(--muted); font-size: 0.86rem; margin: 4px 0 12px; }
.work__go {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--gold);
}
.work:hover .work__go { text-decoration: underline; text-underline-offset: 3px; }

.work--next {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: 30px;
  background: transparent;
  border: 1.5px dashed rgba(216, 164, 76, 0.45);
}
.work--next__q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.25;
}

/* ---------- süreç ---------- */
.steps {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: rgba(20, 24, 31, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.step__no {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- iletişim ---------- */
.contact {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.channels { margin-top: 34px; display: grid; gap: 20px; }
.channels li { display: grid; gap: 3px; }
.channels__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.channels a { font-weight: 700; transition: color 0.15s ease; }
.channels a:hover { color: var(--gold); }
.channels a[aria-disabled="true"] { color: var(--muted); font-weight: 500; cursor: default; }

.contact__form {
  background: rgba(26, 32, 41, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 7px; }
.field label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ivory);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  transition: border-color 0.15s ease;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field input::placeholder, .field textarea::placeholder { color: #5c6470; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.contact__note { font-size: 0.82rem; color: var(--muted); text-align: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 24px; }
.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}
.footer__tag { color: var(--muted); font-size: 0.9rem; }
.footer__copy { color: #5c6470; font-size: 0.8rem; }

/* ---------- sabit whatsapp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
  transition: transform 0.18s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__stage { height: 430px; max-width: 520px; margin: 0 auto; width: 100%; }
  .services, .works, .steps { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    top: 61px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(13, 16, 20, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links > a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav__links > .btn { margin-top: 16px; justify-content: center; }
  .nav__burger { display: block; }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-top: 128px; }
  .hero__stage { height: 400px; }
  .mini { width: 225px; }
  .services, .works, .steps { grid-template-columns: 1fr; }
  .section { padding: 72px 20px; }
  .contact__form { padding: 24px 20px; }
  .logo__text { font-size: 0.94rem; }
}

/* ---------- hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .clients__track { animation: none; }
}
