/* Caption Media — kurumsal light tema */
:root {
  --ink: #111111;
  --ink-soft: #333333;
  --accent: #3aa843;
  --navy: #1d2b36;
  --line: #e6e6e6;
  --bg: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* subtle diagonal line texture over the whole page */
.bg-lines {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(115deg, rgba(17,17,17,.025) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(-65deg, rgba(58,168,67,.03) 0 1px, transparent 1px 140px),
    #ffffff;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.script { font-family: 'Caveat', cursive; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* section headings */
.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  text-transform: uppercase; letter-spacing: .06em;
  font-weight: 300; text-align: center;
}
.section-title strong { font-weight: 700; }
.divider {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 14px auto 34px; max-width: 420px;
}
.divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #999); }
.divider span:last-child { background: linear-gradient(90deg, #999, transparent); }
.divider em { font-style: normal; color: var(--accent); font-size: 13px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo img { height: 34px; display: block; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  color: var(--ink); text-decoration: none; position: relative;
  font-weight: 600; font-size: 14px; letter-spacing: .12em;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--accent); transition: width .25s;
}
.main-nav a:hover::after { width: 100%; }
.lang-switch { display: flex; align-items: center; gap: 6px; color: #999; font-size: 13px; }
.lang-switch button {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: #999; letter-spacing: .08em; padding: 2px 3px;
}
.lang-switch button.active, .lang-switch button:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 64px; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 1fr;
  align-items: center; gap: 40px; min-height: 480px;
}
.hero-kicker {
  font-size: 14px; letter-spacing: .38em; color: #888;
  margin-bottom: 18px; font-weight: 500;
}
.hero-text h1 {
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 1.06; font-weight: 700; letter-spacing: .02em;
  text-transform: uppercase;
}
.hero-text h1 .accent { color: var(--accent); }
.hero-text .script {
  font-size: clamp(30px, 3.2vw, 44px);
  color: var(--ink-soft); margin-top: 16px; transform: rotate(-3deg);
  transform-origin: left center;
}
.hero-cta {
  display: inline-block; margin-top: 34px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600; letter-spacing: .2em;
  padding: 15px 38px; transition: background .25s, transform .25s;
}
.hero-cta:hover { background: var(--accent); transform: translateY(-2px); }

/* hero visual: orbiting rings + floating quote marks */
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 380px; align-items: center; }
.orbit { position: relative; width: 330px; height: 330px; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(17,17,17,.55); }
.orbit-ring.o1 { inset: 0; animation: spin 26s linear infinite; }
.orbit-ring.o2 { inset: 42px; border-color: rgba(58,168,67,.6); animation: spin-rev 18s linear infinite; }
.orbit-ring.o3 { inset: 92px; border-style: solid; border-width: 1px; border-color: rgba(17,17,17,.25); animation: spin 40s linear infinite; }
.orbit-core {
  position: absolute; inset: 128px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #33434f, var(--navy) 70%);
  box-shadow: 0 24px 46px rgba(29,43,54,.35);
  animation: float 5.5s ease-in-out infinite;
}
.orbit-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); top: 50%; left: 50%; margin: -7px; }
.orbit-dot.d1 { animation: orbit1 26s linear infinite; }
.orbit-dot.d2 { width: 10px; height: 10px; margin: -5px; background: var(--ink); animation: orbit2 18s linear infinite; }
.orbit-dot.d3 { width: 8px; height: 8px; margin: -4px; background: #9bd3a0; animation: orbit3 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes orbit1 { from { transform: rotate(0) translateX(165px); } to { transform: rotate(360deg) translateX(165px); } }
@keyframes orbit2 { from { transform: rotate(120deg) translateX(123px); } to { transform: rotate(-240deg) translateX(123px); } }
@keyframes orbit3 { from { transform: rotate(240deg) translateX(73px); } to { transform: rotate(600deg) translateX(73px); } }

.quote-mark {
  position: absolute; font-family: Georgia, serif; font-weight: 700;
  color: var(--accent); line-height: 1; user-select: none; z-index: 2;
}
.quote-mark.q1 { font-size: 110px; top: -6px; right: 8%; animation: float 6s ease-in-out infinite; }
.quote-mark.q2 { font-size: 60px; bottom: 4px; left: 6%; opacity: .35; animation: float 7s ease-in-out 1.2s infinite; }

/* ---------- mission ---------- */
.mission { padding: 48px 0; }
.mission-block { max-width: 880px; margin: 0 auto; text-align: center; }
.mission-block p {
  font-weight: 300; font-size: 18px; line-height: 1.9; color: var(--ink-soft);
  letter-spacing: .01em;
}

/* ---------- services ---------- */
.services { padding: 48px 0; }
.service-grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1020px; margin: 0 auto;
}
.service-grid li {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); background: #fff;
  padding: 22px 24px; min-height: 76px;
  font-size: 16.5px; font-weight: 500; letter-spacing: .04em;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.service-grid li:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 14px 26px rgba(0,0,0,.06); }
.service-grid li i {
  font-style: normal; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}

.network {
  margin: 40px auto 0; max-width: 1020px;
  background: #fff; border: 1px solid var(--line);
  padding: 40px 36px 36px; text-align: center; position: relative;
}
.network::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 4px; background: var(--accent);
}
.network-title { font-size: 14px; letter-spacing: .34em; color: var(--ink); margin-bottom: 24px; font-weight: 700; }
.network-tags {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.network-tags span {
  border: 1px solid #d9d9d9; padding: 12px 10px;
  font-size: 13.5px; font-weight: 500; letter-spacing: .06em; color: var(--ink-soft);
  background: #fff; transition: all .25s;
}
.network-tags span:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }

/* ---------- clients ---------- */
.clients { padding: 48px 0 32px; }
.brand-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 34px 26px; align-items: flex-start;
}
.brand-item {
  text-align: center;
  width: calc((100% - 4 * 26px) / 5); /* 5 sütun; eksik satır ortalanır */
}
.brand-logo-box {
  display: flex; align-items: center; justify-content: center;
  height: 92px; padding: 10px;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.brand-item:hover .brand-logo-box {
  border-color: var(--accent); transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(0,0,0,.07);
}
.brand-logo-box img {
  max-width: 130px; max-height: 70px;
  width: auto; height: auto; object-fit: contain;
}
/* logo dosyası bulunamazsa markanın baş harfi gösterilir */
.brand-logo-box.noimg::before {
  content: attr(data-initial);
  font-size: 34px; font-weight: 700; color: #c9c9c9;
}
.brand-item figcaption {
  margin-top: 10px; font-size: 12px; font-weight: 500;
  letter-spacing: .08em; color: #777; text-transform: uppercase;
  line-height: 1.4;
}

/* ---------- contact ---------- */
.contact { padding: 32px 0 64px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
#contact-form { display: flex; flex-direction: column; gap: 14px; max-width: 480px; }
#contact-form input, #contact-form textarea {
  font-family: inherit; font-size: 15px; letter-spacing: .06em;
  padding: 13px 15px; border: 1px solid #cfcfcf; background: #fff; color: var(--ink);
  outline: none; resize: vertical; text-transform: uppercase;
}
#contact-form input:focus, #contact-form textarea:focus { border-color: var(--accent); }
#contact-form ::placeholder { color: #9a9a9a; }
.char-counter { text-align: right; font-size: 12px; color: #999; margin-top: -8px; }
#contact-form button {
  align-self: flex-start;
  background: var(--ink); color: #fff; border: none; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: .18em;
  padding: 13px 38px; transition: background .2s;
}
#contact-form button:hover { background: var(--accent); }
#contact-form button:disabled { opacity: .6; cursor: wait; }
.form-status { font-size: 14px; letter-spacing: .04em; min-height: 20px; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #c0392b; }

.socials { display: flex; gap: 12px; margin: 26px 0 22px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--accent); transform: translateY(-3px); }

.contact-mail a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: .06em; }
.contact-mail a:hover { color: var(--accent); }
.contact-phone { margin-top: 12px; }
.contact-phone a { color: var(--ink-soft); text-decoration: none; font-size: 16px; letter-spacing: .04em; }
.contact-address { margin-top: 12px; font-size: 15px; color: var(--ink-soft); letter-spacing: .05em; text-transform: uppercase; max-width: 420px; line-height: 1.5; }

#map {
  width: 100%; height: 440px;
  border: 2px solid var(--ink);
  filter: grayscale(1) contrast(1.15);
}
.map-marker {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--ink);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0; text-align: center;
  font-size: 13px; letter-spacing: .12em; color: #888;
  background: #fff;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .contact-inner, .mission-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 46px; }
  .hero-text { text-align: center; }
  .hero-text .script { transform: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid li.wide { grid-column: span 2; }
  .network-tags { grid-template-columns: repeat(2, 1fr); }
  .brand-item { width: calc((100% - 2 * 26px) / 3); }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 20px; gap: 18px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .brand-item { width: calc((100% - 26px) / 2); }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid li.wide { grid-column: span 1; }
  .orbit { width: 260px; height: 260px; }
  .orbit-core { inset: 100px; }
  .quote-mark.q1 { font-size: 80px; }
}
