﻿/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── VARIABLES ── */
:root {
  --red:       #C41230;
  --red-dark:  #9e0f27;
  --header-h:  64px;
  --nav-h:     42px;
  --chrome-h:  calc(var(--header-h) + var(--nav-h));
}

/* ── BASE (SPA pages) ── */
html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f0f4f8;
  color: #222;
}

/* Category pages restore scroll */
html:has(.page-content),
html:has(.page-content) body {
  height: auto;
  overflow: auto;
}

/* ── HEADER ── */
header {
  height: var(--header-h);
  background: #fff;
  border-bottom: 3px solid var(--red);
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

.logo-link {
  grid-column: 2;
  display: flex;
  align-items: center;
}

header img.logo {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.header-phone {
  grid-column: 3;
  justify-self: end;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { text-decoration: underline; }

/* ── NAVBAR ── */
.navbar {
  height: var(--nav-h);
  background: #fff;
  border-bottom: 2px solid #e8e8e8;
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  position: relative;
}

.nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0 16px;
  width: 100%;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }

.nav-link {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  white-space: nowrap;
  border-radius: 4px 4px 0 0;
}
.nav-link:hover {
  color: var(--red);
  background: #fdf2f4;
}
.nav-link.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ── Dil geçiş anahtarı (navbar sol köşe) ── */
.lang-toggle {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 30px;
  border-radius: 15px;
  border: 1px solid var(--red);
  background: #fff;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.lt-thumb {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 33px;
  height: 26px;
  border-radius: 13px;
  background: var(--red);
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.lang-toggle.is-en .lt-thumb { transform: translateX(33px); }
.lt-label {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: #999;
  transition: color 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.lang-toggle:not(.is-en) .lt-tr { color: #fff; }
.lang-toggle.is-en .lt-en { color: #fff; }
@media (max-width: 700px) {
  .lang-toggle { left: 14px; width: 60px; height: 26px; }
  .lt-thumb { width: 28px; height: 22px; }
  .lang-toggle.is-en .lt-thumb { transform: translateX(28px); }
  .lt-label { font-size: 0.66rem; }
}

/* ── Navbar sertifika logoları (sağ köşe) ── */
.nav-cert-logos {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-cert-item {
  display: flex;
  align-items: center;
  opacity: 0.75;
  transition: opacity 0.18s, transform 0.18s;
}
.nav-cert-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.nav-cert-item img {
  height: 26px;
  width: auto;
  display: block;
}

/* Nav linkleri logo alanının altına girmesin, ortalama bozulmasın diye sol tarafa da eşit boşluk */
.nav-inner { padding-left: 180px; padding-right: 180px; }

/* ── Ürünler dropdown ── */
.nav-dropdown {
  display: flex;
  align-items: stretch;
}

.nav-arrow {
  font-size: 0.7rem;
  margin-left: 3px;
  display: inline-block;
  transition: transform 0.2s ease;
  vertical-align: middle;
}
.nav-dropdown.open .nav-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 250px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
  border-top: 3px solid var(--red);
  padding: 6px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.dropdown-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.dropdown-item:hover {
  background: #fdf2f4;
  color: var(--red);
  padding-left: 26px;
}

/* ── Mobil "diğer" menü butonu (Kurumsal/Dökümanlar/İletişim) ── */
.nav-more-toggle {
  display: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
  z-index: 210;
  transition: background 0.15s;
}
.nav-more-toggle svg { width: 22px; height: 22px; }
.nav-more-toggle:hover,
.nav-more-toggle.open { background: #fdf2f4; }

.nav-more-menu {
  position: absolute;
  top: 100%;
  right: 12px;
  min-width: 190px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
  border-top: 3px solid var(--red);
  padding: 6px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 205;
}
.nav-more-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-more-menu .nav-link {
  display: block;
  padding: 10px 20px;
  border-bottom: none;
  border-radius: 0;
  margin-bottom: 0;
  color: #444;
}
.nav-more-menu .nav-link:hover,
.nav-more-menu .nav-link.active {
  background: #fdf2f4;
  color: var(--red);
  border-bottom: none;
}

/* ── SPA LAYOUT ── */
.spa-main {
  height: calc(100vh - var(--chrome-h));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.spa-tab {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}
.spa-tab.active { display: flex; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 11px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--red-dark); color: #fff; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
  padding: 9px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn-outline:hover { background: var(--red); color: #fff; }

.inline-link {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
}

/* ── ANASAYFA (Hero + Kategoriler) ── */
.home-tab {
  justify-content: flex-start !important;
  align-items: center !important;
  padding-top: 0 !important;
  overflow-y: auto !important;
}

.home-wrap {
  width: 100%;
  max-width: 1100px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  flex: none;
  gap: 16px;
}

.hero-compact {
  text-align: center;
  flex-shrink: 0;
}

.hero-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 6px;
  line-height: 1.2;
}

.hero-sub {
  font-size: 0.9rem;
  color: #666;
}

/* ── Kategori kartları ── */
.home-categories {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 76%;
  height: 360px;
  margin: 0 auto;
  align-content: center;
  justify-content: center;
}

.cat-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.09);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  max-width: 260px;
  max-height: 190px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  border: 2px solid transparent;
  transition: transform 0.18s, box-shadow 0.18s;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(196,18,48,0.18);
  border-color: var(--red);
}

.cat-card-img {
  flex: 1;
  min-height: 90px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}
.cat-card-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.22s ease;
}
.cat-card:hover .cat-card-img img {
  transform: scale(1.05);
}

.cat-card-label {
  flex-shrink: 0;
  padding: 9px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  color: var(--red);
  line-height: 1.3;
  background: #fff;
}

/* ── Sosyal medya kartı ── */
.home-social-card {
  flex-shrink: 0;
  width: 76%;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  border-left: 4px solid var(--red);
  box-shadow: 0 3px 14px rgba(0,0,0,0.08);
  padding: 16px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hsc-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hsc-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
}
.hsc-text span {
  font-size: 0.8rem;
  color: #888;
}

.hsc-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  flex-shrink: 0;
}

.hsc-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #777;
  font-size: 0.72rem;
  font-weight: 600;
  transition: transform 0.18s, color 0.18s;
}
.hsc-link:hover {
  transform: translateY(-3px);
  color: #333;
}

.hsc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.hsc-icon svg {
  width: 21px;
  height: 21px;
}

.hsc-ig .hsc-icon { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.hsc-li .hsc-icon { background: #0a66c2; }
.hsc-wa .hsc-icon { background: #25d366; }

/* ── PAGE BOX (Kurumsal, Dökümanlar, İletişim) ── */
.page-box {
  max-width: 820px;
  width: 100%;
  padding: 24px 28px;
}

.box-title {
  font-size: 1.3rem;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0c0c8;
}

.box-text {
  color: #444;
  font-size: 0.92rem;
  line-height: 1.72;
  margin-bottom: 10px;
}

/* ── KURUMSAL ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.stat-box {
  background: #fff;
  border-radius: 10px;
  padding: 13px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  text-align: center;
}

.stat-label {
  font-size: 0.7rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.stat-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
}

/* ── DÖKÜMANLAR ── */
#tab-dokumanlar {
  overflow-y: auto;
  justify-content: flex-start !important;
  align-items: center !important;
}

.series-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 0 14px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 4px;
}

.series-nav-btn {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  padding: 5px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #555;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  letter-spacing: 0.5px;
}
.series-nav-btn:hover {
  background: #fdf2f4;
  border-color: var(--red);
  color: var(--red);
}

.series-name {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--red);
  padding: 12px 0 5px;
  border-bottom: 1px solid #f0c0c8;
  margin-bottom: 2px;
}

.docs-groups {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.docs-group-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 8px;
}

.docs-list {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  border: 1px solid #e8e8e8;
}

.doc-row {
  background: #fff;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
}
.doc-row:last-child { border-bottom: none; }

.doc-link {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  margin-bottom: 6px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.doc-link:last-child { margin-bottom: 0; }
.doc-link:hover {
  border-color: var(--red);
  box-shadow: 0 3px 12px rgba(196,18,48,0.10);
  background: #fffafa;
}

.doc-icon-wrap {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fceef0;
  border-radius: 6px;
  color: var(--red);
}
.doc-icon-wrap svg {
  width: 16px;
  height: 16px;
}

.doc-text { flex: 1; }

.doc-name {
  font-weight: 600;
  font-size: 0.91rem;
  color: #333;
}

.doc-desc {
  font-size: 0.78rem;
  color: #888;
  margin-top: 2px;
}

.doc-tag {
  background: #fff8e1;
  color: #b87400;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.doc-tag-dl {
  background: #fceef0;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ══════════════════════════════════════
   KURUMSAL + İLETİŞİM CORPORATE LAYOUT
══════════════════════════════════════ */

/* Corp tabs: top-aligned, center-horizontal, full height */
.corp-tab {
  justify-content: flex-start !important;
  align-items: center !important;
  padding-top: 0 !important;
}

.corp-wrap {
  width: 100%;
  max-width: 960px;
  padding: 18px 28px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.corp-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8e8e8;
  position: relative;
}
.corp-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--red);
}

/* ── Kurumsal mini-nav (subnav) ── */
.corp-subnav {
  display: flex;
  justify-content: center;
  gap: 2px;
  border-bottom: 2px solid #e8e8e8;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 0;
}
.corp-subnav::-webkit-scrollbar { display: none; }

.subnav-link {
  display: flex;
  align-items: center;
  padding: 9px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  border-radius: 4px 4px 0 0;
}
.subnav-link:hover { color: var(--red); background: #fdf2f4; }
.subnav-link.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ── Corp sub-tab content area ── */
.corp-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.corp-subtab {
  display: none;
  padding-top: 16px;
}
.corp-subtab.active {
  display: flex;
  flex-direction: column;
}

/* ── 2-col layout (Biz Kimiz + Kalite) ── */
.cst-two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
  flex: 1;
  min-height: 0;
}

.cst-main {
  background: #fff;
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  border-left: 4px solid var(--red);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.cst-eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 2px;
}

.cst-main p {
  font-size: 0.86rem;
  color: #444;
  line-height: 1.73;
}

.corp-iso-badge {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: #fceef0;
  color: var(--red);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid #f0c0c8;
}

.cst-facts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cst-fact {
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  border-top: 2px solid var(--red);
}

.cf-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  font-weight: 600;
}

.cf-val {
  font-size: 0.84rem;
  font-weight: 700;
  color: #333;
}

/* ── 3-col layout (Misyon sekmesi) ── */
.cst-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  flex: 1;
  min-height: 0;
}

.cst-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  border-top: 3px solid var(--red);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.cst-card p {
  font-size: 0.83rem;
  color: #444;
  line-height: 1.7;
}

/* ── Kalite Politikası body text ── */
.kalite-body {
  font-size: 0.84rem;
  color: #444;
  line-height: 1.8;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

/* ── Centered layout (eski Misyon + Vizyon – artık kullanılmıyor) ── */
.cst-centered {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 16px;
  width: 100%;
}

.cst-quote {
  font-size: 1.12rem;
  font-weight: 600;
  color: #222;
  line-height: 1.72;
  font-style: normal;
  margin: 14px 0 22px;
  padding: 24px 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  border-left: 4px solid var(--red);
  text-align: left;
  width: 100%;
}

.cst-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.cst-pills span {
  background: #fceef0;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
}

/* ── Kalite tek alan ── */
.cst-kalite-full {
  flex: 1;
  min-height: 0;
  background: #fff;
  border-radius: 10px;
  padding: 20px 26px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  border-left: 4px solid var(--red);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.kalite-intro {
  font-size: 0.86rem;
  color: #555;
  font-weight: 600;
  flex-shrink: 0;
}



/* ── İletişim corporate layout ── */
.corp-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
  flex: 1;
  min-height: 0;
}

.corp-contact-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.corp-ci {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  flex: 1;
  transition: box-shadow 0.15s, transform 0.15s;
  border: 1px solid #ececec;
}
.corp-ci:hover {
  box-shadow: 0 4px 16px rgba(196,18,48,0.14);
  transform: translateX(3px);
}

.cci-bar {
  width: 4px;
  background: var(--red);
  flex-shrink: 0;
}

.cci-body {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cci-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  font-weight: 600;
  margin-bottom: 3px;
}

.cci-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: #222;
}

.corp-contact-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.corp-contact-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.corp-address-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px 22px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
  border-left: 4px solid var(--red);
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cac-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 4px;
}

.cac-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
}

.cac-address {
  font-size: 0.84rem;
  color: #555;
  line-height: 1.7;
  margin-top: 4px;
}

.cac-web {
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  padding-top: 6px;
}
.cac-web:hover { text-decoration: underline; }

.corp-contact-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.hq-contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
  border-left: 4px solid var(--red);
}

.hq-contact-form .cf-textarea {
  flex: 1;
  min-height: 70px;
  resize: none;
}

/* ── Tek şerit iletişim bilgisi (telefon/e-posta) ── */
.corp-contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  background: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
}

.ccs-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  flex: 1 1 190px;
  min-width: 190px;
  padding: 6px 14px;
  border-left: 1px solid #eee;
  text-decoration: none;
  color: inherit;
}

.ccs-item:first-child {
  border-left: none;
}

.ccs-item-multi {
  flex: 1 1 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-left: none;
  border-top: 1px solid #eee;
  margin-top: 2px;
  padding: 6px 14px 2px;
}

.ccs-item-multi .ccs-val {
  font-size: 0.87rem;
  font-weight: 700;
  color: #000;
}

.ccs-multi-vals {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.ccs-sep {
  color: #ccc;
  font-size: 0.78rem;
}

.ccs-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  font-weight: 600;
  white-space: nowrap;
}

.ccs-val {
  font-size: 0.86rem;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
}

.ccs-item:hover .ccs-val {
  color: var(--red);
}

.ccs-link {
  text-decoration: none;
  color: inherit;
}

.ccs-link:hover {
  color: var(--red);
}

/* ── Harita iframe kutusu ── */
.corp-map-col {
  flex: 1;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,0.10);
}

.corp-map-col iframe {
  width: 100%;
  height: 100%;
  min-height: 180px;
  border: 0;
  display: block;
}

/* ── İletişim formu ── */
#tab-iletisim {
  overflow-y: auto !important;
}
#tab-iletisim .corp-wrap {
  flex: none;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cf-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #aaa;
}

.cf-input {
  border: 1.5px solid #e0e0e0;
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 0.88rem;
  font-family: inherit;
  color: #333;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fafafa;
}
.cf-input:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(196,18,48,0.08);
}

.cf-textarea {
  resize: vertical;
  min-height: 90px;
}

/* ── İLETİŞİM (eski stiller, artık kullanılmıyor ama korunuyor) ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.ci-item {
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  text-decoration: none;
  color: inherit;
  border: 2px solid transparent;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: block;
}
.ci-item:hover {
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(196,18,48,0.12);
}

.ci-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.ci-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
}

.contact-btns {
  display: flex;
  gap: 12px;
}

/* ── ÜRÜNLER GRID ── */
#tab-urunler {
  justify-content: center;
}

.products-wrap {
  width: 100%;
  max-width: 960px;
  flex: 1;
  min-height: 0;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-content: start;
}

.products-wrap .card:nth-child(n) { grid-column: auto; }

/* ── PRODUCT CARD ── */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.09);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 2px solid transparent;
}
.card:hover, .card:focus {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(196,18,48,0.18);
  border-color: var(--red);
  outline: none;
}
.card:active { transform: translateY(-1px); }

.card-img {
  width: 100%;
  height: 170px;
  overflow: hidden;
  flex-shrink: 0;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  display: block;
  transition: transform 0.22s;
}
.card:hover .card-img img {
  transform: scale(1.05);
}

.card-label {
  padding: 10px 12px;
  font-size: 0.87rem;
  font-weight: 600;
  text-align: center;
  color: var(--red);
  line-height: 1.3;
  flex-shrink: 0;
  background: #fff;
}

/* ══════════════════════════════════════
   KATEGORİ SAYFALARI (mevcut)
══════════════════════════════════════ */
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  margin-top: -20px;
  transition: background 0.15s;
}
.back-btn:hover { background: var(--red-dark); }

.page-title {
  font-size: 1.6rem;
  color: var(--red);
  font-weight: 700;
  margin-top: 8vh;
  margin-bottom: 12px;
}
.cert-update-notice {
  margin: 0 0 24px;
  padding: 10px 16px;
  background: #fff8e1;
  border-left: 4px solid #f9a825;
  border-radius: 4px;
  color: #7a5c00;
  font-size: 0.9rem;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
  margin: 32px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--red);
}
.section-title:first-of-type { margin-top: 0; }

/* ── DİL BAZLI GÖSTERİM ── */
html[lang="tr"] [data-lang="en"] { display: none !important; }
html[lang="en"] [data-lang="tr"] { display: none !important; }

/* ── ÜRÜN BAŞLIK + HERO RESİM ── */
.page-title-wrap {
  position: relative;
  margin-top: 8vh;
  margin-bottom: 12px;
  padding-right: 234px;
}
.page-title-wrap .page-title {
  margin-top: 0;
  margin-bottom: 0;
}
.product-hero-img-wrap {
  position: absolute;
  right: 0;
  top: 0;
  transform: translateY(-60%);
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 6px 28px rgba(0,0,0,0.16), 0 0 0 1.5px rgba(0,0,0,0.09);
}
.product-hero-img-wrap img {
  display: block;
  width: 210px;
  height: 158px;
  object-fit: contain;
  background: #fff;
}
@media (max-width: 640px) {
  .product-hero-img-wrap { display: none; }
  .page-title-wrap { padding-right: 0; }
}

/* ── TABLO ── */
.table-container { position: relative; }

.scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff8e1;
  border: 1px solid #f9a825;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 9px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #7a5200;
}

.scroll-hint-arrow {
  display: inline-block;
  animation: nudge 1.1s ease-in-out infinite;
  font-size: 1.1rem;
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(7px); }
}

.table-container::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 48px; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.85));
  pointer-events: none;
  border-radius: 0 10px 10px 0;
  transition: opacity 0.3s;
}
.table-container.scrolled::after { opacity: 0; }

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.09);
}
.table-wrap.no-hint { border-radius: 10px; }

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.88rem;
}

thead { background: var(--red); color: #fff; }
thead th {
  padding: 10px 7px;
  text-align: center;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
  border: 1px solid #a01025;
}

tbody tr:nth-child(even) { background: #fdf0f2; }
tbody tr:hover           { background: #fad8de; }

.table-clickable tbody tr {
  cursor: pointer;
  transition: background 0.15s;
}
.table-clickable tbody tr:hover { background: #f5c6ce; }
.table-clickable tbody tr.pdf-na          { cursor: default !important; opacity: 0.4; }
.table-clickable tbody tr.pdf-na:hover    { background: inherit !important; }


tbody td {
  padding: 9px 7px;
  text-align: center;
  border: 1px solid #e8c0c8;
}
tbody td:first-child {
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.blower-table          { font-size: 0.75rem; }
.blower-table thead th { font-size: 0.7rem; padding: 8px 5px; }
.blower-table tbody td { padding: 7px 5px; font-size: 0.75rem; }

/* ── ÜRÜN AÇIKLAMA BLOĞU ── */
.product-desc {
  background: #fff;
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  line-height: 1.75;
}
.product-desc h2 {
  font-size: 1.05rem;
  color: var(--red);
  font-weight: 700;
  margin: 20px 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--red);
}
.product-desc h2:first-child { margin-top: 0; }
.product-desc p  { margin-bottom: 12px; color: #444; font-size: 0.95rem; }
.product-desc p:last-child { margin-bottom: 0; }
.product-desc ul { padding-left: 22px; margin-bottom: 12px; }
.product-desc li { margin-bottom: 6px; color: #444; font-size: 0.95rem; }

/* ══════════════════════════════════════
   HABER SLİDER (anasayfa)
══════════════════════════════════════ */
.news-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  flex-shrink: 0;
  width: 76%;
  margin: 0 auto;
  height: 240px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.ns-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.ns-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.ns-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 7s ease;
  transform: scale(1.06);
}
.ns-slide.ns-active .ns-slide-bg { transform: scale(1); }
.ns-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8,12,24,0.80) 0%, rgba(196,18,48,0.30) 100%);
}
.ns-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 36px;
}
.ns-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  max-width: 600px;
}
.ns-excerpt {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.80);
  margin-bottom: 18px;
  max-width: 520px;
  line-height: 1.5;
}
.ns-read-btn {
  display: inline-block;
  padding: 8px 20px;
  border: 2px solid rgba(255,255,255,0.80);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  width: fit-content;
}
.ns-read-btn:hover { background: #fff; color: var(--red); border-color: #fff; }
.ns-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.14);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(6px);
  line-height: 1;
}
.ns-arrow:hover { background: rgba(255,255,255,0.28); }
.ns-prev { left: 14px; }
.ns-next { right: 14px; }
.ns-dots {
  position: absolute;
  bottom: 14px;
  right: 36px;
  display: flex;
  gap: 7px;
  z-index: 3;
}
.ns-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.40);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}
.ns-dot.ns-active { background: #fff; transform: scale(1.35); }

/* ══════════════════════════════════════
   HABERLER DETAY SAYFASI
══════════════════════════════════════ */
.news-detail-wrap {
  max-width: 780px;
  margin: 0 auto;
}
.news-detail-hero-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
  background: #f4f5f7;
  text-align: center;
}
.news-detail-hero {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.nd-inline-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin: 28px auto;
  width: 70%;
  background: #f4f5f7;
  text-align: center;
}
.nd-inline-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.nd-cat {
  background: #fceef0;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.nd-date {
  font-size: 0.82rem;
  color: #888;
}
.nd-location {
  font-size: 0.82rem;
  color: #555;
  font-style: italic;
}
.news-detail-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 22px;
}
.news-detail-body {
  color: #333;
  font-size: 0.96rem;
  line-height: 1.85;
}
.news-detail-body p { margin-bottom: 16px; }
.news-detail-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
  margin: 28px 0 10px;
}
.nd-info-box {
  background: #f8f9fa;
  border-left: 4px solid var(--red);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
}
.nd-info-box strong { color: #1a1a1a; display: block; margin-bottom: 4px; }
.nd-source-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 11px 22px;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.nd-source-btn:hover { opacity: 0.88; }

/* ══════════════════════════════════════
   HABERLER SAYFASI (LİSTELEME)
══════════════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}
.nc-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: #eee;
}
.nc-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.nc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.nc-cat {
  background: #fceef0;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
}
.nc-date {
  font-size: 0.78rem;
  color: #888;
}
.nc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 10px;
}
.nc-excerpt {
  font-size: 0.86rem;
  color: #555;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}
.nc-read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}
.nc-read::after { content: '→'; transition: transform 0.2s; }
.news-card:hover .nc-read::after { transform: translateX(4px); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root { --header-h: 54px; --nav-h: 38px; }

  header { padding: 0 14px; }
  header img.logo { height: 36px; }
  .header-phone { font-size: 0.88rem; }

  .nav-inner { padding: 0 54px 0 84px; justify-content: center; overflow-x: hidden; }
  .nav-link   { padding: 0 12px; font-size: 0.82rem; }
  .nav-cert-logos { display: none; }
  .nav-hide-mobile { display: none !important; }
  .nav-more-toggle { display: flex; }

  .hero-title    { font-size: 1.55rem; }

  .home-social-card {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
  }
  .hsc-links { align-self: center; gap: 16px 26px; }

  .home-tab { overflow-y: auto; }
  .home-wrap { flex: none; padding: 14px 16px; gap: 12px; }
  .home-categories {
    flex: none;
    width: 100%;
    height: auto;
    max-height: none;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    align-items: start;
    align-content: start;
  }
  .cat-card { max-width: none; max-height: none; height: auto; }
  .cat-card-img { flex: none; height: 130px; }
  .cat-card-label { font-size: 0.88rem; padding: 10px 12px; }

  .corp-wrap { padding: 14px 16px 10px; }
  .corp-layout { grid-template-columns: 1fr; gap: 10px; overflow-y: auto; }
  .corp-contact-layout { grid-template-columns: 1fr; overflow-y: auto; }
  .corp-main-card { flex-shrink: 0; }
  .corp-side-cards { flex-direction: row; }
  .corp-contact-left { flex-direction: column; }

  .corp-contact-strip { flex-direction: column; align-items: stretch; gap: 0; }
  .ccs-item {
    flex: none;
    width: 100%;
    border-left: none;
    border-top: 1px solid #eee;
    padding: 10px 4px;
  }
  .ccs-item:first-child { border-top: none; }
  .ccs-label, .ccs-val { white-space: normal; }

  .ccs-item-multi {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin-top: 0;
    padding-top: 10px;
  }
  .ccs-multi-vals { justify-content: flex-start; }

  .products-wrap {
    grid-template-columns: repeat(2, 1fr);
    padding: 10px 12px;
    gap: 10px;
  }
  .products-wrap .card:nth-child(n) { grid-column: auto; }

  .contact-grid { grid-template-columns: 1fr; }
  .page-title   { font-size: 1.3rem; }
  .news-grid    { grid-template-columns: 1fr; }
  .news-slider  { height: 200px; }
  .ns-title     { font-size: 1.05rem; }
  .ns-excerpt   { display: none; }
  .ns-content   { padding: 18px 18px; }
}

@media (max-width: 480px) {
  :root { --header-h: 48px; --nav-h: 36px; }

  .spa-main { overflow-y: auto; }

  .corp-layout,
  .corp-contact-layout { grid-template-columns: 1fr; }
  .corp-side-cards { flex-direction: column; }

  .hero-title    { font-size: 1.25rem; }
  .hero-sub      { font-size: 0.82rem; }

  .home-categories {
    flex: none;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    align-content: start;
    align-items: start;
    gap: 10px;
  }
  .cat-card { max-width: none; max-height: none; height: auto; }
  .cat-card-img { flex: none; height: 160px; }

  .products-wrap {
    grid-template-columns: 1fr 1fr;
    padding: 8px 10px;
    gap: 10px;
  }
  .products-wrap .card:nth-child(n) { grid-column: auto; }
  .card-img { height: 130px; }

  .page-box { padding: 16px; }

  thead th { font-size: 0.72rem; padding: 8px 5px; }
  tbody td { font-size: 0.78rem; padding: 7px 5px; }
}

/* ── Üyeliklerimiz & Sertifikalarımız galeri ── */
.cst-gallery-wrap {
  padding: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

/* Üyelik logolar grid */
.logo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.logo-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 16px 12px;
  gap: 10px;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.18s;
}
.logo-card:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,0.13);
  transform: translateY(-3px);
}

/* Sabit yükseklikli resim kutusu — tüm logolar aynı hizada */
.logo-img-box {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  background: #fafafa;
}
.logo-img-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  filter: grayscale(25%);
  transition: filter 0.2s, transform 0.2s;
}
.logo-card:hover .logo-img-box img {
  filter: grayscale(0%);
  transform: scale(1.06);
}
.logo-card span {
  font-size: 0.74rem;
  font-weight: 600;
  color: #555;
  text-align: center;
  line-height: 1.3;
}

/* Sertifikalarımız kart grid */
.sert-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.sert-card-grid .card {
  width: 200px;
  text-decoration: none;
  color: inherit;
}

/* Sertifika detay sayfası */
.cert-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.cert-detail-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: block;
}

/* Sertifika toggle kartı */
.cert-toggle-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s;
  user-select: none;
}
.cert-toggle-card:hover,
.cert-toggle-card.open {
  border-color: var(--red);
  box-shadow: 0 6px 20px rgba(196,18,48,0.12);
}

.ctc-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: #fceef0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.ctc-icon svg { width: 20px; height: 20px; }

.ctc-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ctc-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #222;
}
.ctc-sub {
  font-size: 0.75rem;
  color: #999;
}

.ctc-arrow {
  margin-left: auto;
  font-size: 0.9rem;
  color: #aaa;
  transition: transform 0.25s ease;
}
.cert-toggle-card.open .ctc-arrow {
  transform: rotate(180deg);
}

.cert-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.cert-panel.open {
  max-height: 700px;
}

/* Sertifika kartları */
.cert-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.cert-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.09);
  border: 1px solid #e8e8e8;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.cert-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
  transform: translateY(-4px);
}
.cert-card img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
  background: #f7f7f7;
  transition: transform 0.25s;
}
.cert-card:hover img { transform: scale(1.02); }

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: background 0.28s, opacity 0.28s;
}
.lightbox.active {
  background: rgba(0, 0, 0, 0.82);
  opacity: 1;
  pointer-events: all;
}
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  object-fit: contain;
  transform: scale(0.88);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.lightbox.active img { transform: scale(1); }
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 10000;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

@media (max-width: 600px) {
  .logo-gallery { grid-template-columns: repeat(2, 1fr); }
  .cert-gallery  { grid-template-columns: 1fr; }
  .cert-card img { height: 220px; }
}
