/* ===================================================
   egitim.css — Shared styles for education pages
   (LGS, TYT, AYT Hazırlığı)
   Theme: #802b8e  |  Mobile-first
   =================================================== */

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }


/* page-hero → main.css'e taşındı */

/* =========================================
   2. SECTION COMMON
   ========================================= */
.edu-section {
  padding: 3rem 0;
}

.edu-section.bg-light {
  background: var(--gray-100);
}

.edu-section-header,
.edu-section .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.edu-section-header .section-subtitle,
.edu-section .section-subtitle {
  display: inline-block;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.edu-section-header h2,
.edu-section .section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
}

.edu-section-header h2 span,
.edu-section .section-title span {
  color: var(--primary);
}

.edu-section-header p,
.edu-section .section-desc {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0.5rem auto 0;
  font-size: 0.95rem;
}

.edu-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.edu-intro p {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.7;
}


/* =========================================
   3. PROGRAM OVERVIEW
   ========================================= */
.overview-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.overview-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.overview-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.overview-card__text {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

.overview-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .5rem;
}

.overview-card p {
  font-size: .88rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}

.overview-card__step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}


/* =========================================
   4. SUBJECTS / CURRICULUM GRID
   ========================================= */
.subject-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  border: 2px solid transparent;
}

.subject-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.subject-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 0.75rem;
  transition: transform var(--transition);
}

.subject-card:hover .subject-card__icon {
  transform: scale(1.1) rotate(5deg);
}

.subject-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.subject-card__desc {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}


/* =========================================
   5. FEATURES LIST
   ========================================= */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
  padding: 1.5rem 1.25rem;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-item__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-item h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .15rem;
}

.feature-item p {
  font-size: .85rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
  flex: 1;
}

.feature-item__content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.feature-item__content p {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}


/* =========================================
   6. WEEKLY SCHEDULE TABLE
   ========================================= */
.schedule-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.schedule-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: var(--white);
}

.schedule-table thead {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.schedule-table th {
  padding: 0.75rem 0.6rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.schedule-table td {
  padding: 0.6rem;
  text-align: center;
  border-bottom: 1px solid #eee;
  color: var(--gray-800);
}

.schedule-table tbody tr:hover {
  background: var(--primary-bg);
}

.schedule-table tbody tr:last-child td {
  border-bottom: none;
}

.schedule-table .time-col {
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  background: var(--primary-bg);
}


/* =========================================
   7. CTA SECTION
   ========================================= */
.edu-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.edu-cta::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.edu-cta h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.edu-cta p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.btn-cta-edu,
.edu-cta .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  z-index: 1;
}

.btn-cta-edu:hover,
.edu-cta .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: var(--primary-dark);
}

.btn-cta-edu i {
  font-size: 1.1rem;
}


/* =========================================
   8. ALAN / FIELD TABS (AYT Page)
   ========================================= */
.field-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.field-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.field-tab:hover,
.field-tab.active {
  background: var(--primary);
  color: var(--white);
}

.field-tab i {
  font-size: 0.9rem;
}


/* =========================================
   RESPONSIVE — 480px
   ========================================= */
@media (min-width: 480px) {
  .edu-section-header h2 {
    font-size: 1.8rem;
  }

  .edu-cta h2 {
    font-size: 1.7rem;
  }

  .subject-card__icon {
    width: 65px;
    height: 65px;
    font-size: 1.5rem;
  }
}


/* =========================================
   RESPONSIVE — 768px
   ========================================= */
@media (min-width: 768px) {
  .edu-section {
    padding: 4rem 0;
  }

  .edu-section-header h2 {
    font-size: 2rem;
  }

  .edu-section-header {
    margin-bottom: 2.5rem;
  }

  .overview-card {
    padding: 2rem;
  }

  .overview-card__icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .subject-card {
    padding: 1.5rem;
  }

  .subject-card__icon {
    width: 70px;
    height: 70px;
    font-size: 1.6rem;
  }

  .schedule-table {
    font-size: 0.9rem;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 0.85rem 0.75rem;
  }

  .edu-cta {
    padding: 4rem 0;
  }

  .edu-cta h2 {
    font-size: 2rem;
  }

  .feature-item {
    padding: 1.75rem 1.5rem;
  }
}


/* =========================================
   RESPONSIVE — 1200px
   ========================================= */
@media (min-width: 1200px) {
  .edu-section {
    padding: 5rem 0;
  }

  .edu-section-header h2 {
    font-size: 2.2rem;
  }

  .overview-card__icon {
    width: 60px;
    height: 60px;
  }

  .subject-card__icon {
    width: 76px;
    height: 76px;
    font-size: 1.8rem;
  }

  .subject-card__title {
    font-size: 1.05rem;
  }

  .edu-cta h2 {
    font-size: 2.2rem;
  }

  .edu-cta p {
    font-size: 1.05rem;
  }

  .btn-cta-edu {
    padding: 0.85rem 2.5rem;
    font-size: 1.05rem;
  }
}
