﻿/* ============================================
   DÖKÜMANLARIMIZ PAGE
   ============================================ */

.docs-page {
  padding-top: 22px;
  padding-bottom: 80px;
}



/* ── Page heading ── */
.docs-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ebebeb;
}

.docs-page-head h1 {
  font-size: 26px;
  font-weight: 700;
  color: #111111;
  margin: 0;
  letter-spacing: -0.3px;
}

.docs-page-head h1 span {
  color: #aaaaaa;
  font-size: 0.65em;
  font-weight: 500;
  margin-left: 6px;
}

.docs-page-desc {
  font-size: 14px;
  color: #888888;
  max-width: 400px;
  text-align: right;
  line-height: 1.5;
  margin: 0;
}


/* ── Document grid ── */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ── Document card ── */
.docs-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.docs-card-link:hover { color: inherit; }

.docs-card {
  height: 100%;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, border-color 0.18s;
}

.docs-card-link:hover .docs-card {
  border-color: #cccccc;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
}

/* ── Cover image ── */
.docs-card-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f0f0;
  flex-shrink: 0;
}

.docs-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.36s ease;
}

.docs-card-link:hover .docs-card-cover img {
  transform: scale(1.05);
}

/* Download hint on image */
.docs-card-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #111111;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.22s, transform 0.22s;
}

.docs-card-link:hover .docs-card-hint {
  opacity: 1;
  transform: scale(1);
}

/* Gradient overlay */
.docs-card-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 55%);
  pointer-events: none;
}

/* PDF badge on image */
.docs-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border-radius: 7px;
  background: #e63946;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.35);
}

.docs-card-badge i { font-size: 12px; }


/* ── Body ── */
.docs-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.docs-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  margin: 0;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.docs-card-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* ── CTA row ── */
.docs-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.docs-card-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 9px;
  background: #111111;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
  pointer-events: none; /* link is on the card itself */
}

.docs-card-link:hover .docs-card-open {
  background: #e8a50f;
}

.docs-card-open i { font-size: 14px; }

.docs-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #aaaaaa;
  font-weight: 500;
}

.docs-card-meta i { font-size: 13px; color: #e8a50f; }


/* ── Bottom CTA band ── */
.docs-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding: 28px 32px;
  background: #111111;
  border-radius: 14px;
}

.docs-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.docs-cta-text strong {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.docs-cta-text span {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.docs-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  background: #e8a50f;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}

.docs-cta-btn:hover {
  background: #cf9108;
  color: #ffffff;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .docs-grid { grid-template-columns: 1fr; gap: 16px; }
  .docs-page-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .docs-page-desc { text-align: left; max-width: 100%; }
}

@media (max-width: 575px) {
  .docs-page { padding-top: 14px; padding-bottom: 52px; }
  .docs-page-head h1 { font-size: 22px; }
  .docs-card-body { padding: 18px 18px 20px; }
  .docs-card-title { font-size: 17px; }
  .docs-cta-band { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .docs-cta-btn { width: 100%; justify-content: center; }
}
