/* ================================================
 * HIZLI OKUMA MERKEZİ - ANA STİL DOSYASI (vFinal)
 * ================================================ */

/* --------------------------------
 * 0. Temel Ayarlar ve Değişkenler
 * -------------------------------- */
:root {
  --primary-blue: rgb(5, 65, 125);
  --primary-yellow: rgb(255, 205, 55);
  --light-gray: #f8f9fa;
  --dark-text: #333;
  --body-text: #555;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--body-text);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--primary-blue);
}

.section-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #777;
  margin-bottom: 3rem;
}

.py-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.bg-light-gray {
  background-color: var(--light-gray);
}


/* --------------------------------
 * 1. Header (Mevcut Stilleriniz)
 * -------------------------------- */
nav.navbar[style*="rgb(5, 65, 125)"] .navbar-nav .nav-link {
  color: white;
}
nav.navbar[style*="rgb(5, 65, 125)"] .navbar-nav .nav-link:hover,
nav.navbar[style*="rgb(5, 65, 125)"] .navbar-nav .nav-link:focus {
  color: var(--primary-yellow);
}
nav.navbar[style*="rgb(5, 65, 125)"] .navbar-nav .nav-link.active {
  color: var(--primary-yellow);
  font-weight: 500;
}

/* --------------------------------
 * 2. Slider (Hero) Bölümü
 * -------------------------------- */
#heroCarousel {
  cursor: grab; /* Mouse ile çekme imleci */
}

/* Slider yüksekliğini ekran yüksekliğine değil, 16:9 en-boy oranına göre ayarla */
#heroCarousel .carousel-item {
  aspect-ratio: 16 / 9;
}

#heroCarousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Opsiyonel: Slider resimlerini biraz karartma */
#heroCarousel .carousel-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

/* --------------------------------
 * 3. "Neler Sunar?" (Özellikler) Bölümü
 * -------------------------------- */
.feature-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
  border: 1px solid #eee;
}
.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.feature-box-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(5, 65, 125, 0.1);
  color: var(--primary-blue);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.feature-box-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--primary-blue);
}
.feature-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.feature-box p {
  font-size: 0.95rem;
}

/* --------------------------------
 * 4. "Paketlerimiz" Bölümü
 * -------------------------------- */
.pricing-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.07);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-10px);
}
.pricing-card .card-img-top {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.pricing-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 2rem;
}
.pricing-card .card-title {
  font-size: 1.4rem;
  font-weight: 700;
}
.pricing-card .card-subtitle {
  color: var(--body-text);
  font-weight: 500;
}
.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 1rem 0;
}
.btn-buy {
  background-color: var(--primary-blue);
  color: white;
  font-weight: 500;
  padding: 10px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto; /* Butonu en alta iter */
}
.btn-buy:hover {
  background-color: rgb(10, 85, 165);
  color: white;
}
.feature-list {
  text-align: left;
  padding: 0;
  margin: 1.5rem 0;
}
.feature-list ul {
  list-style-type: none;
  padding-left: 0;
}
.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--dark-text);
}
.feature-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 2px;
  color: #28a745;
  font-weight: bold;
  font-size: 18px;
}
.card-quote {
  text-align: center;
  margin: 1rem 0 1.5rem 0;
  font-style: italic;
  color: #111;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
  border-left: 4px solid var(--primary-blue);
  padding: 10px 15px;
  background: var(--light-gray);
  border-radius: 4px;
}

/* --------------------------------
 * 5. "Eğitim Programları" (Mini Özellikler) Bölümü
 * -------------------------------- */
.info-box {
  background: var(--light-gray);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  height: 100%;
}
.info-box-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #fff;
  margin-bottom: 1.5rem;
}
.info-box-icon img {
  width: 32px;
  height: 32px;
}
.info-box h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.info-box p {
  font-size: 0.9rem;
}

/* --------------------------------
 * 6. "Hakkımızda" Bölümü
 * -------------------------------- */
#about-section img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --------------------------------
 * 7. "Başarılarımız" (İstatistik) Bölümü
 * -------------------------------- */
.stat-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.stat-box .stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.2;
}
.stat-box .stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--body-text);
}

/* --------------------------------
 * 8. "Okuma Hızını Ölç" Bölümü
 * -------------------------------- */
#speed-test-section img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --------------------------------
 * 9. "Soru & Cevap" (FAQ) Bölümü
 * -------------------------------- */
.accordion-container {
  max-width: 900px;
}
.accordion-item {
  border: 1px solid #ddd;
  border-radius: 8px !important; /* Bootstrap'in köşelerini sıfırlamak için */
  margin-bottom: 1rem;
  overflow: hidden; /* Yuvarlak köşeler için */
}
.accordion-header .accordion-button {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-text);
  background-color: #fff;
  box-shadow: none; /* Açıkken gelen gölgeyi kaldır */
}
.accordion-header .accordion-button:not(.collapsed) {
  background-color: var(--primary-blue);
  color: white;
}
.accordion-header .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(5, 65, 125, 0.25);
}
.accordion-body {
  background: #fff;
}

/* --------------------------------
 * 10. Footer (Alt Bilgi)
 * -------------------------------- */
footer#footer {
  background-color: var(--primary-blue);
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem 0;
}