/*
 * Hızlı Okuma - Eğitimler Sayfası CSS
 * Modern, tutarlı tasarım - 2024
 */

body {
  overflow-x: hidden;
  background-color: var(--color-bg, #fafbfc);
}

/* ===== SHARED SECTION STYLES ===== */
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary, #6366f1), var(--color-secondary, #8b5cf6));
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
}

.section-title-modern {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-dark, #1e293b);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
}

.section-title-modern span {
  background: linear-gradient(135deg, var(--color-primary, #6366f1), var(--color-secondary, #8b5cf6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-secondary, #64748b);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 5;
}

/* ===== HERO SECTION ===== */
.trainings-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 0 6rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 30%, #312e81 60%, #4c1d95 100%);
  background-size: 400% 400%;
  animation: trainingsHeroGradient 12s ease infinite;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

@keyframes trainingsHeroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.trainings-hero .hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.trainings-hero .hero-shape-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: tFloat1 8s ease-in-out infinite;
}

.trainings-hero .hero-shape-2 {
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: tFloat2 10s ease-in-out infinite;
}

.trainings-hero .hero-shape-3 {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: tFloat3 7s ease-in-out infinite;
}

@keyframes tFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.1); }
}
@keyframes tFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.05); }
}
@keyframes tFloat3 {
  0%, 100% { transform: translate(-50%, 0) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -30px) scale(1.15); opacity: 1; }
}

.trainings-hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--color-bg, #fafbfc));
  z-index: 3;
}

.trainings-hero .container {
  position: relative;
  z-index: 2;
}

.trainings-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.trainings-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s 0.2s ease-out both;
}

.trainings-hero-content h1 span {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trainings-hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s 0.4s ease-out both;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-subtitle i { color: #fbbf24; }

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: var(--spacing-lg, 2rem);
  animation: fadeInUp 0.8s 0.6s ease-out both;
}

.hero-actions .btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: white;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  color: white;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== BENEFITS SECTION ===== */
.t-benefits {
  padding: 5rem 0;
  background: var(--color-bg, #fafbfc);
  text-align: center;
}

.t-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.t-benefit-card {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.t-benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.12);
}

.t-benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all 0.35s ease;
}

.t-benefit-card:hover .t-benefit-icon {
  background: linear-gradient(135deg, var(--color-primary, #6366f1), var(--color-secondary, #8b5cf6));
  transform: scale(1.1);
}

.t-benefit-icon i {
  font-size: 1.4rem;
  color: var(--color-primary, #6366f1);
  transition: color 0.35s ease;
}

.t-benefit-card:hover .t-benefit-icon i { color: white; }

.t-benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark, #1e293b);
  margin-bottom: 0.75rem;
}

.t-benefit-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary, #64748b);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.t-benefit-stat {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.t-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary, #6366f1), var(--color-secondary, #8b5cf6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.t-stat-label {
  font-size: 0.82rem;
  color: var(--color-text-secondary, #64748b);
  font-weight: 500;
}

/* ===== PROGRAMS SECTION ===== */
.t-programs {
  padding: 5rem 0;
  background: white;
  text-align: center;
}

.t-programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.t-program-card {
  background: var(--color-bg, #fafbfc);
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.t-program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.1);
}

.t-program-num {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.04));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.t-program-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.35s ease;
}

.t-program-card:hover .t-program-icon {
  background: linear-gradient(135deg, var(--color-primary, #6366f1), var(--color-secondary, #8b5cf6));
}

.t-program-icon i {
  font-size: 1.3rem;
  color: var(--color-primary, #6366f1);
  transition: color 0.35s ease;
}

.t-program-card:hover .t-program-icon i { color: white; }

.t-program-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark, #1e293b);
  margin-bottom: 0.6rem;
}

.t-program-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary, #64748b);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.t-program-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.t-program-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--color-dark, #1e293b);
  font-weight: 500;
}

.t-program-features li i {
  color: var(--color-primary, #6366f1);
  font-size: 0.75rem;
  width: 18px;
  height: 18px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== OPTIONS SECTION ===== */
.t-options {
  padding: 5rem 0;
  background: var(--color-bg, #fafbfc);
  text-align: center;
}

.t-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.t-option-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.t-option-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.12);
}

.t-option-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.t-option-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.t-option-card:hover .t-option-img img {
  transform: scale(1.08);
}

.t-option-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--color-primary, #6366f1), var(--color-secondary, #8b5cf6));
  color: white;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.t-option-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.t-option-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark, #1e293b);
  margin-bottom: 0.6rem;
}

.t-option-body p {
  font-size: 0.92rem;
  color: var(--color-text-secondary, #64748b);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.t-option-body .btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
}

/* ===== ROADMAP SECTION ===== */
.t-roadmap {
  padding: 5rem 0;
  background: white;
  text-align: center;
}

.t-roadmap-steps {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  text-align: left;
}

.t-roadmap-steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary, #6366f1), rgba(139, 92, 246, 0.15));
}

.t-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.t-step:last-child { margin-bottom: 0; }

.t-step-marker {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.35s ease;
}

.t-step-marker span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary, #6366f1);
}

.t-step.active .t-step-marker {
  background: linear-gradient(135deg, var(--color-primary, #6366f1), var(--color-secondary, #8b5cf6));
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.t-step.active .t-step-marker span { color: white; }

.t-step-content {
  background: var(--color-bg, #fafbfc);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  flex: 1;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
}

.t-step:hover .t-step-content {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border-color: rgba(99, 102, 241, 0.1);
}

.t-step.active .t-step-content {
  background: white;
  border-color: rgba(99, 102, 241, 0.15);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.1);
}

.t-step-week {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary, #6366f1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.t-step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark, #1e293b);
  margin-bottom: 0.4rem;
}

.t-step-content p {
  font-size: 0.88rem;
  color: var(--color-text-secondary, #64748b);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.t-step-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.08);
  color: var(--color-primary, #6366f1);
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Roadmap Info Cards */
.t-roadmap-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 700px;
  margin: 2.5rem auto 0;
}

.t-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--color-bg, #fafbfc);
  border-radius: 14px;
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: left;
  transition: all 0.35s ease;
}

.t-info-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.t-info-card > i {
  font-size: 1.3rem;
  color: var(--color-primary, #6366f1);
  min-width: 24px;
  margin-top: 0.15rem;
}

.t-info-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark, #1e293b);
  margin-bottom: 0.35rem;
}

.t-info-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary, #64748b);
  line-height: 1.5;
  margin: 0;
}

/* ===== CTA SECTION ===== */
.t-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.t-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.t-cta .cta-shape-1 {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.t-cta .cta-shape-2 {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.t-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.t-cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.t-cta-inner h2 span {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.t-cta-inner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.t-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.t-cta-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.t-cta-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
  color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .t-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .t-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .t-programs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .trainings-hero {
    min-height: auto;
    padding: 4rem 0 5rem;
  }
  
  .trainings-hero-content p {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .t-benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .t-benefit-card {
    flex-direction: row;
    text-align: left;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  
  .t-benefit-icon {
    margin: 0;
    min-width: 50px;
    width: 50px;
    height: 50px;
  }
  
  .t-benefit-stat {
    justify-content: flex-start;
  }
  
  .t-options-grid {
    grid-template-columns: 1fr;
  }
  
  .t-roadmap-info {
    grid-template-columns: 1fr;
  }
  
  .t-cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .t-cta-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .trainings-hero {
    padding: 3rem 0 4rem;
  }
  
  .hero-subtitle {
    font-size: 0.82rem;
    padding: 0.4rem 1rem;
  }
  
  .t-step {
    gap: 1rem;
  }
  
  .t-step-marker {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  
  .t-roadmap-steps::before {
    left: 19px;
  }
}
