/* ==========================================
   KURUMSAL SAYFA CSS
   Dosya: /wp-content/themes/developer/assets/css/kurumsal.css
   Enqueue: functions.php → best_kurumsal_assets()
   wp_enqueue_style('best-kurumsal', get_template_directory_uri() . '/assets/css/kurumsal.css', array('best-hizmetler'), '1.0.1');
   ========================================== */

/* ==========================================
   ANİMASYON SİSTEMİ
   ========================================== */
.anim-reveal {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.anim-reveal[data-anim="fade-up"] {
  transform: translateY(40px);
}

.anim-reveal[data-anim="slide-right"] {
  transform: translateX(-60px);
}

.anim-reveal[data-anim="slide-left"] {
  transform: translateX(60px);
}

.anim-reveal.anim-visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* ==========================================
   SECTION TAG (Ortak)
   ========================================== */
.best-section-tag {
  display: inline-block;
  background: linear-gradient(135deg, #2A2B87 0%, #4a4bc5 100%);
  color: #fff;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

/* ==========================================
   SECTION HEADER (Ortalanmış)
   ========================================== */
.best-section-header-centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.best-section-header-centered h2 {
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 16px;
}

.best-section-header-centered p {
  font-size: 17px;
  color: #666;
  line-height: 1.7;
}

/* ==========================================
   HERO - KURUMSAL
   ========================================== */
.best-hero-kurumsal .best-hero-subtitle {
  max-width: 700px;
  margin: 0 auto 40px;
}

/* ==========================================
   HAKKIMIZDA SECTION
   ========================================== */
.best-kurumsal-hakkimizda {
  padding: 110px 0;
  background: #fff;
}

.best-hakkimizda-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.best-hakkimizda-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(42, 43, 135, 0.12);
}

.best-hakkimizda-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.best-hakkimizda-image-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #2A2B87 0%, #4a4bc5 100%);
  color: #fff;
  padding: 16px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(42, 43, 135, 0.4);
}

.best-hakkimizda-badge-year {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.best-hakkimizda-badge-text {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  opacity: 0.85;
}

.best-hakkimizda-content h2 {
  font-size: 34px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 24px;
}

.best-hakkimizda-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 18px;
}

.best-hakkimizda-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #eee;
}

.best-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.best-highlight-item svg {
  color: #2A2B87;
  flex-shrink: 0;
}

/* ==========================================
   TARİHÇE TIMELINE
   ========================================== */
.best-kurumsal-timeline {
  padding: 110px 0;
  background: linear-gradient(180deg, #f5f6fc 0%, #edeef8 100%);
}

.best-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 50px;
}

.best-timeline-line {
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #ddd;
  border-radius: 3px;
  overflow: hidden;
}

.best-timeline-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, #2A2B87 0%, #4a4bc5 100%);
  border-radius: 3px;
  transition: height 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.best-timeline-line.best-timeline-line-active::after {
  height: 100%;
}

.best-timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.best-timeline-item:last-child {
  margin-bottom: 0;
}

.best-timeline-dot {
  position: absolute;
  left: -43px;
  top: 8px;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 3px solid #2A2B87;
  border-radius: 50%;
  z-index: 2;
  transition: all 0.4s ease;
}

.best-timeline-item.anim-visible .best-timeline-dot {
  background: #2A2B87;
  box-shadow: 0 0 0 6px rgba(42, 43, 135, 0.15);
}

.best-timeline-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.best-timeline-card:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 40px rgba(42, 43, 135, 0.1);
}

.best-timeline-year {
  display: inline-block;
  background: linear-gradient(135deg, #2A2B87 0%, #4a4bc5 100%);
  color: #fff;
  padding: 4px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.best-timeline-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.best-timeline-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================
   MİSYON & VİZYON
   ========================================== */
.best-kurumsal-misyon {
  padding: 110px 0;
  background: #fff;
}

.best-misyon-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.best-misyon-card {
  background: #fff;
  border: 1px solid #eaedf5;
  border-radius: 20px;
  padding: 44px 36px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.best-misyon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2A2B87 0%, #4a4bc5 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.best-misyon-card:hover {
  border-color: rgba(42, 43, 135, 0.2);
  box-shadow: 0 20px 60px rgba(42, 43, 135, 0.1);
  transform: translateY(-6px);
}

.best-misyon-card:hover::before {
  transform: scaleX(1);
}

.best-misyon-card-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(42, 43, 135, 0.08) 0%, rgba(74, 75, 197, 0.08) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.best-misyon-card:hover .best-misyon-card-icon {
  background: linear-gradient(135deg, #2A2B87 0%, #4a4bc5 100%);
}

.best-misyon-card-icon svg {
  color: #2A2B87;
  transition: color 0.4s ease;
}

.best-misyon-card:hover .best-misyon-card-icon svg {
  color: #fff;
}

.best-misyon-card-label {
  display: inline-block;
  background: linear-gradient(135deg, #2A2B87 0%, #4a4bc5 100%);
  color: #fff;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.best-misyon-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.3;
}

.best-misyon-card > p {
  font-size: 15px;
  color: #666;
  line-height: 1.75;
  margin-bottom: 24px;
}

.best-misyon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #eaedf5;
  padding-top: 20px;
}

.best-misyon-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 14px;
  color: #555;
}

.best-misyon-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #2A2B87 0%, #4a4bc5 100%);
  border-radius: 50%;
  opacity: 0.15;
}

.best-misyon-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 5px;
  border-left: 2px solid #2A2B87;
  border-bottom: 2px solid #2A2B87;
  transform: translateY(-60%) rotate(-45deg);
}

/* ==========================================
   DEĞERLERİMİZ
   ========================================== */
.best-kurumsal-degerler {
  padding: 110px 0;
  background: linear-gradient(180deg, #f5f6fc 0%, #edeef8 100%);
}

.best-degerler-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.best-deger-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.best-deger-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #2A2B87, #4a4bc5);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.best-deger-card:hover {
  border-color: rgba(42, 43, 135, 0.15);
  box-shadow: 0 20px 50px rgba(42, 43, 135, 0.1);
  transform: translateY(-8px);
}

.best-deger-card:hover::after {
  width: 60%;
}

.best-deger-icon-wrap {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(42, 43, 135, 0.06) 0%, rgba(74, 75, 197, 0.06) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: all 0.4s ease;
}

.best-deger-card:hover .best-deger-icon-wrap {
  background: linear-gradient(135deg, #2A2B87 0%, #4a4bc5 100%);
  transform: scale(1.08);
}

.best-deger-icon-wrap svg {
  color: #2A2B87;
  transition: color 0.4s ease;
}

.best-deger-card:hover .best-deger-icon-wrap svg {
  color: #fff;
}

.best-deger-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.best-deger-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================
   SERTİFİKALAR
   ========================================== */
.best-kurumsal-sertifika {
  padding: 110px 0;
  background: #fff;
}

.best-sertifika-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.best-sertifika-card {
  background: #fff;
  border: 1px solid #eaedf5;
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.best-sertifika-card:hover {
  border-color: rgba(42, 43, 135, 0.2);
  box-shadow: 0 20px 50px rgba(42, 43, 135, 0.08);
  transform: translateY(-6px);
}

.best-sertifika-number {
  font-size: 48px;
  font-weight: 800;
  color: rgba(42, 43, 135, 0.06);
  line-height: 1;
  margin-bottom: 16px;
}

.best-sertifika-iso {
  display: inline-block;
  background: linear-gradient(135deg, #2A2B87 0%, #4a4bc5 100%);
  color: #fff;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.best-sertifika-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.best-sertifika-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 24px;
}

.best-sertifika-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #2A2B87, #4a4bc5);
  border-radius: 3px;
  margin: 0 auto;
  opacity: 0.3;
  transition: all 0.4s ease;
}

.best-sertifika-card:hover .best-sertifika-line {
  width: 80px;
  opacity: 1;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.best-kurumsal-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #2A2B87 0%, #1a1b5e 100%);
}

.best-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.best-cta-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.best-cta-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.best-cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.best-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.best-btn-light {
  background: #fff;
  color: #2A2B87;
}

.best-btn-light:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.best-btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.best-btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* ==========================================
   RESPONSIVE — 1200px
   ========================================== */
@media (max-width: 1200px) {
  .best-degerler-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================
   RESPONSIVE — 992px
   ========================================== */
@media (max-width: 992px) {
  .best-kurumsal-hakkimizda,
  .best-kurumsal-timeline,
  .best-kurumsal-misyon,
  .best-kurumsal-degerler,
  .best-kurumsal-sertifika {
    padding: 80px 0;
  }

  .best-hakkimizda-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .best-hakkimizda-content h2 {
    font-size: 28px;
  }

  .best-misyon-cards {
    grid-template-columns: 1fr;
  }

  .best-sertifika-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .best-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .best-cta-actions {
    justify-content: center;
  }

  .best-section-header-centered h2 {
    font-size: 30px;
  }
}

/* ==========================================
   RESPONSIVE — 768px
   ========================================== */
@media (max-width: 768px) {
  .best-kurumsal-hakkimizda,
  .best-kurumsal-timeline,
  .best-kurumsal-misyon,
  .best-kurumsal-degerler,
  .best-kurumsal-sertifika {
    padding: 60px 0;
  }

  .best-section-header-centered {
    margin-bottom: 40px;
  }

  .best-section-header-centered h2 {
    font-size: 26px;
  }

  .best-degerler-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .best-timeline {
    padding-left: 40px;
  }

  .best-timeline-dot {
    left: -33px;
    width: 14px;
    height: 14px;
  }

  .best-timeline-card {
    padding: 22px 24px;
  }

  .best-misyon-card {
    padding: 32px 24px;
  }

  .best-kurumsal-cta {
    padding: 60px 0;
  }

  .best-cta-text h3 {
    font-size: 22px;
  }

  .best-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .best-btn {
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================
   RESPONSIVE — 480px
   ========================================== */
@media (max-width: 480px) {
  .best-hakkimizda-content h2 {
    font-size: 24px;
  }

  .best-deger-card {
    padding: 30px 22px;
  }

  .best-deger-icon-wrap {
    width: 56px;
    height: 56px;
  }

  .best-deger-icon-wrap svg {
    width: 26px;
    height: 26px;
  }

  .best-timeline-card h3 {
    font-size: 18px;
  }

  .best-sertifika-number {
    font-size: 36px;
  }

  .best-misyon-card-icon {
    width: 60px;
    height: 60px;
  }

  .best-misyon-card-icon svg {
    width: 28px;
    height: 28px;
  }
}
