:root {
  --red: #C0392B;
  --red-light: #E8341C;
  --red-glow: rgba(192,57,43,0.22);
  --red-muted: rgba(192,57,43,0.10);
  --white: #FFFFFF;
  --off-white: #F7F5F3;
  --dark: #111111;
  --dark2: #1A1A1A;
  --grey: #6B7280;
  --grey-light: #E5E7EB;
  --font-main: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-h: 68px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-red: 0 8px 40px rgba(192,57,43,0.30);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--dark); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.07);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 36px;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
/* Logo */
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 42px; object-fit: contain; display: block; }
.logo-fallback {
  font-family: var(--font-main); font-weight: 800; font-size: 1.3rem;
  color: var(--dark);
}
.logo-fallback span { color: var(--red); }

/* Nav links — floating over hero */
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.90rem; font-weight: 500;
  color: var(--dark); opacity: 0.72;
  transition: opacity 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { opacity: 1; color: var(--red); }
.nav-cta {
  background: var(--red) !important; color: #fff !important;
  opacity: 1 !important; padding: 9px 22px;
  border-radius: 50px; font-weight: 600; font-size: 0.88rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-light) !important; transform: translateY(-1px); box-shadow: var(--shadow-red); }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 620px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #f9f8f7;
}
#mesh-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%; z-index: 0;
  display: block;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 22px; padding: 0 24px;
  max-width: 700px;
}

/* Mini rotating logo */
.mini-logo-wrap {
  position: relative; width: 130px; height: 130px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.mini-logo {
  width: 96px; height: 96px; object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(192,57,43,0.35));
  transition: filter 0.3s;
  transform-origin: center center;
}
/* Clockwork rotation artık JS ile kontrol ediliyor (main.js) */
.mini-logo-wrap:hover .mini-logo {
  filter: drop-shadow(0 6px 24px rgba(192,57,43,0.75));
}

@keyframes ring-pulse {
  0%,100% { transform: scale(1); opacity: 0.30; }
  50%      { transform: scale(1.14); opacity: 0.65; }
}
.mini-logo-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(192,57,43,0.30);
  animation: ring-pulse 4s ease-in-out infinite;
}
.mini-logo-ring2 {
  position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(192,57,43,0.12);
  animation: ring-pulse 4s ease-in-out infinite 1.2s;
}
.mini-logo-ring3 {
  position: absolute; inset: -28px; border-radius: 50%;
  border: 0.5px solid rgba(192,57,43,0.06);
  animation: ring-pulse 4s ease-in-out infinite 2.4s;
}

/* Hero text — sized down, proportional */
.hero-title {
  font-family: var(--font-main);
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 800; color: var(--dark);
  line-height: 1.15; letter-spacing: -0.025em;
}
.accent { color: var(--red-light); }
.hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  color: var(--grey); line-height: 1.75; max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  font-family: var(--font-main); font-weight: 700;
  font-size: 0.97rem; padding: 13px 30px;
  border-radius: 50px; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-2px); box-shadow: var(--shadow-red); }
.btn-primary.btn-large { font-size: 1.05rem; padding: 16px 38px; }
.btn-arrow { transition: transform 0.2s; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--dark);
  font-weight: 600; font-size: 0.97rem;
  padding: 13px 26px; border-radius: 50px;
  border: 1.5px solid rgba(0,0,0,0.18);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); background: var(--red-muted); }

.scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-dot {
  width: 5px; height: 5px; background: rgba(0,0,0,0.25);
  border-radius: 50%; animation: sb 2.2s ease-in-out infinite;
}
@keyframes sb { 0%,100%{transform:translateY(0);opacity:.4} 50%{transform:translateY(10px);opacity:.9} }

/* ── MINI MENU OVERLAY ── */
.mini-menu-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,8,8,0.93); backdrop-filter: blur(24px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mini-menu-overlay.open { opacity: 1; pointer-events: all; }
.mini-menu-close {
  position: absolute; top: 28px; right: 32px;
  background: none; border: 1.5px solid rgba(255,255,255,0.18);
  color: #fff; font-size: 1rem; width: 40px; height: 40px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.mini-menu-close:hover { border-color: var(--red); background: var(--red-muted); }
.mini-menu-content { text-align: center; max-width: 460px; padding: 32px; width: 100%; }
.mini-menu-content h2 { font-size: 1.8rem; color: #fff; margin-bottom: 10px; font-family: var(--font-main); }
.mini-menu-content > p { color: rgba(255,255,255,0.5); margin-bottom: 36px; }
.mini-menu-options { display: flex; flex-direction: column; gap: 14px; }
.mmopt {
  display: flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius); padding: 18px 22px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s; text-align: left;
}
.mmopt:hover { background: rgba(192,57,43,0.14); border-color: var(--red); transform: translateX(5px); }
.mmopt-icon { font-size: 1.6rem; }
.mmopt strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }
.mmopt span { color: rgba(255,255,255,0.45); font-size: 0.85rem; }

/* ── SECTIONS ── */
.section { padding: 96px 0; }
.section-dark { background: var(--dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 36px; }

.section-label {
  display: inline-block; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); background: var(--red-muted);
  padding: 5px 13px; border-radius: 50px; margin-bottom: 18px;
  border: 1px solid rgba(192,57,43,0.18);
}
.section-label.light { background: rgba(192,57,43,0.18); border-color: rgba(192,57,43,0.28); }
.section-title {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 800; line-height: 1.18;
  letter-spacing: -0.02em; margin-bottom: 14px;
}
.section-title.light { color: #fff; }
.section-sub { font-size: 1.05rem; color: var(--grey); max-width: 520px; line-height: 1.72; margin-bottom: 56px; }
.section-sub.light { color: rgba(255,255,255,0.5); }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(290px,1fr)); gap: 22px; }
.feat-card {
  background: #fff; border: 1px solid var(--grey-light);
  border-radius: var(--radius); padding: 34px 30px;
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.55s, transform 0.55s, box-shadow 0.3s, border-color 0.3s;
}
.feat-card.visible { opacity: 1; transform: translateY(0); }
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-red); border-color: rgba(192,57,43,0.28); }
.feat-icon { font-size: 2.2rem; margin-bottom: 18px; }
.feat-card h3 { font-family: var(--font-main); font-size: 1.08rem; font-weight: 700; margin-bottom: 9px; line-height: 1.3; }
.feat-card p { font-size: 0.92rem; color: var(--grey); line-height: 1.72; }

/* ── STATS ── */
.stats-bar {
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 38px 32px; flex-wrap: wrap;
}
.stat-item { display: flex; align-items: baseline; gap: 7px; padding: 0 44px; }
.stat-num { font-family: var(--font-main); font-size: 2.6rem; font-weight: 800; color: #fff; }
.stat-label { font-size: 0.87rem; color: rgba(255,255,255,0.72); font-weight: 500; }
.stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.22); flex-shrink: 0; }

/* ── STEPS ── */
.steps-wrap { display: flex; flex-direction: column; }
.step-item {
  display: flex; gap: 36px; padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  opacity: 0; transform: translateX(-28px);
  transition: opacity 0.5s, transform 0.5s;
}
.step-item.visible { opacity: 1; transform: translateX(0); }
.step-item:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-main); font-size: 3rem; font-weight: 900;
  color: var(--red); opacity: 0.3; line-height: 1;
  min-width: 72px; padding-top: 2px; transition: opacity 0.25s;
}
.step-item:hover .step-num { opacity: 0.75; }
.step-body h3 { font-family: var(--font-main); font-size: 1.22rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step-body p { font-size: 0.94rem; color: rgba(255,255,255,0.52); line-height: 1.75; max-width: 540px; }

/* ── EXPERTISE ── */
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); gap: 18px; }
.exp-card {
  background: #fafafa; border: 1px solid var(--grey-light);
  border-radius: var(--radius); padding: 30px 26px;
  position: relative; overflow: hidden;
  opacity: 0; transform: scale(0.96);
  transition: opacity 0.5s, transform 0.5s, box-shadow 0.3s, background 0.3s;
}
.exp-card.visible { opacity: 1; transform: scale(1); }
.exp-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; background: var(--red);
  transition: height 0.32s; border-radius: 0 0 3px 0;
}
.exp-card:hover::before { height: 100%; }
.exp-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(192,57,43,0.13); background: #fff5f4; }
.exp-icon { font-size: 2rem; margin-bottom: 14px; }
.exp-card h3 { font-family: var(--font-main); font-size: 1.05rem; font-weight: 700; margin-bottom: 7px; }
.exp-card p { font-size: 0.88rem; color: var(--grey); line-height: 1.65; }

/* ── CTA / FORM ── */
.cta-section { background: var(--dark2); }
.cta-box { max-width: 780px; margin: 0 auto; text-align: center; position: relative; }
.cta-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 360px; height: 180px;
  background: radial-gradient(ellipse, rgba(192,57,43,0.28) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title { font-family: var(--font-main); font-size: clamp(1.8rem,3.4vw,2.8rem); font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-sub { font-size: 1rem; color: rgba(255,255,255,0.5); margin-bottom: 44px; }

.contact-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-sm); padding: 13px 16px;
  color: #fff; font-size: 0.94rem; font-family: var(--font-body);
  outline: none; transition: border-color 0.2s, background 0.2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.28); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); background: rgba(192,57,43,0.07); }
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form .btn-primary { align-self: center; margin-top: 6px; }
.form-note { margin-top: 18px; font-size: 0.84rem; color: rgba(255,255,255,0.35); }
.form-note a { color: var(--red-light); }

/* ── FOOTER ── */
.footer { background: #080808; padding: 72px 0 36px; }
.footer-top { display: flex; gap: 56px; margin-bottom: 52px; flex-wrap: wrap; }
.footer-brand { flex: 0 0 260px; }
.footer-logo { height: 38px; object-fit: contain; margin-bottom: 14px; }
.footer-brand p { font-size: 0.90rem; color: rgba(255,255,255,0.38); line-height: 1.7; margin-bottom: 22px; }
.footer-social { display: flex; gap: 9px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: 0.78rem; font-weight: 700;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social a:hover { border-color: var(--red); color: #fff; background: var(--red); }
.footer-links { display: flex; gap: 44px; flex: 1; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 11px; min-width: 110px; }
.footer-col h4 { font-weight: 700; font-size: 0.82rem; color: #fff; margin-bottom: 3px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-col a, .footer-col span { font-size: 0.88rem; color: rgba(255,255,255,0.38); transition: color 0.2s; }
.footer-col a:hover { color: var(--red-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 0.80rem; color: rgba(255,255,255,0.22); }
.footer-bottom a { color: rgba(255,255,255,0.32); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--red-light); }

/* ── BLOG PREVIEW ── */
.blog-preview-section { background: var(--off-white); }
.blog-preview-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; margin-bottom: 44px;
}
.blog-preview-head .section-sub { margin-bottom: 0; }
.blog-all-btn { flex-shrink: 0; white-space: nowrap; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--grey-light);
  border-radius: var(--radius); padding: 30px 28px;
  text-decoration: none; color: var(--dark);
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s, transform 0.5s, box-shadow 0.3s, border-color 0.3s;
}
.blog-card.visible { opacity: 1; transform: translateY(0); }
.blog-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.blog-card:hover::after { transform: scaleX(1); }
.blog-card:hover {
  box-shadow: 0 12px 40px rgba(192,57,43,0.13);
  border-color: rgba(192,57,43,0.22);
  transform: translateY(-4px);
}
.blog-card-tag {
  display: inline-block; font-size: 0.71rem; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--red); background: var(--red-muted);
  padding: 4px 11px; border-radius: 50px;
  border: 1px solid rgba(192,57,43,0.15);
  width: fit-content;
}
.blog-card h3 {
  font-family: var(--font-main); font-size: 1.08rem; font-weight: 700;
  line-height: 1.35; color: var(--dark);
}
.blog-card p {
  font-size: 0.89rem; color: var(--grey); line-height: 1.70; flex: 1;
}
.blog-card-meta {
  display: flex; align-items: center; gap: 12px;
  padding-top: 8px; border-top: 1px solid var(--grey-light);
  margin-top: auto;
}
.blog-date { font-size: 0.80rem; color: var(--grey); }
.blog-read {
  font-size: 0.80rem; color: var(--red); font-weight: 600;
  margin-left: auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .step-item { flex-direction: column; gap: 8px; }
  .step-num { font-size: 2rem; min-width: auto; }
  .stat-item { padding: 0 18px; }
  .stat-divider { display: none; }
  .footer-top { flex-direction: column; gap: 36px; }
}
