/* Referdes — ortak stil (tüm sayfalar). Ürün/Edge sayfaları: edge.css, galeri: gallery.css.
   Renk ve yazı tipi jetonları :root içindedir; yeni bileşenler bunları kullanır. */

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --teal-dark:   #006b54;
  --teal-mid:    #1a9b77;
  --teal-light:  #5DCAA5;
  --teal-pale:   #a8e8d2;
  --bg:          #F6FAF8;
  --bg-2:        #EDF4F1;
  --bg-3:        #E4EFEA;
  --surface:     #FFFFFF;
  --border:      rgba(15,110,86,.14);
  --border-2:    rgba(15,110,86,.28);
  --text:        #12211D;
  --text-muted:  #4E6D66;
  --mono:        'Space Mono', monospace;
  --sans:        'DM Sans', sans-serif;
  --radius:      6px;
  --transition:  .35s cubic-bezier(.4,0,.2,1);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--teal-dark); border-radius: 2px; }

/* ─── HERO BLUEPRINT GRID (static, CSS-only) ────────────── */
#hero {
  background-image:
    repeating-linear-gradient(0deg,  rgba(15,110,86,.035) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(15,110,86,.035) 0 1px, transparent 1px 40px);
}

/* ─── NAV ────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}
nav.scrolled { border-color: var(--border-2); box-shadow: 0 1px 3px rgba(15,33,29,.06); }

.nav-logo {
  display: flex;
  align-items: center;
  height: 56px;
  flex-shrink: 0; /* logo hicbir zaman sikismamali, dar ekranlarda diger nav ogeleri daralsin/gizlensin */
}
/* tescilli logo olduğu gibi gösterilir: renk filtresi yok, üstte ve altta aynı dosya ve aynı boyut (contract/brand/README.md) */
.nav-logo-img, .footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-logo { display: flex; align-items: center; }


.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--teal-dark); }

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.lang-btn {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .3rem .65rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.lang-btn.active {
  background: var(--teal-dark);
  color: var(--surface);
}
.lang-btn:hover:not(.active) { color: var(--teal-dark); }

/* EDGE Panel Button */
.edge-btn {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  padding: .3rem .75rem;
  background: transparent;
  border: 1px solid var(--teal-dark);
  border-radius: 4px;
  color: var(--teal-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.edge-btn:hover {
  background: var(--teal-dark);
  color: var(--surface);
  border-color: var(--teal-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal-light);
  border-radius: 1px;
  transition: var(--transition);
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem clamp(1.5rem,5vw,4rem) 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 1.2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--teal-dark); }

/* ─── SECTIONS COMMON ────────────────────────────────────── */
section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 4rem);
}
.section-label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--teal-dark);
}
.section-title {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
.accent { color: var(--teal-dark); }

/* ─── HERO ───────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-title {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin-bottom: 1.8rem;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp .45s ease-out forwards;
}
.hero-title .line2 { color: var(--teal-mid); display: block; }
.hero-sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.8rem;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp .45s ease-out forwards;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp .45s ease-out forwards;
}
.btn-primary {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  padding: .8rem 1.8rem;
  background: var(--teal-dark);
  color: var(--surface);
  border: 1px solid var(--teal-dark);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform .2s;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover { background: var(--teal-mid); border-color: var(--teal-mid); transform: translateY(-2px); }
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  padding: .8rem 1.8rem;
  background: transparent;
  color: var(--teal-dark);
  border: 1px solid var(--teal-dark);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition), transform .2s;
}
.btn-ghost:hover { background: var(--bg-2); border-color: var(--border-2); transform: translateY(-2px); }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.5rem, 5vw, 4rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeIn .45s .15s ease-out forwards;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: var(--teal-dark);
}


/* ─── SERVICES ───────────────────────────────────────────── */
#services {
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 3.5rem;
}
.service-card {
  background: var(--bg-2);
  padding: 2.2rem 2rem;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--teal-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.service-card:hover { background: var(--bg-3); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.4rem;
  color: var(--teal-mid);
}
.service-icon svg { width: 100%; height: 100%; }
.service-name {
  font-family: var(--mono);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--teal-dark);
  margin-bottom: .8rem;
}
.service-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.service-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .1em;
  color: var(--teal-dark);
  border: 1px solid var(--teal-dark);
  border-radius: 2px;
  padding: .2rem .5rem;
}

/* ─── PROCESS ────────────────────────────────────────────── */
#process {
  background: var(--bg-2);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 3.5rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border-2);
}
.step {
  padding: 0 1.5rem 2rem;
  position: relative;
  text-align: center;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--teal-dark);
  background: var(--bg-2);
  color: var(--teal-dark);
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  position: relative;
  z-index: 1;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.step:hover .step-num { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--surface); }
.step-title {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .06em;
  margin-bottom: .5rem;
}
.step-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
#about {
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-top: 3rem;
}
.about-text p {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.about-text p strong { color: var(--text); font-weight: 500; }
.tech-stack {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.tech-chip {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .08em;
  padding: .3rem .7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
}
.tech-chip:hover { border-color: var(--teal-dark); color: var(--teal-dark); }
.about-visual {
  position: relative;
}
.about-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--teal-dark);
  border-radius: 8px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}
.founder-name {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .2rem;
}
.founder-title {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 500;
  color: var(--teal-dark);
  margin-bottom: 1.4rem;
}
.founder-detail {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .6rem;
}
.founder-detail svg {
  width: 14px;
  height: 14px;
  color: var(--teal-mid);
  flex-shrink: 0;
}
.founder-detail span {
  font-size: .82rem;
  color: var(--text-muted);
}
.founder-detail a { color: var(--teal-dark); transition: opacity var(--transition); }
.founder-detail a:hover { opacity: .75; }
.card-divider {
  height: 1px;
  background: var(--border);
  margin: 1.4rem 0;
}


/* ─── CONTACT ────────────────────────────────────────────── */
#contact {
  background: var(--bg-2);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: 3rem;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color var(--transition);
}
.contact-item:hover { border-color: var(--border-2); }
.contact-item-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: 4px;
  flex-shrink: 0;
  color: var(--teal-mid);
}
.contact-item-icon svg { width: 16px; height: 16px; }
.contact-item-label {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: .2rem;
}
.contact-item-val {
  font-size: .9rem;
  color: var(--text);
}
.contact-item-val a { color: var(--teal-dark); transition: opacity var(--transition); }
.contact-item-val a:hover { opacity: .75; }

/* Form */
.contact-form {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.2rem;
}
.form-row { margin-bottom: 1.2rem; }
.form-row label {
  display: block;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: .5rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .75rem 1rem;
  color: var(--text);
  font-family: var(--sans);
  font-size: .9rem;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--teal-mid); }
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%234E6D66' d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  width: 100%;
  padding: .9rem;
  background: var(--teal-dark);
  color: var(--surface);
  border: 1px solid var(--teal-dark);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  margin-top: .5rem;
}
.btn-submit:hover { background: var(--teal-mid); border-color: var(--teal-mid); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-status {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: .85rem;
  text-align: center;
  min-height: 1.2em;
}
.form-status.ok { color: var(--teal-dark); }
.form-status.err { color: #B23B3B; }
.form-honey { display: none; }

/* ─── SSS (AÇILIR-KAPANIR) ───────────────────────────────── */
.faq-list {
  margin-top: 2.5rem;
  max-width: 820px;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem .25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-family: var(--mono);
  font-size: .84rem;
  line-height: 1.5;
  color: var(--text);
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal-dark); }
/* sağdaki +/− işareti */
.faq-item summary::after {
  content: '+';
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--teal-mid);
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  content: '−';
  color: var(--teal-dark);
}
.faq-item[open] summary { color: var(--teal-dark); }
.faq-answer {
  padding: 0 .25rem 1.4rem;
  max-width: 68ch;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--text-muted);
}
.faq-answer strong { color: var(--text); font-weight: 500; }

/* ─── WHATSAPP YÜZER BUTON ───────────────────────────────── */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 150;                 /* navbar'ın üstünde, lightbox'ın altında */
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 14px rgba(15,33,29,.18);
  /* sayfa kaydırılana kadar görünmez */
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.9);
  transition: opacity .35s cubic-bezier(.4,0,.2,1),
              transform .35s cubic-bezier(.16,1,.3,1),
              visibility .35s,
              box-shadow .35s cubic-bezier(.4,0,.2,1);
}
.wa-float.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.wa-float:hover,
.wa-float:focus-visible {
  box-shadow: 0 6px 18px rgba(15,33,29,.22);
  transform: translateY(-2px);
}
.wa-float svg {
  width: 27px;
  height: 27px;
  fill: #fff;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: opacity .2s, visibility .2s; }
  .wa-float:hover, .wa-float:focus-visible { transform: none; }
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem clamp(1.5rem,5vw,4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-family: var(--sans);
  font-size: .8rem;
  color: var(--text-muted);
}
.footer-copy .sep { margin: 0 .5rem; opacity: .4; }
.footer-trademark {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--text-muted);
}
.footer-legal {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal:hover { color: var(--teal-dark); }

/* ─── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  /* eskiden .75s + 28px idi: her bolumde ayni yavas/dramatik "sablon animasyon paketi"
     hissi veriyordu (bos kutu -> icerik). Kisa ve az mesafeli tutulunca fark edilmeden
     is goruyor, tekrar eden bir "efekt" gibi degil dogal bir yuklenme gibi hissettiriyor. */
  transition: opacity .35s cubic-bezier(.4,0,.2,1), transform .35s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: .6; }
}

/* ─── LANGUAGE ISOLATION — prevent Turkish dotted-I in EN ── */
:lang(en) { text-transform: none; }
:lang(en) .nav-links a,
:lang(en) .section-label,
:lang(en) .service-name,
:lang(en) .service-tag,
:lang(en) .badge,
:lang(en) .scn-tag,
:lang(en) .crumb,
:lang(en) .lang-btn,
:lang(en) .stat-label { text-transform: uppercase; }


@media (max-width: 1060px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  /* "EDGE Paneli" is in the drawer (#mobile-nav) too; on narrow screens it would fight the logo for room */
  .nav-right .edge-btn { display: none; }
  .nav-right { gap: 1rem; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .contact-wrap { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
}
@media (max-width: 680px) {
  .form-2col { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost { width: 100%; text-align: center; }
}
