/* ═══════════════════════════════════════════════════════════════
   ERDIL MEDIA — Yazılım & Teknoloji Katmanı
   yazilim.php sayfası + ana sayfa yazılım vurguları
   ═══════════════════════════════════════════════════════════════ */

:root {
  --yz-1: #12c2e9;
  --yz-2: #c471ed;
  --yz-3: #f64f59;
  --yz-card: rgba(255, 255, 255, .035);
  --yz-line: rgba(255, 255, 255, .09);
}

/* ─────────────── Hero ─────────────── */

.yz-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 170px 0 110px;
  background: #0a0a12 url('../img/yazilim-hero.svg') center/cover no-repeat;
  overflow: hidden;
}

.yz-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(to bottom, rgba(17, 18, 21, 0), #111215);
  pointer-events: none;
}

.yz-hero .container { position: relative; z-index: 2; }

.yz-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  margin-bottom: 26px;
  border: 1px solid var(--yz-line);
  border-radius: 50px;
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.yz-kicker i { font-size: 13px; }

.yz-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yz-1);
  box-shadow: 0 0 0 0 rgba(18, 194, 233, .7);
  animation: yzPulse 2s infinite;
}

@keyframes yzPulse {
  70%  { box-shadow: 0 0 0 10px rgba(18, 194, 233, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 194, 233, 0); }
}

.yz-hero h1 {
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.yz-hero p.lead-txt {
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.75;
  color: rgba(255, 255, 255, .72);
  max-width: 640px;
  margin-bottom: 36px;
}

.yz-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ─────────────── Butonlar ─────────────── */

.yz-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .4px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease, background .3s ease, border-color .3s ease;
}

.yz-btn-grad {
  background: linear-gradient(120deg, var(--yz-1), var(--yz-2), var(--yz-3));
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 10px 30px rgba(96, 130, 233, .28);
}

.yz-btn-grad:hover {
  color: #fff;
  background-position: 100% 50%;
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(96, 130, 233, .42);
}

.yz-btn-ghost {
  border-color: var(--yz-line);
  background: rgba(255, 255, 255, .03);
  color: #fff;
}

.yz-btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .07);
  transform: translateY(-3px);
}

/* ─────────────── İstatistik şeridi ─────────────── */

.yz-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  padding: 34px 0 0;
  border-top: 1px solid var(--yz-line);
}

.yz-stats .num {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.yz-stats .lbl {
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

/* ─────────────── Bölüm başlıkları ─────────────── */

.yz-sec-head { margin-bottom: 60px; }

.yz-sec-head h6 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 14px;
}

.yz-sec-head h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1.2;
}

.yz-sec-head p {
  margin-top: 16px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.8;
  max-width: 720px;
}

/* ─────────────── Hizmet kartları ─────────────── */

.yz-grid {
  display: grid;
  gap: 24px;
}

.yz-grid-3 { grid-template-columns: repeat(3, 1fr); }
.yz-grid-2 { grid-template-columns: repeat(2, 1fr); }

.yz-card {
  position: relative;
  height: 100%;
  padding: 36px 32px;
  border: 1px solid var(--yz-line);
  border-radius: 18px;
  background: var(--yz-card);
  overflow: hidden;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), border-color .45s ease, box-shadow .45s ease, background .45s ease;
}

.yz-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--yz-1), var(--yz-2), var(--yz-3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.yz-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .45);
}

.yz-card:hover::before { transform: scaleX(1); }

.yz-card .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(18, 194, 233, .16), rgba(196, 113, 237, .16));
  border: 1px solid var(--yz-line);
  font-size: 28px;
  line-height: 1;
  color: var(--yz-1);
}

/* Gradyan, ikon kutusunun arka planıyla çakışmasın diye
   doğrudan glyph'e (::before) uygulanıyor. */
.yz-card .ico::before {
  display: block;
  background: linear-gradient(135deg, var(--yz-1), var(--yz-2) 55%, var(--yz-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .yz-card .ico::before {
    -webkit-text-fill-color: currentColor;
    background: none;
  }
}

.yz-card h5 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
}

.yz-card p {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .62);
  margin: 0;
}

/* ─────────────── Proje / referans kartları ─────────────── */

.yz-proj {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px;
  border: 1px solid var(--yz-line);
  border-radius: 18px;
  background: var(--yz-card);
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), border-color .45s ease, box-shadow .45s ease, background .45s ease;
}

.yz-proj::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -30%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 194, 233, .18), transparent 65%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}

.yz-proj:hover {
  color: #fff;
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .45);
}

.yz-proj:hover::after { opacity: 1; }

.yz-proj .top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.yz-proj .tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--yz-line);
  background: rgba(255, 255, 255, .04);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

.yz-proj .go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--yz-line);
  font-size: 14px;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), background .4s ease, border-color .4s ease;
}

.yz-proj:hover .go {
  transform: rotate(45deg);
  border-color: transparent;
  background: linear-gradient(135deg, var(--yz-1), var(--yz-2));
}

.yz-proj h4 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
}

.yz-proj .dom {
  display: block;
  font-size: 13px;
  letter-spacing: .6px;
  margin-bottom: 16px;
  background: linear-gradient(to right, var(--yz-1), var(--yz-2), var(--yz-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.yz-proj p {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .62);
  margin: 0 0 20px;
}

.yz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.yz-chips span {
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .06);
  font-size: 11.5px;
  letter-spacing: .4px;
  color: rgba(255, 255, 255, .6);
}

/* Öne çıkan proje (CRM) */
.yz-proj.featured {
  border-color: rgba(18, 194, 233, .35);
  background: linear-gradient(140deg, rgba(18, 194, 233, .08), rgba(196, 113, 237, .06) 55%, rgba(255, 255, 255, .03));
}

.yz-proj.featured .tag {
  border-color: transparent;
  background: linear-gradient(120deg, var(--yz-1), var(--yz-2));
  color: #fff;
}

/* ─────────────── Mobil uygulama kartları ─────────────── */

.yz-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 34px;
  border: 1px solid var(--yz-line);
  border-radius: 22px;
  background: var(--yz-card);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), border-color .45s ease, box-shadow .45s ease, background .45s ease;
}

.yz-app:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .45);
}

.yz-app .app-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.yz-app .app-icon {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
}

.yz-app .app-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yz-app .app-head h4 { margin-bottom: 4px; }
.yz-app .app-head .cat { margin-bottom: 0; }

.yz-app h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.yz-app .cat {
  display: block;
  font-size: 12.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .48);
  margin-bottom: 16px;
}

.yz-app p {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .62);
  margin: 0 0 20px;
}

.yz-app ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.yz-app ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, .68);
}

.yz-app ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--yz-1), var(--yz-2));
}

.yz-app .app-note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .03);
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .45);
}

.yz-app .app-foot { margin-top: auto; }

/* Google Play rozeti */
.yz-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .45);
  text-decoration: none;
  color: #fff;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.yz-play:hover {
  color: #fff;
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .4);
  background: rgba(0, 0, 0, .7);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .45);
}

.yz-play svg { flex-shrink: 0; }

.yz-play .txt { line-height: 1.25; text-align: left; }
.yz-play .txt small {
  display: block;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.yz-play .txt strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3px;
}

/* ─────────────── Süreç adımları ─────────────── */

.yz-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.yz-step {
  position: relative;
  padding: 32px 26px;
  border: 1px solid var(--yz-line);
  border-radius: 16px;
  background: var(--yz-card);
  transition: transform .4s ease, background .4s ease;
}

.yz-step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .055); }

.yz-step .no {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(to right, var(--yz-1), var(--yz-2), var(--yz-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.yz-step h6 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }

.yz-step p {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .6);
  margin: 0;
}

/* ─────────────── Teknoloji şeridi ─────────────── */

.yz-tech {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.yz-tech span {
  padding: 11px 22px;
  border: 1px solid var(--yz-line);
  border-radius: 50px;
  background: rgba(255, 255, 255, .035);
  font-size: 13.5px;
  letter-spacing: .5px;
  color: rgba(255, 255, 255, .72);
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}

.yz-tech span:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .07);
}

/* ─────────────── CTA ─────────────── */

.yz-cta {
  position: relative;
  padding: 70px 60px;
  border-radius: 24px;
  border: 1px solid var(--yz-line);
  background: linear-gradient(130deg, rgba(18, 194, 233, .12), rgba(196, 113, 237, .1) 50%, rgba(246, 79, 89, .08));
  overflow: hidden;
}

.yz-cta h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 14px;
}

.yz-cta p {
  color: rgba(255, 255, 255, .7);
  line-height: 1.8;
  margin-bottom: 0;
}

/* Not: menü butonu, ana sayfa rozeti ve footer bağlantı stilleri
   tüm sayfalarda gerektiği için modern.css içinde tanımlıdır. */

/* ─────────────── Responsive ─────────────── */

@media (max-width: 991px) {
  .yz-grid-3, .yz-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .yz-steps { grid-template-columns: repeat(2, 1fr); }
  .yz-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .yz-cta { padding: 50px 34px; }
}

@media (max-width: 767px) {
  .yz-hero {
    min-height: auto;
    padding: 140px 0 80px;
    background-position: 62% center;
  }
  .yz-grid-3, .yz-grid-2, .yz-steps { grid-template-columns: 1fr; }
  .yz-card, .yz-proj { padding: 28px 24px; }
  .yz-app { padding: 28px 24px; }
  .yz-cta { padding: 40px 24px; text-align: center; }
  .yz-hero-actions .yz-btn { width: 100%; justify-content: center; }
  .yz-sec-head { margin-bottom: 42px; }
}
