/* ==================== BELGELERİMİZ ==================== */

.docs-hero {
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  color: white;
  padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.docs-hero::before,
.docs-hero::after {
  content: '';
  position: absolute;
  width: clamp(200px, 30vw, 320px);
  height: clamp(200px, 30vw, 320px);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.docs-hero::before {
  top: -40%;
  right: -8%;
}

.docs-hero::after {
  bottom: -45%;
  left: -8%;
}

.docs-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.docs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.docs-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.15;
}

.docs-hero p {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  opacity: 0.95;
  margin: 0;
  line-height: 1.65;
}

.docs-page {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--warm-white, #f8f6f2);
}

.docs-intro {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #fff;
  border: 2px solid rgba(45, 90, 39, 0.15);
  border-left: 5px solid var(--primary-green);
  border-radius: 16px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 8px 32px rgba(45, 90, 39, 0.08);
}

.docs-intro > i {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 90, 39, 0.1);
  color: var(--primary-green);
  border-radius: 14px;
  font-size: 1.35rem;
}

.docs-intro strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.docs-intro p {
  margin: 0;
  color: var(--medium-text, #5a5a5a);
  line-height: 1.7;
  font-size: 0.98rem;
  text-wrap: pretty;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.doc-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light, #e8e8e8);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(45, 90, 39, 0.12);
}

.doc-card-preview {
  position: relative;
  background: linear-gradient(160deg, #1e4620 0%, var(--primary-green) 55%, var(--light-green) 100%);
  padding: clamp(2rem, 4vw, 2.75rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 220px;
  text-align: center;
  color: #fff;
}

.doc-card-preview-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.doc-card-badge-logo {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.doc-card-badge-logo--belediye {
  width: 86px;
  height: 86px;
  padding: 7px;
  border-radius: 18px;
  background: #fff;
  object-fit: contain;
}

.doc-card-badge-logo--tso {
  width: 78px;
  height: 78px;
  top: 8px;
  right: 8px;
  padding: 3px;
  object-fit: contain;
  background: #fff;
}

.doc-card-preview-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.doc-card-body {
  padding: clamp(1.25rem, 3vw, 1.6rem);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.85rem;
}

.doc-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.doc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(45, 90, 39, 0.08);
  color: var(--primary-green);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.doc-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  color: var(--dark-text);
  margin: 0;
  line-height: 1.35;
}

.doc-card p {
  margin: 0;
  color: var(--medium-text);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}

.doc-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.doc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  flex: 1 1 160px;
}

.doc-btn-primary {
  background: var(--primary-green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(45, 90, 39, 0.22);
}

.doc-btn-primary:hover {
  background: var(--light-green);
  color: #fff;
  transform: translateY(-2px);
}

.doc-btn-secondary {
  background: #fff;
  color: var(--primary-green);
  border: 2px solid rgba(45, 90, 39, 0.2);
}

.doc-btn-secondary:hover {
  background: rgba(45, 90, 39, 0.06);
  color: var(--primary-green);
  transform: translateY(-2px);
}

.docs-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
  color: var(--medium-text);
  font-size: 0.92rem;
  line-height: 1.6;
}

.docs-note a {
  color: var(--primary-green);
  font-weight: 700;
  text-decoration: none;
}

.docs-note a:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .docs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .docs-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .doc-card-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .doc-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 0.65rem 0.75rem;
    font-size: 0.82rem;
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .doc-btn {
    padding: 0.55rem 0.6rem;
    font-size: 0.78rem;
  }
}
