/* =========================================
   İskilip Medya - Belgeler CSS
   ========================================= */

.belge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.belge-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8eef5;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.belge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(11, 61, 44, 0.12);
    border-color: rgba(11, 61, 44, 0.2);
}

.belge-card-header {
    background: linear-gradient(135deg, #0b3d2c, #136845);
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.belge-icon-box {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    flex-shrink: 0;
}

.belge-format-badge {
    background: rgba(234, 179, 8, 0.9);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.belge-card-body {
    padding: 20px 24px;
    flex: 1;
}

.belge-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
}

.belge-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 14px;
}

.belge-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.78rem;
    color: #94a3b8;
}

.belge-meta-row span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.belge-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.belge-tag {
    background: #f0fdf4;
    color: #0b3d2c;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #bbf7d0;
}

.belge-card-footer {
    padding: 14px 24px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 10px;
}

.btn-belge-incele {
    background: #0b3d2c;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-belge-incele:hover {
    background: #0c4a35;
    color: #fff;
    transform: scale(1.02);
}

.btn-belge-indir {
    background: #f8fafc;
    color: #0b3d2c;
    border: 1.5px solid #0b3d2c;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-belge-indir:hover {
    background: #0b3d2c;
    color: #fff;
}

/* Filtre */
.filter-pills .btn {
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1.5px solid #dee2e6;
    color: #64748b;
    transition: all 0.2s;
}

.filter-pills .btn.active,
.filter-pills .btn:hover {
    background: #0b3d2c;
    color: #fff;
    border-color: #0b3d2c;
}

/* Belge Viewer Modal */
#belgeModal .modal-dialog { max-width: 780px; }
#belgeModal .modal-content { border-radius: 18px; border: none; }
#belgeModal .modal-header {
    background: linear-gradient(135deg, #0b3d2c, #136845);
    color: #fff;
    border-radius: 18px 18px 0 0;
    padding: 20px 24px;
}
#belgeModal .modal-header .btn-close { filter: invert(1); }
.belge-preview-area {
    background: #f8fafc;
    border-radius: 12px;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #cbd5e1;
    flex-direction: column;
    gap: 16px;
    color: #94a3b8;
}
