/* =============================================
   MECHANISTRAIL - style.css
   Tüm site stilleri burada toplanmıştır.
   ============================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #0a1628;
  color: #fff;
}

/* ---- NAV ---- */
/* =============================================
   NAV — Masaüstü
   ============================================= */
.nav {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 58px;
  background: #0d1e35;
  border-bottom: 1px solid rgba(55,138,221,0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 0;
}

/* Logo — en solda */
.nav-logo {
  flex-shrink: 0;
  margin-right: 8px;
  order: 1;
}
.nav-logo img {
  height: 42px;
  width: auto;
  cursor: pointer;
  display: block;
}

/* Menü linkleri — logodan sonra, esnek genişler */
.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
  flex-wrap: nowrap;
  order: 2;
  flex: 1;
  overflow: visible;
}

/* Dil seçici — en sağda, menüden sonra */
.nav > .lang-switcher {
  flex-shrink: 0;
  margin-left: 8px;
  order: 3;
}

/* Hamburger — sadece mobilde görünür, dil seçiciden sonra */
.nav-hamburger {
  display: none;
  order: 4;
  margin-left: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: rgba(55,138,221,0.1);
  border: 0.5px solid rgba(55,138,221,0.25);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: #85B7EB;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-btn {
  font-size: 12.5px;
  color: #c8d8f0;
  cursor: pointer;
  padding: 7px 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-weight: 400;
  transition: all 0.18s;
  white-space: nowrap;
}
.nav-btn:hover  { color: #fff; background: rgba(55,138,221,0.15); }
.nav-btn.active { color: #fff; background: rgba(55,138,221,0.2); border: 0.5px solid rgba(55,138,221,0.35); }

/* =============================================
   NAV — Mobil
   ============================================= */
@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 16px;
  }

  /* Logo solda */
  .nav-logo { order: 1; margin-right: 0; }

  /* Dil seçici — logonun yanında sağda */
  .nav > .lang-switcher {
    order: 2;
    margin-left: auto;
  }

  /* Hamburger — en sağda */
  .nav-hamburger {
    display: flex;
    order: 3;
    margin-left: 10px;
  }

  /* Menüyü hamburger altına al */
  .nav-links {
    order: 4;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 0 6px;
    border-top: 0.5px solid rgba(55,138,221,0.15);
    margin-top: 8px;
  }
  .nav-links.open { display: flex; }

  .nav-btn {
    font-size: 15px;
    padding: 13px 16px;
    text-align: left;
    border-radius: 8px;
  }
}

/* ---- SAYFA GEÇİŞ ANİMASYONU ---- */
.page { display: none; animation: fadeIn 0.3s ease; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ---- HERO ---- */
.hero {
  padding: 52px 28px 44px;
  background: #0a1628;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(24,95,165,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,95,165,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.hero-left {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255,255,255,0.02);
  border: 0.5px solid rgba(55,138,221,0.12);
  border-radius: 16px;
  padding: 28px;
}

/* Sağ panel - 2x2 grid */
.hero-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-stat-card {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(55,138,221,0.18);
  border-radius: 12px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat-card.highlight-card {
  background: rgba(24,95,165,0.12);
  border-color: rgba(55,138,221,0.35);
}
.hero-stat-icon { font-size: 28px; margin-bottom: 8px; }
.hero-stat-num  { font-size: 32px; font-weight: 700; color: #85B7EB; line-height: 1.1; }
.hero-stat-lbl  { font-size: 14px; color: rgba(255,255,255,0.55); margin-top: 4px; }

.hero-services {
  grid-column: 1 / -1;
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(55,138,221,0.15);
  border-radius: 12px;
  padding: 14px 16px;
}
.hero-services-title { font-size: 13px; font-weight: 600; color: #85B7EB; margin-bottom: 12px; letter-spacing: 0.5px; text-transform: uppercase; }
.hero-service-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; color: rgba(255,255,255,0.75); }
.hero-service-dot { width: 6px; height: 6px; background: #378ADD; border-radius: 50%; flex-shrink: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  background: rgba(24,95,165,0.15);
  color: #85B7EB;
  border: 0.5px solid rgba(55,138,221,0.3);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.hero h1 { font-size: 38px; font-weight: 500; line-height: 1.2; margin-bottom: 16px; }
.hero h1 span { color: #378ADD; }
.hero p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; margin-bottom: 28px; }
.btn-blue    { padding: 11px 24px; background: #185FA5; color: #fff; border-radius: 8px; font-size: 14px; cursor: pointer; border: none; transition: background 0.2s; }
.btn-blue:hover { background: #1e74c8; }
.btn-outline { padding: 11px 24px; background: transparent; color: rgba(255,255,255,0.8); border: 0.5px solid rgba(255,255,255,0.3); border-radius: 8px; font-size: 14px; cursor: pointer; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 11px; padding: 4px 10px; border-radius: 20px; border: 0.5px solid rgba(55,138,221,0.3); color: rgba(255,255,255,0.55); }

/* Mobilde hero tek sütun */
@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right  { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   ANA SAYFA FOTOĞRAF GALERİSİ (Photo Gallery)
   
   NASIL KULLANILIR?
   script.js içindeki "galleryPhotos" dizisine
   resim yollarını ekle. Örnek:
     { src: "images/proje1.jpg", caption: "Proje Adı" }
   Resimler images/ klasörüne koy.
   ============================================= */
.gallery-section { padding: 0 28px 28px; }
.gallery-label { font-size: 11px; font-weight: 500; color: #378ADD; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.gallery-title { font-size: 18px; font-weight: 500; color: #fff; margin-bottom: 14px; }

.gallery-wrap {
  position: relative;
  border-radius: 12px;
  border: 0.5px solid rgba(55,138,221,0.2);
  overflow: hidden;
  height: 520px;           /* Galeri yüksekliği — PC */
  background: #0d1e35;
}

/* Resimler üst üste gelir, aktif olan görünür */
.gallery-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.gallery-slide.active { opacity: 1; }

.gallery-slide img {
  width: 100%; height: 100%;
  object-fit: contain;     /* Resmin tamamını göster, kırpma */
  background: #0a1628;
}

/* Resim üzerindeki yazı bandı */
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 20px 14px;
  background: linear-gradient(transparent, rgba(7,16,32,0.85));
  font-size: 14px; color: #fff;
}

/* Placeholder: resim yokken gösterilir */
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}
.gallery-placeholder i { font-size: 48px; color: rgba(55,138,221,0.3); }

/* Ok butonları */
.gallery-prev, .gallery-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  background: rgba(10,22,40,0.7); border: 0.5px solid rgba(55,138,221,0.3);
  color: #85B7EB; border-radius: 8px;
  cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  z-index: 5; transition: background 0.2s;
}
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-prev:hover, .gallery-next:hover { background: rgba(24,95,165,0.5); }

/* Nokta göstergeleri */
.gallery-dots { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.gallery-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(55,138,221,0.25); cursor: pointer; border: none;
  transition: all 0.2s;
}
.gallery-dot.active { background: #378ADD; width: 18px; border-radius: 4px; }

/* İlerleme çubuğu (10 sn) */
.gallery-prog-bar { height: 2px; background: rgba(55,138,221,0.1); margin-top: 4px; }
.gallery-prog-fill { height: 100%; background: #378ADD; width: 0%; transition: width 0.1s linear; }

/* ---- ANA PROJE SLİDER (mevcut) ---- */
.slider-wrap { position: relative; overflow: hidden; border-radius: 12px; border: 0.5px solid rgba(55,138,221,0.2); margin: 0 28px 28px; }
.slides { display: flex; transition: transform 0.5s ease; }
.slide { min-width: 100%; padding: 28px; background: rgba(255,255,255,0.03); display: flex; gap: 24px; align-items: center; }
.slide-visual { width: 160px; min-width: 160px; height: 120px; border-radius: 8px; display: flex; align-items: center; justify-content: center; border: 0.5px solid rgba(55,138,221,0.15); overflow: hidden; }
.slide-visual img { width: 100%; height: 100%; object-fit: cover; }
.slide-num { font-size: 11px; color: #378ADD; font-weight: 500; letter-spacing: 1px; margin-bottom: 6px; }
.slide h3 { font-size: 16px; font-weight: 500; color: #fff; margin-bottom: 8px; line-height: 1.3; }
.slide p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.slide-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.stag { font-size: 11px; padding: 3px 8px; border-radius: 12px; background: rgba(55,138,221,0.1); color: #85B7EB; border: 0.5px solid rgba(55,138,221,0.2); }
.slider-footer { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 0; }
.dots { display: flex; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(55,138,221,0.25); cursor: pointer; border: none; transition: all 0.2s; }
.dot.active { background: #378ADD; width: 18px; border-radius: 4px; }
.arrows { display: flex; gap: 8px; }
.arr { width: 30px; height: 30px; border-radius: 8px; background: rgba(55,138,221,0.1); border: 0.5px solid rgba(55,138,221,0.2); color: #85B7EB; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.prog-bar { height: 2px; background: rgba(55,138,221,0.1); margin-top: 12px; }
.prog-fill { height: 100%; background: #378ADD; transition: width 0.1s linear; }

/* ---- İSTATİSTİKLER ---- */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); background: #0d1e35; border-top: 0.5px solid rgba(55,138,221,0.1); border-bottom: 0.5px solid rgba(55,138,221,0.1); }
.stat { padding: 22px 16px; text-align: center; border-right: 0.5px solid rgba(55,138,221,0.1); }
.stat:last-child { border-right: none; }
.stat-n { font-size: 22px; font-weight: 500; color: #378ADD; }
.stat-l { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ---- SAYFA İÇİ GENEL ---- */
.page-inner { padding: 40px 28px; }
.sec-label { font-size: 11px; font-weight: 500; color: #378ADD; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.sec-title { font-size: 22px; font-weight: 500; color: #fff; margin-bottom: 8px; }
.sec-sub { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 28px; max-width: 520px; }

/* ---- HİZMET KARTLARI ---- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 14px; }
.svc-card { background: rgba(255,255,255,0.04); border: 0.5px solid rgba(55,138,221,0.15); border-radius: 12px; padding: 20px; }
.svc-icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 20px; }
.svc-card h3 { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 8px; }
.svc-card p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.svc-card ul { margin-top: 10px; padding-left: 0; list-style: none; }
.svc-card ul li { font-size: 12px; color: rgba(255,255,255,0.45); padding: 3px 0; display: flex; align-items: center; gap: 6px; }
.svc-card ul li::before { content: ''; width: 4px; height: 4px; background: #378ADD; border-radius: 50%; flex-shrink: 0; }

/* ---- HAKKIMIZDA ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.about-text p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 14px; }
.about-vals { display: flex; flex-direction: column; gap: 12px; }
.val-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: rgba(255,255,255,0.03); border: 0.5px solid rgba(55,138,221,0.12); border-radius: 8px; }
.val-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.val-item h4 { font-size: 13px; font-weight: 500; color: #fff; margin-bottom: 4px; }
.val-item p { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.5; }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 10px; }
.skill-bar { background: rgba(255,255,255,0.03); border: 0.5px solid rgba(55,138,221,0.12); border-radius: 8px; padding: 12px 14px; }
.skill-bar p { font-size: 12px; color: rgba(255,255,255,0.65); margin-bottom: 8px; }
.bar-bg { height: 4px; background: rgba(55,138,221,0.15); border-radius: 2px; }
.bar-fill { height: 100%; background: #378ADD; border-radius: 2px; }

/* =============================================
   PROJELER SAYFASI
   
   Her proje kartı .proj-card sınıfına sahip.
   Resim eklemek için .proj-thumb içine <img> koy:
     <img src="images/proje1.jpg" alt="Proje Adı">
   ============================================= */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 14px; }
.proj-card { background: rgba(255,255,255,0.04); border: 0.5px solid rgba(55,138,221,0.15); border-radius: 12px; overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.proj-card:hover { border-color: rgba(55,138,221,0.4); transform: translateY(-2px); }
.proj-thumb { height: 140px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; }
.proj-body { padding: 14px; }
.proj-body h3 { font-size: 13px; font-weight: 500; color: #fff; margin-bottom: 6px; }
.proj-body p { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.5; margin-bottom: 10px; }
.proj-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.ptag { font-size: 11px; padding: 2px 7px; border-radius: 10px; background: rgba(55,138,221,0.1); color: #85B7EB; border: 0.5px solid rgba(55,138,221,0.2); }

/* ---- İLETİŞİM ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.citem { display: flex; align-items: center; gap: 12px; padding: 14px; background: rgba(255,255,255,0.03); border: 0.5px solid rgba(55,138,221,0.12); border-radius: 8px; }
.cicon { width: 36px; height: 36px; background: rgba(24,95,165,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #85B7EB; font-size: 17px; }
.citem-text p { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 2px; }
.citem-text a, .citem-text span { font-size: 13px; color: #85B7EB; text-decoration: none; }
.cform { background: rgba(255,255,255,0.03); border: 0.5px solid rgba(55,138,221,0.15); border-radius: 12px; padding: 20px; }
.cform h3 { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 16px; }
.frow { margin-bottom: 12px; }
.frow label { font-size: 12px; color: rgba(255,255,255,0.5); display: block; margin-bottom: 4px; }
.frow input, .frow textarea { width: 100%; font-size: 13px; padding: 9px 12px; border: 0.5px solid rgba(55,138,221,0.2); border-radius: 8px; background: rgba(255,255,255,0.05); color: #fff; outline: none; }
.frow input:focus, .frow textarea:focus { border-color: rgba(55,138,221,0.5); }
.frow textarea { height: 80px; resize: none; }
.sbtn { width: 100%; padding: 11px; background: #185FA5; color: #fff; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; margin-top: 4px; }

/* ---- FOOTER ---- */
.footer {
  padding: 14px 28px;
  border-top: 0.5px solid rgba(55,138,221,0.1);
  display: flex; justify-content: space-between; align-items: center;
  background: #071020;
}
.footer p { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ---- SLOGAN BANNER ---- */
.slogan-banner {
  margin-top: 28px; padding: 20px;
  background: rgba(24,95,165,0.08);
  border: 0.5px solid rgba(55,138,221,0.25);
  border-radius: 12px;
  display: flex; align-items: center; gap: 16px;
}
.slogan-banner .emoji { font-size: 32px; }
.slogan-banner h4 { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 4px; }
.slogan-banner p { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ---- GENEL MOBİL DÜZENLEMELER ---- */
@media (max-width: 700px) {
  .hero { padding: 20px 16px 28px; }
  .hero h1 { font-size: 26px; }
  .hero-left { padding: 18px; border-radius: 12px; }
  .hero p { font-size: 14px; }
  .hero-btns { flex-direction: column; gap: 8px; }
  .hero-btns button { width: 100%; }

  .gallery-section { padding: 0 16px 20px; }
  .gallery-wrap { height: 240px; }

  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }

  .slider-wrap { margin: 0 16px 20px; }
  .slide { flex-direction: column; gap: 14px; padding: 18px; }
  .slide-visual { width: 100%; min-width: unset; height: 100px; }

  .page-inner { padding: 28px 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr 1fr; }

  .slogan-banner { flex-direction: column; align-items: flex-start; }
  .slogan-banner .btn-blue { margin-left: 0 !important; width: 100%; }

  .footer { flex-direction: column; gap: 4px; text-align: center; padding: 12px 16px; }
}

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

/* =============================================
   HESAPLAYICI STİLLERİ
   ============================================= */
.calc-tabs {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px;
}
.calc-tab {
  padding: 8px 14px; border-radius: 8px; font-size: 12px; font-weight: 500;
  background: rgba(255,255,255,0.04); border: 0.5px solid rgba(55,138,221,0.2);
  color: rgba(255,255,255,0.6); cursor: pointer; transition: all 0.18s;
  white-space: nowrap;
}
.calc-tab:hover  { background: rgba(55,138,221,0.12); color: #fff; }
.calc-tab.active { background: rgba(24,95,165,0.25); border-color: rgba(55,138,221,0.5); color: #fff; }

/* Ana grid: sol girişler, sağ önizleme+sonuçlar */
.calc-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
  align-items: start;
}

/* Sol panel: girişler */
.calc-inputs {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(55,138,221,0.15);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Her satır: label + input aynı hizada */
.calc-inputs > div,
.calc-field {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 0.5px solid rgba(55,138,221,0.06);
}
.calc-inputs > div:last-child,
.calc-field:last-child { border-bottom: none; }

.calc-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.calc-inp,
.calc-inputs select {
  width: 100%;
  padding: 7px 10px;
  font-size: 13px;
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(55,138,221,0.2);
  border-radius: 7px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.calc-inp:focus,
.calc-inputs select:focus { border-color: rgba(55,138,221,0.5); }
.calc-inputs select option   { background: #0d1e35; }
.calc-inputs select optgroup { color: #85B7EB; }

/* Sağ panel: önizleme üstte, sonuçlar altta */
.calc-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Önizleme kutusu */
.calc-preview {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(55,138,221,0.15);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.calc-preview-label { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.calc-preview-dim   { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 4px; }

/* Sonuç kartları — 2 sütun grid */
.calc-results {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(55,138,221,0.15);
  border-radius: 12px;
  padding: 16px;
}
.calc-results h4 { font-size: 13px; font-weight: 500; color: #fff; margin-bottom: 12px; }

.result-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.result-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(55,138,221,0.12);
  border-radius: 8px;
}
.result-card.highlight {
  background: rgba(24,95,165,0.12);
  border-color: rgba(55,138,221,0.3);
}
.result-icon  { font-size: 18px; flex-shrink: 0; }
.result-label { font-size: 11px; color: rgba(255,255,255,0.45); margin-bottom: 2px; }
.result-val   { font-size: 15px; font-weight: 600; color: #85B7EB; }
.result-card.highlight .result-val { color: #5DCAA5; }

@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .calc-tabs { gap: 5px; }
  .calc-tab  { font-size: 11px; padding: 7px 10px; }
  .calc-inputs > div, .calc-field { grid-template-columns: 120px 1fr; }
  .result-cards-grid { grid-template-columns: 1fr; }
}

/* =============================================
   BİRİM DÖNÜŞTÜRÜCÜ
   ============================================= */
.conv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.conv-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(55,138,221,0.15);
  border-radius: 12px;
  padding: 18px;
}
.conv-title {
  font-size: 13px; font-weight: 500; color: #85B7EB;
  margin-bottom: 12px;
}
.conv-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.conv-inp, .conv-sel {
  padding: 8px 10px; font-size: 13px;
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(55,138,221,0.2);
  border-radius: 8px; color: #fff; outline: none;
  width: 100%;
}
.conv-inp:focus, .conv-sel:focus { border-color: rgba(55,138,221,0.5); }
.conv-sel option { background: #0d1e35; }
.conv-results { display: flex; flex-direction: column; gap: 5px; }
.conv-result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  font-size: 13px;
}
.conv-result-row .conv-unit { color: rgba(255,255,255,0.45); font-size: 12px; }
.conv-result-row .conv-val  { color: #85B7EB; font-weight: 500; }
.conv-result-row.active-unit { background: rgba(24,95,165,0.15); border: 0.5px solid rgba(55,138,221,0.3); }
.conv-result-row.active-unit .conv-val { color: #5DCAA5; }

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

/* =============================================
   NAV DROPDOWN MENÜ
   ============================================= */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #0d1e35;
  border: 0.5px solid rgba(55,138,221,0.3);
  border-radius: 10px;
  padding: 6px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: fadeIn 0.15s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
  flex-direction: column;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.nav-dropdown-menu a:hover {
  background: rgba(55,138,221,0.15);
  color: #fff;
}
.nav-dropdown-menu a.soon {
  color: rgba(255,255,255,0.3);
  cursor: default;
}
.nav-dropdown-menu a.soon:hover {
  background: transparent;
  color: rgba(255,255,255,0.3);
}
.nav-dropdown-menu .menu-divider {
  height: 0.5px;
  background: rgba(55,138,221,0.15);
  margin: 4px 0;
}

/* Araç seçim ekranı */
.tool-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.tool-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(55,138,221,0.15);
  border-radius: 14px;
  padding: 24px 20px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.tool-card:hover {
  background: rgba(24,95,165,0.12);
  border-color: rgba(55,138,221,0.4);
  transform: translateY(-2px);
}
.tool-card-soon {
  opacity: 0.5;
  cursor: default;
}
.tool-card-soon:hover {
  background: rgba(255,255,255,0.03);
  border-color: rgba(55,138,221,0.15);
  transform: none;
}
.tool-card-icon { font-size: 32px; margin-bottom: 12px; }
.tool-card h3 { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 6px; }
.tool-card p { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.5; margin-bottom: 12px; }
.tool-card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tool-card-tags span { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: rgba(55,138,221,0.1); color: #85B7EB; border: 0.5px solid rgba(55,138,221,0.2); }
.tool-card-badge { position: absolute; top: 14px; right: 14px; font-size: 10px; padding: 3px 8px; border-radius: 10px; background: rgba(55,138,221,0.1); color: #85B7EB; border: 0.5px solid rgba(55,138,221,0.2); }

/* Geri butonu */
.tool-back-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 0.5px solid rgba(55,138,221,0.15); }
.tool-back-btn { padding: 8px 16px; font-size: 13px; background: rgba(55,138,221,0.1); border: 0.5px solid rgba(55,138,221,0.25); border-radius: 8px; color: #85B7EB; cursor: pointer; transition: all 0.2s; }
.tool-back-btn:hover { background: rgba(55,138,221,0.2); color: #fff; }
.tool-back-bar span { font-size: 15px; font-weight: 500; color: #fff; }

@media (max-width: 900px) {
  .nav-dropdown-menu { position: fixed; left: 16px; right: 16px; top: auto; }
  .tool-cards { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   ŞABLONLAR SAYFASI
   ============================================= */
.tmpl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.tmpl-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(55,138,221,0.15);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.tmpl-card:hover {
  transform: translateY(-3px);
  border-color: rgba(55,138,221,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.tmpl-header {
  padding: 22px 20px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}
.tmpl-icon { font-size: 36px; line-height: 1; }
.tmpl-badge {
  font-size: 10px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
  background: rgba(255,255,255,0.2);
  color: #fff; letter-spacing: 0.5px;
}
.tmpl-body { padding: 16px 18px 18px; }
.tmpl-body h3 {
  font-size: 15px; font-weight: 600;
  color: #fff; margin-bottom: 8px;
}
.tmpl-body p {
  font-size: 12px; color: rgba(255,255,255,0.5);
  line-height: 1.6; margin-bottom: 12px;
}
.tmpl-tags {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-bottom: 12px;
}
.tmpl-tags span {
  font-size: 10px; padding: 2px 8px; border-radius: 10px;
  background: rgba(55,138,221,0.1);
  color: #85B7EB;
  border: 0.5px solid rgba(55,138,221,0.2);
}
.tmpl-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 14px;
}
.tmpl-meta span {
  font-size: 11px; color: rgba(255,255,255,0.35);
}
.tmpl-btn {
  display: block; width: 100%;
  padding: 10px 0; text-align: center;
  background: rgba(24,95,165,0.25);
  border: 0.5px solid rgba(55,138,221,0.4);
  border-radius: 8px;
  color: #85B7EB; font-size: 13px; font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.tmpl-btn:hover {
  background: rgba(24,95,165,0.5);
  color: #fff;
  border-color: rgba(55,138,221,0.7);
}
@media (max-width: 700px) {
  .tmpl-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .tmpl-grid { grid-template-columns: 1fr; }
}

/* =============================================
   SABİT İLETİŞİM BUTONLARI
   ============================================= */
.contact-btns {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.contact-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.contact-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}
.whatsapp-btn { background: #25D366; }
.telegram-btn  { background: #229ED9; }

@media (max-width: 700px) {
  .contact-btns { bottom: 16px; right: 14px; }
  .contact-btn  { width: 46px; height: 46px; }
}

/* =============================================
   DİL SEÇİCİ
   ============================================= */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 3px;
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(55,138,221,0.2);
  border-radius: 10px;
}
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.3px;
  background: transparent;
  border: none;
  border-radius: 7px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn img {
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.lang-btn:hover {
  color: #fff;
  background: rgba(55,138,221,0.15);
}
.lang-btn.active {
  background: rgba(24,95,165,0.4);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

@media (max-width: 700px) {
  .nav-links .lang-switcher { margin-left: 0; }
  .lang-btn { padding: 4px 8px; font-size: 11px; }
}

/* =============================================
   MAĞAZA SAYFASI
   ============================================= */
.shop-toolbar {
  display: flex; gap: 8px; align-items: center;
  flex-wrap: wrap; margin-bottom: 16px;
}
.shop-cats {
  display: flex; gap: 6px; flex-wrap: wrap;
  width: 100%;
}
.shop-cat-btn {
  padding: 7px 14px; border-radius: 20px; font-size: 13px;
  font-weight: 500; cursor: pointer;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(55,138,221,0.2);
  color: rgba(255,255,255,0.55); transition: all 0.2s;
  white-space: nowrap;
}
.shop-cat-btn:hover { color: #fff; border-color: rgba(55,138,221,0.5); }
.shop-cat-btn.active {
  background: rgba(24,95,165,0.3);
  border-color: rgba(55,138,221,0.6); color: #fff;
}
.shop-search-wrap { width: 100%; }
.shop-search {
  width: 100%; padding: 10px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(55,138,221,0.2);
  color: #fff; font-size: 14px; outline: none;
  transition: border-color 0.2s;
}
.shop-search::placeholder { color: rgba(255,255,255,0.3); }
.shop-search:focus { border-color: rgba(55,138,221,0.5); }

/* Kart Grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px; margin-bottom: 20px;
}
.shop-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(55,138,221,0.15);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.shop-card:hover {
  transform: translateY(-2px);
  border-color: rgba(55,138,221,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.shop-sold { opacity: 0.5; }

/* Ürün görseli */
.shop-card-img {
  width: 100%; height: 160px;
  background: rgba(55,138,221,0.06);
  border-bottom: 0.5px solid rgba(55,138,221,0.1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.shop-card-img img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 8px;
}

/* Kart içeriği */
.shop-card-body {
  padding: 14px; display: flex; flex-direction: column;
  gap: 8px; flex: 1;
}
.shop-card-head {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 8px;
}
.shop-card-id {
  font-size: 10px; color: rgba(255,255,255,0.3);
  margin-bottom: 3px; font-family: monospace;
}
.shop-card-name {
  font-size: 14px; font-weight: 600; color: #fff;
  line-height: 1.3; word-break: break-word;
}
.shop-card-model {
  font-size: 11px; color: rgba(255,255,255,0.4);
  margin-top: 2px;
}
.shop-cond {
  font-size: 10px; font-weight: 600;
  padding: 3px 9px; border-radius: 10px;
  white-space: nowrap; flex-shrink: 0;
}
.shop-card-desc {
  font-size: 12px; color: rgba(255,255,255,0.5);
  line-height: 1.6; flex: 1;
}
.shop-tags {
  display: flex; flex-wrap: wrap; gap: 5px;
}
.shop-tag {
  font-size: 10px; padding: 2px 8px; border-radius: 10px;
  background: rgba(55,138,221,0.08);
  color: #85B7EB; border: 0.5px solid rgba(55,138,221,0.2);
}
.shop-card-foot {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 8px;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  padding-top: 10px; margin-top: auto;
}
.shop-price { font-size: 17px; font-weight: 700; color: #fff; }
.shop-stock { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.shop-btn {
  padding: 9px 13px; border-radius: 8px; font-size: 12px;
  font-weight: 600; text-decoration: none; cursor: pointer;
  background: #25D366; color: #fff; border: none;
  transition: all 0.2s; white-space: nowrap; flex-shrink: 0;
}
.shop-btn:hover { background: #1ebe5a; }
.shop-btn-sold {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.25); cursor: not-allowed;
}
.shop-empty {
  text-align: center; padding: 60px 20px;
  color: rgba(255,255,255,0.35); font-size: 15px;
}
.shop-empty p:first-child { font-size: 40px; margin-bottom: 12px; }
.shop-custom {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; padding: 16px 20px;
  background: rgba(55,138,221,0.06);
  border: 0.5px solid rgba(55,138,221,0.2);
  border-radius: 10px; margin-top: 8px;
}

/* MOBİL */
@media (max-width: 600px) {
  .shop-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .shop-card-img { height: 120px; }
  .shop-card-body { padding: 10px; gap: 6px; }
  .shop-card-name { font-size: 12px; }
  .shop-price { font-size: 14px; }
  .shop-btn { padding: 7px 9px; font-size: 11px; }
}
@media (max-width: 360px) {
  .shop-grid { grid-template-columns: 1fr; }
}
