﻿/* Makita Club — Hakkımızda
   Template'in kart, avatar ve renk sınıfları esas; burada yalnızca birkaç marka dokunuşu var. */

.cp {
  --cp-teal: var(--mc-brand);
  --cp-teal-deep: #005a62;
  --cp-gradient: radial-gradient(ellipse 60% 80% at 100% 100%, #003c42 0%, transparent 55%), radial-gradient(ellipse 80% 70% at 0% 0%, #004f55 0%, transparent 60%), linear-gradient(196deg, #005a62 0%, #007a80 45%, #009ea6 80%, #00b5bd 100%);
}

/* ── Giriş kartı ──────────────────────────────────── */
.cp-hero {
  position: relative;
  overflow: hidden;
  border: 0;
  background: var(--cp-gradient);
  color: #fff;
}

  .cp-hero > .card-body {
    position: relative;
    z-index: 1;
    padding: clamp(1.5rem, 4vw, 2.75rem);
  }

.cp-hero__company {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.cp-hero__title {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.cp-hero__text {
  max-width: 38rem;
  margin-bottom: 1.75rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.cp-hero__panel {
  border: 0;
  background: var(--bs-card-bg, #fff);
  color: var(--bs-body-color);
}

/* Kartın köşesinde büyük, silik ikon (ikon sürümünden bağımsız olsun diye HTML'de) */
.cp-deco {
  position: absolute;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.cp-deco--hero {
  top: -2.5rem;
  right: -1.5rem;
  font-size: 16rem;
}

.cp-deco--cta {
  right: -1rem;
  bottom: -3rem;
  font-size: 12rem;
}

/* ── Sayı kartları ────────────────────────────────── */
.cp-stat {
  border-bottom: 3px solid transparent;
}

.cp-stat--primary {
  border-bottom-color: var(--bs-primary);
}

.cp-stat--info {
  border-bottom-color: var(--bs-info);
}

.cp-stat--success {
  border-bottom-color: var(--bs-success);
}

.cp-stat--warning {
  border-bottom-color: var(--bs-warning);
}

.cp-stat__value {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

/* ── Metin ────────────────────────────────────────── */
.cp-story-text {
  line-height: 1.75;
  color: var(--bs-body-color);
}

  .cp-story-text:last-child {
    margin-bottom: 0;
  }

/* ── Adımlar ──────────────────────────────────────── */
.cp-step {
  height: 100%;
  padding: 1.25rem;
  border: 1px dashed var(--bs-border-color);
  border-radius: var(--bs-border-radius-lg, 0.5rem);
}

.cp-step__no {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--bs-primary);
  color: #fff;
  font-weight: 600;
}

/* ── Kayıt çağrısı ────────────────────────────────── */
.cp-cta {
  position: relative;
  overflow: hidden;
  border: 0;
  background: var(--cp-gradient);
}

  .cp-cta > .card-body {
    position: relative;
    z-index: 1;
    padding: clamp(1.5rem, 4vw, 2.25rem);
  }

.cp-cta__text {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 575.98px) {
  .cp-deco--hero {
    font-size: 10rem;
  }

  .cp-hero .btn {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════
   Kurumsal Kültür
   ══════════════════════════════════════════════════ */
.cp [id] {
  scroll-margin-top: 6rem;
}
/* sabit menünün altında kalmasın */

.cp-anchor {
  display: inline-flex;
  align-items: center;
  color: var(--bs-body-color);
  text-decoration: none;
}

  .cp-anchor:hover {
    color: var(--bs-primary);
  }

.cp-lead-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--bs-heading-color, var(--bs-body-color));
}

.cp-value {
  display: flex;
  gap: 1rem;
  height: 100%;
  padding: 1.25rem;
  border: 1px dashed var(--bs-border-color);
  border-radius: var(--bs-border-radius-lg, 0.5rem);
}

.cp-check {
  display: flex;
  gap: 0.75rem;
  line-height: 1.6;
}

  .cp-check > i {
    flex: 0 0 1.5rem;
    height: 1.5rem;
    display: grid;
    place-items: center;
    margin-top: 0.05rem;
    border-radius: 50%;
    background: var(--bs-success);
    color: #fff;
    font-size: 0.95rem;
  }

.cp-quote {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.cp-quote__mark {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--bs-primary);
  opacity: 0.15;
}

.cp-quote blockquote p {
  max-width: 48rem;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--bs-heading-color, var(--bs-body-color));
}

/* ══════════════════════════════════════════════════
   Nasıl Çalışır
   ══════════════════════════════════════════════════ */
.cp-stepper {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cp-stepper__item {
  position: relative;
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
}

  .cp-stepper__item:last-child {
    padding-bottom: 0;
  }

  /* Adımları birbirine bağlayan dikey çizgi */
  .cp-stepper__item:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    bottom: 0.5rem;
    left: calc(1.125rem - 1px);
    width: 2px;
    background: var(--bs-border-color);
  }

.cp-stepper__no {
  flex: 0 0 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bs-primary);
  color: #fff;
  font-weight: 600;
}

.cp-stepper__body {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 0.35rem;
}

  .cp-stepper__body p {
    max-width: 52rem;
    line-height: 1.7;
  }

.cp-method,
.cp-status,
.cp-compare {
  height: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-lg, 0.5rem);
}

.cp-status {
  border-style: dashed;
}

.cp-compare {
  padding: 1.25rem;
  border-top-width: 3px;
}

.cp-compare--primary {
  border-top-color: var(--bs-primary);
}

.cp-compare--info {
  border-top-color: var(--bs-info);
}

.cp-note {
  display: flex;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: var(--bs-border-radius, 0.375rem);
  background: rgba(var(--bs-warning-rgb, 255, 180, 0), 0.1);
  font-size: 0.875rem;
  line-height: 1.6;
}

  .cp-note > i {
    color: var(--bs-warning);
    font-size: 1.15rem;
    line-height: 1.4;
  }

.cp-example {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--bs-border-radius-lg, 0.5rem);
  background: var(--bs-tertiary-bg, #f6f7f9);
}

.cp-example__value {
  font-size: 1.5rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 575.98px) {
  .cp-stepper__item {
    gap: 0.9rem;
  }
}
