/* ============================================================
   Emrah Ulaş — Dijital Pazarlama & Otomasyon
   Design tokens
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Public+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root{
  /* color */
  --bg: #0D141B;
  --surface: #131E28;
  --surface-2: #19242F;
  --surface-3: #1F2C38;
  --text: #EAF0F5;
  --muted: #8FA1B0;
  --muted-2: #5E717F;
  --accent: #E3A857;       /* sinyal altın — güven, performans */
  --accent-soft: rgba(227,168,87,0.14);
  --signal: #4FD8C4;       /* sinyal teal — mühendislik izi */
  --signal-soft: rgba(79,216,196,0.14);
  --border: rgba(234,240,245,0.09);
  --border-strong: rgba(234,240,245,0.16);

  /* type */
  --f-display: 'Space Grotesk', sans-serif;
  --f-body: 'Public Sans', sans-serif;
  --f-mono: 'JetBrains Mono', monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,h2,h3,h4{
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p{ margin: 0 0 1em; color: var(--muted); }

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow{
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before{
  content:"";
  width: 18px; height: 1px;
  background: var(--signal);
  display:inline-block;
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ============ NAV ============ */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(13,20,27,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 18px 32px;
  max-width: var(--maxw); margin:0 auto;
}
.brand{
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  display:flex; align-items:center; gap:10px;
  color: var(--text);
}
.brand-mark{
  width:30px; height:30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--signal), var(--accent));
  display:flex; align-items:center; justify-content:center;
  color: var(--bg);
  font-family: var(--f-mono); font-weight:700; font-size:13px;
}
.nav-links{
  display:flex; align-items:center; gap: 34px;
  list-style:none; margin:0; padding:0;
}
.nav-links a{
  font-size: 14.5px; color: var(--muted); font-weight:500;
  position:relative; padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a:hover{ color: var(--text); }
.nav-links a.active{ color: var(--text); }
.nav-links a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px;
  background: var(--signal);
}
.nav-links a.nav-cta{
  font-family: var(--f-mono);
  font-size: 13px;
  background: var(--accent);
  color: #1A1206;
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-links a.nav-cta:hover{ color: #1A1206; transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(227,168,87,0.5); }
.nav-toggle{ display:none; }

@media (max-width: 860px){
  .nav-links{
    position:fixed; inset: 64px 0 auto 0;
    background: var(--bg);
    flex-direction:column; align-items:flex-start;
    padding: 24px 32px; gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform .3s ease;
  }
  .nav-links.open{ transform: translateY(0); }
  .nav-cta{ display:none; }
  .nav-links .nav-cta-mobile{ display:inline-block; margin-top:6px; }
  .nav-toggle{
    display:flex; flex-direction:column; gap:5px;
    background:none; border:none; cursor:pointer; padding:6px;
  }
  .nav-toggle span{ width:22px; height:2px; background:var(--text); display:block; }
}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--f-body); font-weight:600; font-size:15px;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-primary{
  background: var(--accent); color:#1A1206;
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(227,168,87,0.55); }
.btn-ghost{
  background: transparent; color: var(--text); border-color: var(--border-strong);
}
.btn-ghost:hover{ border-color: var(--signal); color: var(--signal); }
.btn-whatsapp{
  background: var(--signal-soft); color: var(--signal); border-color: rgba(79,216,196,0.35);
}
.btn-whatsapp:hover{ background: var(--signal); color: var(--bg); }

/* ============ SIGNAL DIVIDER (signature element) ============ */
.signal-divider{
  width:100%; height: 64px;
  display:block;
  color: var(--border-strong);
}
.signal-divider path{
  fill:none; stroke: currentColor; stroke-width: 1.4;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  animation: draw 1.8s ease forwards;
}
@keyframes draw{ to{ stroke-dashoffset: 0; } }

/* ============ SECTION shells ============ */
section{ padding: 96px 0; }
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 40px); color: var(--text); }
.section-head p{ font-size: 17px; }

/* ============ HERO ============ */
.hero{
  padding: 76px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items:center;
}
.hero h1{
  font-size: clamp(34px, 4.6vw, 58px);
  color: var(--text);
  margin-bottom: 22px;
}
.hero h1 em{
  font-style:normal;
  background: linear-gradient(100deg, var(--signal), var(--accent));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-sub{ font-size: 18px; max-width: 480px; margin-bottom: 34px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 48px; }

.hero-stats{
  display:flex; gap: 34px; flex-wrap:wrap;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.hero-stat .num{
  font-family: var(--f-mono); color: var(--text); font-size: 15px; font-weight:600;
  display:block; margin-bottom: 4px;
}
.hero-stat .label{
  font-size: 13px; color: var(--muted-2); max-width: 160px; display:block;
}

.hero-photo-wrap{
  position:relative;
  display:flex; align-items:flex-end; justify-content:center;
  height: 100%;
}
.hero-photo-bg{
  position:absolute; inset: -6% -10% auto -10%;
  height: 112%;
  background:
    radial-gradient(circle at 50% 30%, var(--signal-soft), transparent 60%),
    radial-gradient(circle at 65% 75%, var(--accent-soft), transparent 55%);
  border-radius: 40px;
}
.hero-photo-ring{
  position:absolute; inset:0;
  border-radius: 40px;
}
.hero-photo{
  position:relative; z-index:2;
  max-height: 480px;
  width:auto; margin: 0 auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.45));
}
.hero-waveform{
  position:absolute; left:0; right:0; bottom: 6%;
  z-index:1; opacity:.55; color: var(--signal);
}

@media (max-width: 940px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-photo-wrap{ order:-1; max-width:360px; margin:0 auto 20px; }
  .hero-sub{ max-width:100%; }
}

/* ============ SERVICE MODULES ============ */
.modules{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.module-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color .25s ease, transform .25s ease;
}
.module-card:hover{ border-color: var(--border-strong); transform: translateY(-4px); }
.module-tag{
  font-family: var(--f-mono); font-size: 12px; color: var(--accent);
  letter-spacing:.06em;
  display:block; margin-bottom: 18px;
}
.module-card h3{ font-size: 22px; color: var(--text); margin-bottom: 12px; }
.module-card p{ font-size: 15.5px; margin-bottom: 20px; }
.module-list{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.module-list li{
  font-size: 14px; color: var(--muted); display:flex; gap:10px; align-items:flex-start;
}
.module-list li::before{
  content:""; width:6px; height:6px; border-radius:2px; background: var(--signal);
  margin-top:7px; flex:none;
}

@media (max-width: 760px){ .modules{ grid-template-columns:1fr; } }

/* ============ APPROACH / ABOUT ============ */
.split{
  display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items:center;
}
@media (max-width: 900px){ .split{ grid-template-columns:1fr; } }

.about-photo-frame{
  position:relative; border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px 28px 0;
  overflow:hidden;
}
.about-photo-frame img{ position:relative; z-index:2; margin:0 auto; }
.about-photo-frame .glow{
  position:absolute; inset:0;
  background: radial-gradient(circle at 50% 20%, var(--signal-soft), transparent 60%);
}
.about-photo-frame .frame-tag{
  position:absolute; top:18px; left:18px; z-index:3;
  font-family: var(--f-mono); font-size:11.5px; color: var(--signal);
  background: rgba(13,20,27,0.7); padding: 5px 10px; border-radius: 6px;
  border: 1px solid var(--border-strong);
}

.timeline{ display:grid; gap: 22px; margin-top: 28px; }
.timeline-item{ display:flex; gap: 16px; }
.timeline-dot{
  width:8px; height:8px; border-radius:50%; background: var(--accent);
  margin-top: 8px; flex:none;
}
.timeline-item h4{ font-size:16px; color:var(--text); margin-bottom:4px; }
.timeline-item p{ font-size:14.5px; margin-bottom:0; }

/* ============ STATS STRIP ============ */
.strip{
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.strip-grid{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.strip-item{ padding: 40px 0; }
.strip-item .icon{ color: var(--signal); margin-bottom: 14px; }
.strip-item h4{ font-size:17px; color:var(--text); margin-bottom:8px; }
.strip-item p{ font-size:14.5px; margin:0; }
@media (max-width: 760px){ .strip-grid{ grid-template-columns:1fr; } .strip-item{ padding:24px 0; } }

/* ============ CTA BAND ============ */
.cta-band{
  background: linear-gradient(120deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px;
  display:flex; align-items:center; justify-content:space-between; gap: 32px;
  flex-wrap:wrap;
}
.cta-band h3{ font-size: 26px; color:var(--text); margin-bottom:8px; }
.cta-band p{ margin:0; max-width: 420px; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ============ CONTACT ============ */
.contact-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items:flex-start;
}
@media (max-width: 900px){ .contact-grid{ grid-template-columns:1fr; } }

.contact-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
  padding: 30px;
}
.contact-row{
  display:flex; align-items:center; gap:16px;
  padding: 16px 0; border-bottom:1px solid var(--border);
}
.contact-row:last-child{ border-bottom:none; }
.contact-icon{
  width:42px; height:42px; border-radius:10px;
  background: var(--signal-soft); color: var(--signal);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.contact-row .label{ font-size:12.5px; color: var(--muted-2); font-family: var(--f-mono); text-transform:uppercase; letter-spacing:.05em; }
.contact-row .value{ font-size:15.5px; color: var(--text); font-weight:600; }

.form-field{ margin-bottom: 18px; }
.form-field label{
  display:block; font-family: var(--f-mono); font-size:12px; color: var(--muted);
  text-transform:uppercase; letter-spacing:.05em; margin-bottom:8px;
}
.form-field input, .form-field textarea{
  width:100%; background: var(--surface); border:1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 13px 16px; color: var(--text);
  font-family: var(--f-body); font-size:15px;
}
.form-field textarea{ resize:vertical; min-height:120px; }
.form-field input::placeholder, .form-field textarea::placeholder{ color: var(--muted-2); }
.form-note{ font-size:13px; color: var(--muted-2); margin-top:14px; }
.form-status{ font-size:14px; margin:14px 0 0; min-height:1em; }
.form-status-success{ color: var(--signal); }
.form-status-error{ color: var(--accent); }

/* ============ FOOTER ============ */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-grid{
  display:flex; justify-content:space-between; align-items:center; gap: 20px; flex-wrap:wrap;
}
.footer-grid p{ margin:0; font-size:13.5px; color: var(--muted-2); }
.footer-links{ display:flex; gap:22px; list-style:none; padding:0; margin:0; }
.footer-links a{ font-size:13.5px; color:var(--muted); }
.footer-links a:hover{ color: var(--signal); }

/* ============ PAGE HEADER (inner pages) ============ */
.page-head{ padding: 64px 0 20px; }
.page-head h1{ font-size: clamp(30px, 4vw, 46px); }
.page-head p{ font-size:17px; max-width:560px; }

/* reveal-on-scroll */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
