/* ============================================================
   PELI WEBSITE – kurumsal.css
   ============================================================ */

/* ── Banner ──────────────────────────────────────────────────── */
.kurumsal-banner {
  margin-top: var(--nav-h);
  position: relative;
  height: 200px;
  background: url('home1.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
}

.kurumsal-banner .banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
}

.kurumsal-banner .banner-content {
  position: relative;
  z-index: 2;
  padding: 0 48px;
}

.kurumsal-banner h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 8px;
}

.kurumsal-banner .banner-crumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}

.kurumsal-banner .banner-crumb a {
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.kurumsal-banner .banner-crumb a:hover { color: #fff; }

/* ── Tab Nav ─────────────────────────────────────────────────── */
.tab-nav {
  background: #fff;
  border-bottom: 2px solid #f0f0f0;
  position: sticky;
  top: var(--nav-h);
  z-index: 99;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tab-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
}

.tab-link {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-mid);
  padding: 16px 28px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
}

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

.tab-link.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ── Kurumsal Section ────────────────────────────────────────── */
.kurumsal-section {
  padding: 72px 0 80px;
}

.kurumsal-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* ── Image Col ───────────────────────────────────────────────── */
.k-image-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.k-main-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  box-shadow: 12px 12px 0 var(--red);
}

.k-image-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 110px;
  height: 110px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(204,26,26,0.35);
}

.badge-year {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  line-height: 1;
}

.badge-text {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.06em;
  margin-top: 3px;
}

/* ── Content Col ─────────────────────────────────────────────── */
.k-eyebrow {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.k-logo-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  line-height: 1;
}

.k-logo-text {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--red);
  letter-spacing: -1px;
}

.k-logo-sup {
  font-size: 0.8rem;
  color: var(--red);
  margin-left: 2px;
  margin-top: 4px;
}

.k-text-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.k-text-block p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #555;
}

/* ── Stats ───────────────────────────────────────────────────── */
.k-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
}

.k-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.k-stat-num {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--red);
  line-height: 1;
}

.k-stat-label {
  font-size: 0.72rem;
  color: var(--gray-mid);
  text-align: center;
  letter-spacing: 0.04em;
}

.k-stat-divider {
  width: 1px;
  height: 40px;
  background: #e0e0e0;
}

/* ── Divider ─────────────────────────────────────────────────── */
.section-divider {
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd 20%, #ddd 80%, transparent);
}

/* ── Tarihçe Section ─────────────────────────────────────────── */
.tarihce-section {
  background: #fafafa;
}

.tarihce-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--gray-text);
  margin-top: 8px;
}

/* ── Timeline ────────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding: 0 0 40px;
}

/* Orta çizgi */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), #e0e0e0);
  transform: translateX(-50%);
}

.tl-item {
  position: relative;
  width: 45%;
  margin-bottom: 36px;
}

.tl-item.left  { left: 0; text-align: right; }
.tl-item.right { left: 55%; text-align: left; }

/* Nokta */
.tl-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--red);
  top: 18px;
}

.tl-item.left  .tl-dot { right: -10.5%; }
.tl-item.right .tl-dot { left: -10.5%; }

/* Kart */
.tl-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  padding: 22px 24px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s, transform 0.25s;
}

.tl-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.11);
  transform: translateY(-3px);
}

.tl-card-last { border-top: 3px solid var(--red); }

.tl-year {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: #fff0f0;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.tl-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-text);
  margin-bottom: 8px;
}

.tl-text {
  font-size: 0.82rem;
  line-height: 1.7;
  color: #666;
}

/* ── Active nav ──────────────────────────────────────────────── */
.active-nav { color: var(--red) !important; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .kurumsal-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .k-main-img { height: 340px; }

  .timeline::before { left: 20px; }

  .tl-item { width: calc(100% - 50px); left: 50px !important; text-align: left !important; }

  .tl-item.left  .tl-dot,
  .tl-item.right .tl-dot {
    left: -38px !important;
    right: auto !important;
  }
}

@media (max-width: 560px) {
  .kurumsal-banner h1 { font-size: 1.4rem; }
  .kurumsal-banner .banner-content { padding: 0 20px; }
  .k-stats { flex-wrap: wrap; gap: 20px; }
  .k-stat-divider { display: none; }
}
