/* Genel yapı ve tema geçişi */
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.bg-dark {
  background: linear-gradient(to bottom, #1e1e1e, #2b2b2b);
  color: #f8f9fa;
}

/* Başlık alanı */
header {
  background: linear-gradient(45deg, #007bff, #00c6ff);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

h1, h2, h3 {
  font-weight: 700;
}

body.bg-dark h1,
body.bg-dark h2,
body.bg-dark h3,
body.bg-dark h4,
body.bg-dark p,
body.bg-dark .lang-buttons button,
body.bg-dark ul li,
body.bg-dark ol li {
  color: #f8f9fa;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Butonlar */
.lang-buttons button,
button {
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-buttons button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* İçerik bölümü */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

main section {
  max-width: 900px;
  margin: 0 auto 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  animation: fadeIn 0.5s ease-in-out;
}

body.bg-dark main section {
  background: #2c2f33;
  color: #f1f3f5;
  box-shadow: 0 4px 20px rgba(255,255,255,0.05);
}

/* Liste biçimi */
ul li, ol li {
  margin-bottom: 0.6rem;
}

ul li::marker {
  content: "✔️ ";
}

/* Görseller */
a.img-hover img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.img-hover:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0,0,0,0.25);
}

/* Galeri */
.d-flex.flex-wrap.gap-3 a {
  flex: 0 0 auto;
}

/* Footer */
footer {
  background-color: #f1f3f5;
  color: #6c757d;
  font-size: 0.9rem;
  padding-top: 1rem;
}

body.bg-dark footer {
  background-color: #1f1f1f;
  color: #adb5bd;
}

/* Başlık logosu */
header img {
  height: 60px;
  margin-bottom: 10px;
}

/* Sağ tık menüsü listesi */
.list-group-item {
  background-color: transparent;
  border: none;
  font-size: 0.95rem;
}

body.bg-dark .list-group-item {
  color: #dee2e6;
}

/* Sağ Tık Menüsü tablosu koyu temada da açık tema gibi kalsın */
body.bg-dark .list-group,
body.bg-dark .list-group-item {
  background-color: white !important;
  color: #212529 !important;
  border: 1px solid #dee2e6;
}

body.bg-dark .list-group-item:hover {
  background-color: #f8f9fa;
}

/* Softpedia bölümü tik işaretleri düzeltmesi */
.card-body ul.list-unstyled {
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}

.card-body ul.list-unstyled li {
  padding-left: 2rem;
  margin-left: 0;
  text-indent: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  position: relative;
  margin-bottom: 0.5rem;
}

.card-body ul.list-unstyled li::before {
  content: "✅ ";
  position: absolute;
  left: 0.5rem;
  top: 0;
}

/* Carousel caption görünümü */
body.bg-dark .carousel-caption {
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
}

/* Fade animasyonu */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}