/* ===================================================================
   GreenDigitalStudio — styles.css
   Tema: editöryel, siyah zemin, yeşil→camgöbeği degrade
   =================================================================== */

:root {
  --bg: #070707;
  --bg-soft: #0d0d0d;
  --card: #141414;
  --border: #1f1f1f;
  --text: #ffffff;
  --muted: #9fb0aa;
  --muted-2: #8a9b95;
  --accent-1: #34d399;
  --accent-2: #06b6d4;
  --grad: linear-gradient(90deg, #34d399, #06b6d4);
  --grad-135: linear-gradient(135deg, #34d399, #06b6d4);
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 60px);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.02em; line-height: 1.0; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); width: 100%; }
.section { padding-block: clamp(60px, 10vw, 120px); }
.section-soft { background: var(--bg-soft); }
.label {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent-1); margin-bottom: 14px;
}
.grad-text {
  background: var(--grad); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.section-title { font-size: clamp(28px, 5vw, 48px); font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; padding: 14px 26px;
  border-radius: 10px; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-135); color: #04130d; box-shadow: 0 8px 30px -10px rgba(52,211,153,.5); }
.btn-primary:hover { box-shadow: 0 12px 36px -10px rgba(6,182,212,.6); }
.btn-ghost { border-color: #2c4a40; color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent-1); }

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7,7,7,.85); backdrop-filter: blur(12px); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.lang-btn {
  background: transparent; border: 1px solid #2c4a40; color: var(--text);
  border-radius: 20px; padding: 5px 14px; font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: var(--font-body); transition: border-color .2s;
}
.lang-btn:hover { border-color: var(--accent-1); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 4px; }
.hamburger span { width: 26px; height: 2px; background: var(--text); transition: .3s; }

/* ===================== HERO ===================== */
.hero {
  position: relative; min-height: 100vh; display: flex;
  flex-direction: column; justify-content: center; overflow: hidden;
}
.hero-scene { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 75% 8%, #0c3a2e 0%, transparent 55%),
    radial-gradient(100% 80% at 15% 100%, #06303a 0%, transparent 60%),
    #050505;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,7,7,.55), rgba(7,7,7,.45) 40%, rgba(7,7,7,.92)); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(30px); z-index: 1; pointer-events: none; }
.glow-1 { top: -120px; right: -90px; width: 420px; height: 420px;
  background: radial-gradient(circle, var(--accent-2), transparent 65%); opacity: .30; }
.glow-2 { bottom: -140px; left: -70px; width: 360px; height: 360px;
  background: radial-gradient(circle, var(--accent-1), transparent 65%); opacity: .22; }
.hero-grid-lines { position: absolute; inset: 0; z-index: 1; opacity: .15; pointer-events: none;
  background-image:
    linear-gradient(rgba(52,211,153,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52,211,153,.12) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
}
.hero-content { position: relative; z-index: 2; padding-block: 120px 40px; }
.hero-title { font-size: clamp(48px, 11vw, 120px); font-weight: 700; line-height: 1.1; }
.hero-title .line { display: block; padding-block: 0.04em; }
/* Degrade metinde harf üstü/altı kırpılmasını önle */
.hero-title .grad-text { padding-bottom: 0.12em; }
.hero-sub { color: var(--muted); max-width: 480px; margin-top: 22px; font-size: clamp(15px, 2vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.ticker { position: relative; z-index: 2; border-top: 1px solid var(--border);
  overflow: hidden; padding-block: 14px; }
.ticker-track { display: inline-flex; gap: 40px; white-space: nowrap; will-change: transform; padding-left: 40px; }
.ticker-track span { color: var(--muted-2); font-size: 12px; letter-spacing: 3px; }

/* ===================== HİZMETLER ===================== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 44px; }
.svc-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 26px; transition: transform .25s ease, border-color .25s ease; }
.svc-card:hover { transform: translateY(-4px); border-color: #2c4a40; }
.svc-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-135);
  margin-bottom: 16px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.svc-card h3 { font-size: 18px; margin-bottom: 8px; }
.svc-card p { color: var(--muted-2); font-size: 14px; }

/* ===================== İŞLER / GALERİ ===================== */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 44px; }
.work-item { aspect-ratio: 4/3; border-radius: 14px; position: relative; overflow: hidden;
  cursor: pointer; display: flex; align-items: flex-end; padding: 18px;
  background-size: cover; background-position: center;
  transition: transform .3s ease; }
/* Degrade placeholder zeminler (gerçek görsel gelince inline background-image ile değiştirin) */
.work-1 { background: linear-gradient(135deg, #0f766e, #065f6b); }
.work-2 { background: linear-gradient(135deg, #047857, #0e7490); }
.work-3 { background: linear-gradient(135deg, #065f46, #155e75); }
.work-4 { background: linear-gradient(135deg, #0d9488, #0369a1); }
.work-5 { background: linear-gradient(135deg, #059669, #0891b2); }
.work-6 { background: linear-gradient(135deg, #0e7490, #047857); }
.work-item::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,10,9,.75)); transition: opacity .3s; }
.work-item:hover { transform: scale(1.015); }
.work-tag { position: relative; z-index: 1; font-size: 13px; font-weight: 600;
  background: rgba(7,7,7,.5); border: 1px solid rgba(255,255,255,.15);
  padding: 6px 12px; border-radius: 20px; backdrop-filter: blur(4px); }

/* ===================== SÜREÇ ===================== */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 48px; }
.step { border-top: 2px solid; border-image: var(--grad) 1; padding-top: 18px; }
.step-num { font-family: var(--font-head); font-size: 14px; color: var(--accent-1); font-weight: 700; }
.step h3 { font-size: 20px; margin: 8px 0; }
.step p { color: var(--muted-2); font-size: 14px; }

/* ===================== NEDEN BİZ / RAKAMLAR ===================== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 48px; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(40px, 7vw, 68px); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.benefits { margin-top: 44px; display: grid; gap: 12px; }
.benefits li { padding-left: 28px; position: relative; color: var(--muted); }
.benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-1); font-weight: 700; }

/* ===================== SEKTÖRLER ===================== */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 44px; }
.sector { border: 1px solid var(--border); border-radius: 12px; padding: 22px;
  font-weight: 600; background: var(--card); transition: border-color .25s, transform .25s; }
.sector:hover { border-color: #2c4a40; transform: translateY(-3px); }

/* ===================== İLETİŞİM ===================== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-sub { color: var(--muted); margin-top: 14px; }
.contact-list { margin-top: 26px; display: grid; gap: 12px; color: var(--muted); }
.contact-list .ci { color: var(--accent-1); margin-right: 6px; }
.contact-list a:hover { color: var(--text); }
.socials { display: flex; gap: 18px; margin-top: 26px; }
.socials a { color: var(--accent-1); font-size: 14px; font-weight: 600; }
.socials a:hover { opacity: .8; }
.contact-form { display: grid; gap: 14px; background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; }
.field { background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px; color: var(--text); font-family: var(--font-body); font-size: 15px; resize: vertical; }
.field::placeholder { color: #5f6f69; }
.field:focus { outline: none; border-color: var(--accent-1); }
.contact-form .btn { justify-content: center; }

/* ===================== FOOTER ===================== */
.footer { border-top: 1px solid var(--border); padding-block: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted-2); font-size: 13px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 820px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--bg-soft); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 28px; padding: 40px; transform: translateX(100%);
    transition: transform .35s ease; border-left: 1px solid var(--border);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 20px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  /* Mobilde video yerine CSS sahnesi/poster (performans) */
  .hero-bg { display: none; }
}
@media (max-width: 600px) {
  .hero-content { padding-block: 110px 30px; }
  .ticker-track span { font-size: 11px; }
  .nav-inner { padding-block: 14px; }
}

/* ===================== ERİŞİLEBİLİRLİK ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; }
}
