/* ===== Vid&Graf — kurumsal site stili ===== */

:root {
  --primary: #0075e9;
  --primary-dark: #005bb8;
  --primary-light: #eaf3ff;
  --text: #16181d;
  --text-muted: #5b6472;
  --bg: #ffffff;
  --bg-soft: #f6f9fd;
  --border: #e6ebf2;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(16, 24, 40, 0.08);
  --shadow-hover: 0 14px 34px rgba(16, 24, 40, 0.14);
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

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

section { padding: 96px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 16px; font-weight: 700; }

h2 { font-size: clamp(28px, 4vw, 40px); }

.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }

.section-head p { color: var(--text-muted); font-size: 17px; margin: 0; }

.text-muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-hover); transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; }
.brand img { height: 28px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--text); }
.main-nav a:hover { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(60% 60% at 85% 0%, var(--primary-light) 0%, rgba(234,243,255,0) 70%),
    var(--bg);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 { font-size: clamp(34px, 5vw, 54px); }
.hero .lead { font-size: 18px; color: var(--text-muted); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 36px; }
.hero-stats div strong { display: block; font-size: 26px; color: var(--primary); }
.hero-stats div span { font-size: 14px; color: var(--text-muted); }

.hero-visual {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background: linear-gradient(155deg, var(--primary) 0%, #4aa3ff 100%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.15), transparent 45%);
}
.hero-visual .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.play-btn::after {
  content: "";
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--primary);
  margin-left: 6px;
}

.hero-visual iframe,
.hero-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #000;
}
.hero-visual.has-video::before { display: none; }

/* ---------- Logos strip ---------- */
.trustbar { padding: 40px 0; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.trustbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.trustbar > .container > span { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; white-space: nowrap; }
.trustbar-items { display: flex; gap: 12px; flex-wrap: wrap; }
.trustbar-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px 9px 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.trustbar-chip svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 50%;
  padding: 4px;
  box-sizing: content-box;
}
.trustbar-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
  color: var(--primary);
}

/* ---------- Hizmetler ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: transparent; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 19px; }
.service-card p { color: var(--text-muted); font-size: 15px; margin: 0 0 18px; }
.service-card ul { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--text-muted); }
.service-card li { padding: 5px 0; display: flex; gap: 8px; align-items: flex-start; }
.service-card li::before { content: "✓"; color: var(--primary); font-weight: 700; }

/* ---------- Portfolyo ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.portfolio-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #d9e8ff 0%, #eef4ff 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.portfolio-thumb .placeholder-icon { color: var(--primary); opacity: 0.55; }
.portfolio-thumb .placeholder-icon svg { width: 44px; height: 44px; }

.portfolio-body { padding: 18px 20px 22px; }
.portfolio-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.portfolio-body h4 { font-size: 16px; margin: 0 0 4px; }
.portfolio-body p { font-size: 13px; color: var(--text-muted); margin: 0; }

.portfolio-note {
  text-align: center;
  margin-top: 36px;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 14px 18px;
}

/* ---------- Ekip ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card { text-align: center; }
.team-avatar {
  width: 108px; height: 108px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 30px;
}
.team-card h4 { margin: 0 0 2px; font-size: 17px; }
.team-card p { margin: 0; color: var(--text-muted); font-size: 14px; }

.about-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}
.about-block .hero-visual { aspect-ratio: 1/1; }
.about-block h2 { text-align: left; }

/* ---------- İletişim ---------- */
.contact-section { background: var(--bg-soft); }
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 { text-align: left; }
.contact-info p { color: var(--text-muted); margin-bottom: 28px; }

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-item .ci-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item strong { display: block; font-size: 14px; }
.contact-item span { font-size: 14px; color: var(--text-muted); }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.field textarea { min-height: 120px; resize: vertical; }

.form-msg { margin-top: 14px; font-size: 14px; padding: 12px 14px; border-radius: 9px; display: none; }
.form-msg.ok { display: block; background: #e8f8ee; color: #1a7d3a; }
.form-msg.err { display: block; background: #fdeceb; color: #b3261e; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, #0a5cc4 100%);
  color: #fff;
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto 28px; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-band .btn-outline:hover { background: #fff; color: var(--primary); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 26px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 280px; }
.footer-col h4 { font-size: 14px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); padding: 6px 0; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
}
.social-links svg { width: 16px; height: 16px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container, .about-block, .contact-wrap { grid-template-columns: 1fr; }
  .about-block .hero-visual, .hero-visual { order: -1; }
  .services-grid, .portfolio-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  section { padding: 64px 0; }
  .main-nav { position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column; padding: 30px 24px; gap: 22px; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .header-actions .btn-primary { padding: 10px 16px; font-size: 14px; }
  .services-grid, .portfolio-grid, .team-grid, .form-row, .footer-top { grid-template-columns: 1fr; }
  .cta-band { margin: 0; border-radius: 0; padding: 48px 24px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
}
