/* =======================================
   GENEL TASARIM
======================================= */
body {

  font-family: 'Inter', sans-serif;
  color: #1e293b;
}


/* =======================================
   NAVBAR
======================================= */
.navbar {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* =======================================
   BREADCRUMB
======================================= */
.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: #2563eb;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

/* =======================================
   KATEGORİ & TEST KARTLARI
======================================= */
.card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-title {
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 0;
}

.card a {
  color: inherit;
  text-decoration: none;
}

/* =======================================
   VIDEO OYNATICI KARTLARI
======================================= */
.ratio {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.card-body h5 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 5px;
}

/* =======================================
   FOOTER
======================================= */
footer {
  background-color: #1e293b !important;
  color: #f8fafc !important;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

/* =======================================
   RESPONSIVE
======================================= */
@media (max-width: 768px) {
  h2 {
    font-size: 1.3rem;
  }
  .card-title {
    font-size: 0.9rem;
  }
}
/* Kategori Sayfası - Modern Tasarım */

/* Ana Container Stilleri */
.container.py-5 {
  max-width: 1200px;
  padding: 4rem 1rem !important;
  min-height: 100vh;
}

/* Başlık Stilleri */
.container h2.mb-4 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 3rem !important;
  position: relative;
  padding-bottom: 1rem;
}

.container h2.mb-4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

/* Alert Stilleri */
.alert-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  border-radius: 15px;
  padding: 2rem;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Grid Stilleri */
.row.g-4 {
  gap: 2rem !important;
}

/* Kart Stilleri */
.card {
  border: none;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: white;
  overflow: hidden;
  position: relative;
  min-height: 200px;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card.shadow-sm {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3) !important;
}

/* Kart İçeriği */
.card-body {
  padding: 2.5rem 1.5rem;
  background: white;
  position: relative;
  z-index: 1;
}

.card-body::after {
  content: '→';
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  font-size: 1.5rem;
  color: #667eea;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.card:hover .card-body::after {
  opacity: 1;
  transform: translateX(0);
}

/* Kart Başlığı */
.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.8rem !important;
  transition: color 0.3s ease;
}

.card:hover .card-title {
  color: #667eea;
}

/* Kart Metni */
.card-body .text-muted {
  font-size: 0.95rem;
  color: #7f8c8d !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.card:hover .card-body .text-muted {
  color: #764ba2 !important;
}

/* Link Stilleri */
a.text-decoration-none {
  display: block;
  height: 100%;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .container.py-5 {
    padding: 2rem 1rem !important;
  }

  .container h2.mb-4 {
    font-size: 2rem;
  }

  .card-body {
    padding: 2rem 1rem;
  }

  .card-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .container h2.mb-4 {
    font-size: 1.75rem;
  }

  .row.g-4 {
    gap: 1.5rem !important;
  }

  .card {
    min-height: 160px;
  }
}

/* Animasyonlar */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.col-md-4 {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.col-md-4:nth-child(1) { animation-delay: 0.1s; }
.col-md-4:nth-child(2) { animation-delay: 0.2s; }
.col-md-4:nth-child(3) { animation-delay: 0.3s; }
.col-md-4:nth-child(4) { animation-delay: 0.4s; }
.col-md-4:nth-child(5) { animation-delay: 0.5s; }
.col-md-4:nth-child(6) { animation-delay: 0.6s; }

/* Hover Shadow Sınıfı */
.hover-shadow {
  transition: all 0.4s ease;
}

/* Ek Dekoratif Elementler */
.card-body::before {
  content: '📚';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  opacity: 0.1;
  transition: all 0.3s ease;
}

.card:hover .card-body::before {
  opacity: 0.3;
  transform: scale(1.2) rotate(10deg);
}
/* Header.css - Eğitim Destek Uzmanı Tasarımı */
/* Ana Renkler: #f04e2d (Turuncu) ve #213d85 (Mavi) */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

/* ==================== ÜST BAR ==================== */
.top-bar {
  background: linear-gradient(135deg, #213d85 0%, #1a2f6b 100%);
  padding: 10px 0;
  color: white;
  font-size: 0.9rem;
  border-bottom: 3px solid #f04e2d;
}

.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-links a {
  color: white;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: #f04e2d;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(240, 78, 45, 0.4);
}

.contact-info {
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info i {
  color: #f04e2d;
  font-size: 1.1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ==================== ANA NAVBAR ==================== */
.main-navbar {
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.main-navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* ==================== LOGO ==================== */
.navbar-brand {
  padding: 0;
  margin-right: 50px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #f04e2d 0%, #ff6b4a 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(240, 78, 45, 0.3);
  transition: all 0.3s ease;
}

.navbar-brand:hover .logo-icon {
  transform: rotate(10deg);
  box-shadow: 0 8px 20px rgba(240, 78, 45, 0.5);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #213d85 0%, #f04e2d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.logo-sub {
  font-size: 9px;
  color: #213d85;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==================== NAV LINKS ==================== */
.navbar-nav {
  gap: 5px;
}

.nav-link {
  color: #213d85 !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 15px !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.nav-link i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: #f04e2d !important;
  background: rgba(240, 78, 45, 0.05);
  transform: translateY(-2px);
}

.nav-link:hover i {
  transform: scale(1.2);
}

.nav-link.active {
  background: linear-gradient(135deg, #213d85 0%, #2d4d9d 100%);
  color: white !important;
  box-shadow: 0 4px 10px rgba(33, 61, 133, 0.3);
}

.nav-link.active:hover {
  background: linear-gradient(135deg, #f04e2d 0%, #ff6b4a 100%);
  color: white !important;
}

/* ==================== HESAP BUTONU ==================== */
.btn-account {
  background: linear-gradient(135deg, #f04e2d 0%, #ff6b4a 100%);
  color: white !important;
  font-weight: 700;
  padding: 10px 20px !important;
  border-radius: 25px;
  margin-left: 10px;
  box-shadow: 0 4px 15px rgba(240, 78, 45, 0.3);
}

.btn-account:hover {
  background: linear-gradient(135deg, #213d85 0%, #2d4d9d 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(33, 61, 133, 0.4);
}

/* ==================== SEPET BUTONU ==================== */
.btn-cart {
  background: linear-gradient(135deg, #213d85 0%, #2d4d9d 100%);
  color: white !important;
  font-weight: 700;
  padding: 10px 20px !important;
  border-radius: 25px;
  margin-left: 5px;
  box-shadow: 0 4px 15px rgba(33, 61, 133, 0.3);
  position: relative;
}

.btn-cart:hover {
  background: linear-gradient(135deg, #f04e2d 0%, #ff6b4a 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(240, 78, 45, 0.4);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #f04e2d;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

