/* ============================================================
   KolayCSS docs sitesi - site özel stilleri
   Bu dosya framework.css'teki sınıflarla ÇAKIŞMAZ;
   yalnızca dökümantasyon sitesine özel bileşenler içerir.
   ============================================================ */

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}
.hero {
  padding: 3rem 0;
  text-align: center;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}
.hero .lead {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 42rem;
  margin: 0 auto;
}
.page-header {
  margin-bottom: 2rem;
}
.page-header h1 {
  font-weight: 700;
}
.page-header .lead {
  color: #4b5563;
  font-size: 1.125rem;
}
.lead { font-size: 1.125rem; }

.feature-card {
  height: 100%;
}
.demo-box {
  border: 1px dashed #ced4da;
  border-radius: 0.25rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  background-color: #fff;
}

.code-block {
  position: relative;
  margin-bottom: 1.5rem;
  background-color: #212529;
  border-radius: 0.25rem;
  overflow: auto;
  max-height: 460px;
}
.code-block pre {
  margin: 0;
  padding: 1rem 1.25rem;
}
.code-block code {
  display: block;
  font-family: SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #e9ecef;
  background: none;
  padding: 0;
  white-space: pre;
}
.copy-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 0.25rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  cursor: pointer;
  opacity: 0.75;
}
.copy-btn:hover { opacity: 1; }
.copy-btn.copied { background-color: #15803d; border-color: #15803d; }

.list-unstyled {
  list-style: none !important;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}
.footer-note {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.875rem;
}
.footer-note a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-note a:hover {
  color: #fff;
}
footer hr {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.example-card .card-title { margin-bottom: 0.35rem; }

@media (max-width: 767.98px) {
  .hero h1 { font-size: 2.25rem; }
}