/**
 * bilgi-article.css — Bilgi Merkezi makale sayfaları ortak stilleri
 * Kullanıldığı sayfalar: kuse-etiket, eco-termal-etiket, lamine-termal-etiket,
 *   pp-opak-etiket, silvermat-etiket, wax-ribon, wax-resin-ribon, resin-ribon
 */

/* --- Değişkenler → base.css'ten geliyor --- */

/* --- Temel Ayarlar --- */
body.bilgi-page { font-family: 'Inter', sans-serif; background-color: var(--bg-base); color: var(--text-main); -webkit-font-smoothing: antialiased; }
.font-jakarta { font-family: 'Plus Jakarta Sans', sans-serif; }

/* --- Bilgi sayfaları: global main padding kuralını ez --- */
body.bilgi-page main { padding-top: 0 !important; }
body.bilgi-page aside { position: sticky !important; top: 2rem !important; align-self: flex-start !important; }

/* --- Header --- */
.contact-header { text-align: left; margin-bottom: 40px; margin-top: 15px; }
.contact-header h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2.5rem, 4vw, 3.5em); color: #1e293b; margin-bottom: 15px; font-weight: 800; position: relative; display: inline-block; line-height: 1.15; letter-spacing: -0.02em; }
.contact-header h1::before { content: ''; position: absolute; top: -15px; left: 0; width: 60px; height: 4px; background-color: var(--brand-blue-dark); border-radius: 4px; }
.contact-header p { color: #475569; font-size: 1.1rem; max-width: 850px; margin-top: 15px; line-height: 1.7; }

/* --- Kart ve İçerik --- */
.soft-card { background-color: #ffffff; border-radius: 24px; box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05); padding: 3.5rem; border: 1px solid rgba(255,255,255,0.8); }
.dynamic-content { font-size: 1.05rem; line-height: 1.85; color: var(--text-main); font-weight: 400; }
.title-accent { display: block; width: 40px; height: 4px; background-color: var(--brand-blue-dark); border-radius: 4px; margin-top: 3.5rem; margin-bottom: 0.35rem; }
.title-accent.first-accent { margin-top: 0.5rem; }
.dynamic-content h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: #0f172a; font-size: 1.75rem; letter-spacing: -0.01em; margin-top: 0; margin-bottom: 1.25rem; }
.dynamic-content h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1.25rem; margin-top: 2.5rem; margin-bottom: 1.25rem; color: #1e293b; }
.dynamic-content p { margin-bottom: 1.5rem; }
.dynamic-content strong { color: #0f172a; font-weight: 600; }

/* --- Galeri --- */
.gallery-wrapper { margin: 2.5rem 0; position: relative; }
.gallery-container { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.5rem; scrollbar-width: none; cursor: grab; }
.gallery-container::-webkit-scrollbar { display: none; }
.gallery-card { flex: 0 0 calc(50% - 0.75rem); min-width: 260px; aspect-ratio: 1 / 1; position: relative; border-radius: 20px; overflow: hidden; scroll-snap-align: start; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1); background: #e2e8f0; border: 1px solid #cbd5e1; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--smooth-curve); }
.gallery-card:hover img { transform: scale(1.05); }
.gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 0.5rem; }
.g-dot { width: 8px; height: 8px; background-color: #cbd5e1; border-radius: 50%; transition: all 0.4s ease; cursor: pointer; }
.g-dot.active { width: 24px; background-color: var(--brand-blue-dark); border-radius: 8px; }

/* --- Bilgi Kutuları --- */
.info-box-soft { background: linear-gradient(to right, #f8fafc, #ffffff); border-radius: 16px; padding: 1.75rem; margin: 2.5rem 0; display: flex; gap: 1.25rem; align-items: flex-start; box-shadow: 0 4px 15px -3px rgba(0,0,0,0.02); border: 1px solid #e2e8f0; border-left: 4px solid var(--brand-blue); }
.warning-box-soft { background: linear-gradient(to right, #fff1f2, #ffffff); border-radius: 16px; padding: 1.75rem; margin: 2.5rem 0; display: flex; gap: 1.25rem; align-items: flex-start; box-shadow: 0 4px 15px -3px rgba(0,0,0,0.02); border: 1px solid #ffe4e6; border-left: 4px solid #e11d48; }

/* --- Veri Görselleştirme --- */
.data-viz-card { background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.75rem; margin-bottom: 2rem; }
.progress-track { background-color: #e2e8f0; border-radius: 99px; height: 8px; overflow: hidden; width: 100%; }
.progress-fill { height: 100%; border-radius: 99px; background-color: var(--brand-blue-dark); transition: width 1.5s var(--smooth-curve); }
.rating-dots { display: flex; gap: 4px; }
.dot { width: 14px; height: 14px; border-radius: 3px; }
.dot.fill-green { background-color: #10b981; }
.dot.fill-yellow { background-color: #f59e0b; }
.dot.fill-red { background-color: #ef4444; }
.dot.empty { background-color: #e2e8f0; }

/* --- Karşılaştırma Matrisi --- */
.comparison-grid { background: linear-gradient(145deg, #ffffff, #f8fafc); border: 1px solid #e2e8f0; border-radius: 20px; padding: 2.5rem; margin-top: 2rem; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.03); }
.comp-row { margin-bottom: 2rem; }
.comp-row:last-child { margin-bottom: 0; }
.comp-label { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1rem; color: #0f172a; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.comp-label i { color: var(--brand-blue); }
.comp-bars-container { display: flex; flex-direction: column; gap: 0.75rem; }
.comp-bar-item { display: flex; align-items: center; gap: 1rem; }
.comp-bar-name { width: 110px; font-size: 0.75rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; flex-shrink: 0; }
.comp-bar-track { flex-grow: 1; height: 8px; background: #f1f5f9; border-radius: 10px; overflow: hidden; }
.comp-bar-fill { height: 100%; border-radius: 10px; transition: width 1.5s var(--smooth-curve); }

/* --- Karşılaştırma Çubuk Renkleri (Ürün Bazlı) --- */
/* Etiket ürünleri */
.fill-kuse { background: linear-gradient(90deg, #0ea5e9, #0b3d7a); }
.fill-eco { background: linear-gradient(90deg, #22c55e, #15803d); }
.fill-lamine { background: linear-gradient(90deg, #0ea5e9, #0b3d7a); }
.fill-pp { background: linear-gradient(90deg, #0ea5e9, #0b3d7a); }
.fill-silver { background: linear-gradient(90deg, #0ea5e9, #0b3d7a); }
.fill-termal { background-color: #94a3b8; }
/* Ribon ürünleri */
.fill-wax { background: linear-gradient(90deg, #0ea5e9, #0b3d7a); }
.fill-wr { background: linear-gradient(90deg, #0ea5e9, #0b3d7a); }
.fill-resin { background: linear-gradient(90deg, #0ea5e9, #0b3d7a); }
/* Pasif/karşılaştırma renkleri (sayfa-spesifik override'lar inline bırakılabilir) */

/* --- Tablo --- */
.dynamic-content table { width: 100%; margin: 2.5rem 0; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; border: 1px solid #f1f5f9; }
.dynamic-content th { background-color: #f8fafc; color: #0f172a; text-align: left; padding: 1.25rem 1.5rem; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.95rem; border-bottom: 1px solid #e2e8f0; }
.dynamic-content td { padding: 1.25rem 1.5rem; background-color: #ffffff; color: var(--text-main); border-bottom: 1px solid #f1f5f9; }
.dynamic-content tr:hover td { background-color: #f8fafc; transition: background-color 0.3s ease; }

/* --- Sidebar --- */
.sidebar-card { background-color: #ffffff; border-radius: 20px; padding: 2rem; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.04); border: 1px solid rgba(255,255,255,0.8); }
.toc-container::-webkit-scrollbar { width: 4px; }
.toc-container::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

/* --- CTA Kart --- */
.cta-card-soft { margin-top: 3rem; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .contact-header h1 { font-size: 2.5em; }
    .soft-card { padding: 2rem; }
    .comparison-grid { padding: 1.5rem; }
}
@media (max-width: 640px) {
    .gallery-card { flex: 0 0 85%; }
}
