/* ============================================================
   Constx → Laboratuvar Mobilyaları (Axell) override'ları
   Tema CSS'inin üstüne yüklenir (style.css'ten SONRA).
   ============================================================ */

/* ---- Marka rengi: Constx turuncusu → laboratuvar yeşili ---- */
:root, body, body.home-green {
  --color-primary: #16a34a;
  --color-primary-2: #15a049;
  --color-primary-3: #16a34a;
  --primary-100: #e8f7ee;
  --primary-200: #b9e8cb;
  --primary-300: #86d6a6;
  --primary-400: #4ec07e;
  --primary-500: #16a34a;
  --primary-600: #13863e;
  --primary-700: #106e33;
  --primary-800: #0c5527;
  --primary-900: #08401d;
}

/* Animasyon güvenlik ağı: JS gelmeden/soft-nav'da içerik görünür kalsın
   (data-sal attribute'larını JSX'te kullanmıyoruz; bu yine de korur) */
[data-sal] { opacity: 1 !important; transform: none !important; }

/* ---- Metin tabanlı marka logosu (SVG yerine) ---- */
.brand-logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.brand-logo-text .b1 {
  font-family: 'Exo', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .01em;
  color: #0C0A0A;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-logo-text .b1 .accent { color: #16a34a; }
.brand-logo-text .b2 {
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .22em;
  color: #6b7280;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Footer logo: koyu zeminde beyaz */
.tmp-footer-area .brand-logo-text .b1 { color: #ffffff; }
.tmp-footer-area .brand-logo-text .b1 .accent { color: #4ade80; }
.tmp-footer-area .brand-logo-text .b2 { color: #9ca3af; }

/* ---- Sayfa-içi yardımcılar ---- */
.lab-bg-cover { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* Breadcrumb / sayfa başlığı bandı için koyu overlay garanti */
.lab-page-banner { position: relative; }
.lab-page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,10,10,.78), rgba(12,10,10,.45));
}
.lab-page-banner > .container { position: relative; z-index: 2; }

/* Ürün/hizmet kart görseli oran sabitleme */
.lab-card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.lab-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lab-card:hover .lab-card-media img { transform: scale(1.06); }

/* Yeşil aksanı garantiye al (inner sayfalarda da) */
.text-accent { color: #16a34a !important; }
.bg-accent { background-color: #16a34a !important; }

/* İkincil buton: Constx tan/bronz → nötr antrasit (yeşil primary ile uyumlu, hem koyu hem açık zeminde okunur) */
.tmp-btn.btn-seconday {
  background-color: #1f2937 !important;
  color: #ffffff !important;
  border: 1px solid #1f2937 !important;
}
.tmp-btn.btn-seconday:hover {
  background-color: #111827 !important;
  border-color: #111827 !important;
  color: #ffffff !important;
}

/* ============ İç sayfa banner (breadcrumb) ============ */
.lab-inner-banner {
  position: relative;
  padding: 130px 0 90px;
  margin-bottom: 0;
}
.lab-inner-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,10,10,.85), rgba(12,10,10,.55));
}
.lab-inner-banner > .container { position: relative; z-index: 2; }
.lab-inner-banner__sub {
  color: #4ade80; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; font-size: 13px; margin: 0 0 10px;
}
.lab-inner-banner__title {
  color: #fff; font-family: 'Exo', sans-serif; font-weight: 800;
  font-size: clamp(30px, 4vw, 50px); margin: 0 0 14px; line-height: 1.1;
}
.lab-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #d1d5db; font-size: 14px; }
.lab-breadcrumb a { color: #d1d5db; text-decoration: none; }
.lab-breadcrumb a:hover { color: #4ade80; }
.lab-breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.lab-breadcrumb__item i { font-size: 10px; color: #9ca3af; }
.lab-breadcrumb .current { color: #4ade80; }

/* ============ İçerik (prose) ============ */
.lab-prose h2, .lab-prose h3 { font-family: 'Exo', sans-serif; font-weight: 800; color: #0C0A0A; margin: 28px 0 12px; }
.lab-prose h2 { font-size: 26px; }
.lab-prose h3 { font-size: 20px; }
.lab-prose p { color: #4b5563; line-height: 1.85; margin: 0 0 16px; }
.lab-prose ul { margin: 0 0 18px; padding-left: 0; list-style: none; }
.lab-prose ul li { position: relative; padding-left: 28px; margin-bottom: 10px; color: #374151; }
.lab-prose ul li::before { content: "\f00c"; font-family: "Font Awesome 6 Pro","Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; color: #16a34a; }

/* ============ Spec tablosu ============ */
.lab-spec { width: 100%; border-collapse: collapse; }
.lab-spec th, .lab-spec td { text-align: left; padding: 13px 16px; border-bottom: 1px solid #eef0f2; font-size: 15px; }
.lab-spec th { width: 38%; color: #0C0A0A; font-weight: 700; background: #f7f9f8; }
.lab-spec td { color: #4b5563; }

/* ============ Basit accordion (SSS) ============ */
.lab-acc { border: 1px solid #e8eaec; border-radius: 8px; overflow: hidden; margin-bottom: 14px; background: #fff; }
.lab-acc > summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 700; color: #0C0A0A; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lab-acc > summary::-webkit-details-marker { display: none; }
.lab-acc > summary::after { content: "\2b"; color: #16a34a; font-weight: 700; }
.lab-acc[open] > summary::after { content: "\2212"; }
.lab-acc__body { padding: 0 24px 22px; color: #4b5563; line-height: 1.8; }

/* ============ Kart hover yardımcıları ============ */
.lab-card { transition: box-shadow .3s ease, transform .3s ease; }
.lab-card:hover { box-shadow: 0 16px 50px rgba(0,0,0,.12) !important; transform: translateY(-4px); }

/* Form alanları (iletişim/teklif) tema ile uyumlu */
.lab-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.lab-field label { font-weight: 600; color: #0C0A0A; font-size: 14px; }
.lab-field input, .lab-field select, .lab-field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid #dfe3e6; border-radius: 8px;
  font-size: 15px; font-family: inherit; background: #fff; color: #111;
}
.lab-field input:focus, .lab-field select:focus, .lab-field textarea:focus {
  outline: none; border-color: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}
