/* Genel erişilebilirlik geliştirmeleri */
:focus {
  outline: 3px solid #4a90e2;
  outline-offset: 2px;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --background-color: #ecf0f1;
    --text-color: #2c3e50;
    --bs-btn-color: #d13241 !important;
   
}

.btn-outline-danger {
  --bs-btn-color: #d13241 !important;
}

.btn-outline-primary {
  --bs-btn-color: #0c68f0 !important;
}

/* Yüksek kontrast için metin renkleri ve okunabilirlik */
body {
  color: #333;
  line-height: 1.6;
  font-size: 16px;
}

/* PDF container stillemesi */
.pdf-container {
  margin: 20px 0;
  border: 1px solid #ddd;
  padding: 10px;
}

/* Form elemanları için erişilebilirlik geliştirmeleri */
input,
button {
  font-size: 1rem;
  line-height: 1.5;
}

/* Form etiketleri için yüksek kontrast */
label {
  color: #000;
  font-weight: 500;
}

/* Kitap listesi öğeleri için stil */
.book-item {
  background-color: #fff;
  transition: all 0.3s ease;
  border: 1px solid #ddd !important;
}

.book-item:hover,
.book-item:focus {
  background-color: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Klavye navigasyonu için görsel gösterge */
.book-item:focus {
  border-color: #4a90e2 !important;
}

/* Arama bölümü için stiller */
.search-section {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 0.25rem;
  margin-bottom: 2rem;
}

/* Yeterli tıklanabilir alan için buton padding'leri */
.btn {
  padding: 0.5rem 1rem;
  margin: 0.25rem;
  min-height: 44px; /* Dokunmatik hedef boyutu için */
}

.btn-primary {
  background-color: #0056b3;
  border-color: #004085;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #004085;
  border-color: #002752;
}

/* Erişilebilir kart tasarımı */
.card {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.card:hover,
.card:focus-within {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Arama özeti için stiller */
#searchSummary {
  font-size: 1.1rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

/* Görünmez ama ekran okuyucular için erişilebilir içerik */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Arama kutusu için özel stiller */
#searchInput {
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  border: 2px solid #ddd;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  width: 100%;
  background-color: #fff;
  height: 48px;
}

#searchInput:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

#searchInput::placeholder {
  color: #6c757d;
  opacity: 0.8;
}

/* Tür seçimi için stiller */
#genreSelect {
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  border: 2px solid #ddd;
  border-radius: 0.5rem;
  background-color: #fff;
  transition: all 0.3s ease;
  height: 48px;
}

#genreSelect:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

/* Arama formu için responsive düzenlemeler */
@media (max-width: 768px) {
  #searchInput,
  #genreSelect {
    margin-bottom: 1rem;
  }
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.content-box {
  max-width: 800px;
  text-align: center;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .content-box {
    padding: 2rem;
    margin: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.1rem;
  }
}

.form-select {
    line-height: 2.1 !important;
    font-size: var(--font-size);

}